Skip to content

Commit cc270cb

Browse files
committed
Fix alias definitions for FLEXIO_TIMCFG_DISABLE_* to match reference manual
1 parent 601e801 commit cc270cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

teensy4/imxrt.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4132,8 +4132,8 @@ typedef struct {
41324132
#define FLEXIO_TIMCFG_DISABLE_ON_TIMER_COMPARE_AND_TRIGGER_LOW FLEXIO_TIMCFG_TIMDIS(3)
41334133
#define FLEXIO_TIMCFG_DISABLE_ON_PIN_CHANGE FLEXIO_TIMCFG_TIMDIS(4)
41344134
#define FLEXIO_TIMCFG_DISABLE_ON_PIN_CHANGE_AND_TRIGGER_HIGH FLEXIO_TIMCFG_TIMDIS(5)
4135-
#define FLEXIO_TIMCFG_DISABLE_ON_TRIGGER_RISING FLEXIO_TIMCFG_TIMDIS(6)
4136-
#define FLEXIO_TIMCFG_DISABLE_ON_TRIGGER_CHANGE FLEXIO_TIMCFG_TIMDIS(7)
4135+
#define FLEXIO_TIMCFG_DISABLE_ON_TRIGGER_FALLING FLEXIO_TIMCFG_TIMDIS(6)
4136+
#define FLEXIO_TIMCFG_DISABLE_ON_TRIGGER_RISING FLEXIO_TIMCFG_TIMDIS(6) /*!< \deprecated Incorrectly named, use FLEXIO_TIMCFG_DISABLE_ON_TRIGGER_FALLING */
41374137
#define FLEXIO_TIMCFG_ENABLE_ALWAYS FLEXIO_TIMCFG_TIMENA(0)
41384138
#define FLEXIO_TIMCFG_ENABLE_WHEN_PRIOR_TIMER_ENABLES FLEXIO_TIMCFG_TIMENA(1)
41394139
#define FLEXIO_TIMCFG_ENABLE_WHEN_TRIGGER_HIGH FLEXIO_TIMCFG_TIMENA(2)

0 commit comments

Comments
 (0)