Pārlūkot izejas kodu

Fix FTM_CONF register bitfield defs

teensy4-core
PaulStoffregen pirms 6 gadiem
vecāks
revīzija
6d441162e6
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      teensy3/kinetis.h

+ 2
- 2
teensy3/kinetis.h Parādīt failu

@@ -3329,8 +3329,8 @@ typedef struct {
#define FTM0_CONF (*(volatile uint32_t *)0x40038084) // Configuration
#define FTM_CONF_GTBEOUT 0x400 // Global Time Base Output
#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 FTM_FLTPOL_FLT3POL 0x08 // Fault Input 3 Polarity
#define FTM_FLTPOL_FLT2POL 0x04 // Fault Input 2 Polarity

Notiek ielāde…
Atcelt
Saglabāt