Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/pwm/
Dpwm_ifx_cat1.c29 uint32_t pwm_num; member
83 data->pwm_num += addr_offset / sizeof(TCPWM_GRP_CNT_Type); in ifx_cat1_pwm_init()
84 status = Cy_TCPWM_PWM_Init(PWM_REG_BASE, data->pwm_num, &pwm_config); in ifx_cat1_pwm_init()
111 Cy_TCPWM_PWM_Disable(PWM_REG_BASE, data->pwm_num); in ifx_cat1_pwm_set_cycles()
113 Cy_TCPWM_PWM_SetPeriod0(PWM_REG_BASE, data->pwm_num, period_cycles); in ifx_cat1_pwm_set_cycles()
114 Cy_TCPWM_PWM_SetCompare0Val(PWM_REG_BASE, data->pwm_num, pulse_cycles); in ifx_cat1_pwm_set_cycles()
135 Cy_TCPWM_PWM_Enable(PWM_REG_BASE, data->pwm_num); in ifx_cat1_pwm_set_cycles()
138 Cy_TCPWM_TriggerStart_Single(PWM_REG_BASE, data->pwm_num); in ifx_cat1_pwm_set_cycles()