Home
last modified time | relevance | path

Searched refs:TIMER_MAX_CH (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/counter/
Dcounter_ll_stm32_timer.c27 #define TIMER_MAX_CH 4U macro
38 static void(*const set_timer_compare[TIMER_MAX_CH])(TIM_TypeDef *,
46 static uint32_t(*const get_timer_compare[TIMER_MAX_CH])(const TIM_TypeDef *) = {
51 static uint32_t(*const get_timer_compare[TIMER_MAX_CH])(TIM_TypeDef *) = {
57 static void(*const enable_it[TIMER_MAX_CH])(TIM_TypeDef *) = {
63 static void(*const disable_it[TIMER_MAX_CH])(TIM_TypeDef *) = {
71 static uint32_t(*const check_it_enabled[TIMER_MAX_CH])(const TIM_TypeDef *) = {
76 static uint32_t(*const check_it_enabled[TIMER_MAX_CH])(TIM_TypeDef *) = {
84 static void(*const clear_it_flag[TIMER_MAX_CH])(TIM_TypeDef *) = {
635 BUILD_ASSERT(NUM_CH(TIM(idx)) <= TIMER_MAX_CH, \
[all …]
/Zephyr-latest/drivers/pwm/
Dpwm_stm32.c104 #define TIMER_MAX_CH 6u macro
107 #define TIMER_MAX_CH 4u macro
111 static const uint32_t ch2ll[TIMER_MAX_CH] = {
134 static void (*const set_timer_compare[TIMER_MAX_CH])(TIM_TypeDef *,
322 if (channel < 1u || channel > TIMER_MAX_CH) { in pwm_stm32_set_cycles()