frdm-k22f: Update LPTMR config
This commit is contained in:
parent
a49d151919
commit
dc689000f6
@ -80,11 +80,13 @@ static const clock_config_t clock_config = {
|
|||||||
}, \
|
}, \
|
||||||
}
|
}
|
||||||
#define LPTMR_NUMOF (1U)
|
#define LPTMR_NUMOF (1U)
|
||||||
#define LPTMR_CONFIG { \
|
#define LPTMR_CONFIG { \
|
||||||
{ \
|
{ \
|
||||||
.dev = LPTMR0, \
|
.dev = LPTMR0, \
|
||||||
.irqn = LPTMR0_IRQn, \
|
.irqn = LPTMR0_IRQn, \
|
||||||
} \
|
.src = 2, \
|
||||||
|
.base_freq = 32768u, \
|
||||||
|
}, \
|
||||||
}
|
}
|
||||||
#define TIMER_NUMOF ((PIT_NUMOF) + (LPTMR_NUMOF))
|
#define TIMER_NUMOF ((PIT_NUMOF) + (LPTMR_NUMOF))
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user