Home
last modified time | relevance | path

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

/Zephyr-Core-3.6.0/drivers/pwm/
Dpwm_xmc4xxx_ccu8.c46 XMC_CCU8_SLICE_DEAD_TIME_CONFIG_t deadtime_conf = {0}; in pwm_xmc4xxx_ccu8_init() local
68 deadtime_conf.div = config->slice_deadtime_prescaler[i]; in pwm_xmc4xxx_ccu8_init()
70 deadtime_conf.enable_dead_time_channel1 = 1; in pwm_xmc4xxx_ccu8_init()
72 deadtime_conf.channel1_st_path = config->deadtime_high_ns[2*i] > 0; in pwm_xmc4xxx_ccu8_init()
73 deadtime_conf.channel1_inv_st_path = config->deadtime_low_ns[2*i] > 0; in pwm_xmc4xxx_ccu8_init()
76 deadtime_conf.enable_dead_time_channel2 = 1; in pwm_xmc4xxx_ccu8_init()
78 deadtime_conf.channel2_st_path = config->deadtime_high_ns[2*i + 1] > 0; in pwm_xmc4xxx_ccu8_init()
79 deadtime_conf.channel2_inv_st_path = config->deadtime_low_ns[2*i + 1] > 0; in pwm_xmc4xxx_ccu8_init()
81 XMC_CCU8_SLICE_DeadTimeInit(slice, &deadtime_conf); in pwm_xmc4xxx_ccu8_init()