| #define FTM0_CONF (*(volatile uint32_t *)0x40038084) // Configuration | #define FTM0_CONF (*(volatile uint32_t *)0x40038084) // Configuration | ||||
| #define FTM_CONF_GTBEOUT 0x400 // Global Time Base Output | #define FTM_CONF_GTBEOUT 0x400 // Global Time Base Output | ||||
| #define FTM_CONF_GTBEEN 0x200 // Global Time Base Enable | #define FTM_CONF_GTBEEN 0x200 // Global Time Base Enable | ||||
| #define FTM_CONF_BDMMODE (((n) & 3) << 6) // Behavior when in debug mode | |||||
| #define FTM_CONF_NUMTOF (((n) & 31) << 0) // ratio of counter overflows to TOF bit set | |||||
| #define FTM_CONF_BDMMODE(n) (((n) & 3) << 6) // Behavior when in debug mode | |||||
| #define FTM_CONF_NUMTOF(n) (((n) & 31) << 0) // ratio of counter overflows to TOF bit set | |||||
| #define FTM0_FLTPOL (*(volatile uint32_t *)0x40038088) // FTM Fault Input Polarity | #define FTM0_FLTPOL (*(volatile uint32_t *)0x40038088) // FTM Fault Input Polarity | ||||
| #define FTM_FLTPOL_FLT3POL 0x08 // Fault Input 3 Polarity | #define FTM_FLTPOL_FLT3POL 0x08 // Fault Input 3 Polarity | ||||
| #define FTM_FLTPOL_FLT2POL 0x04 // Fault Input 2 Polarity | #define FTM_FLTPOL_FLT2POL 0x04 // Fault Input 2 Polarity |