Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/pwm/
Dpwm_nxp_flexio.c75 struct pwm_nxp_flexio_channel_config *pwm_info; member
100 struct pwm_nxp_flexio_channel_config *pwm_info; in pwm_nxp_flexio_set_cycles() local
131 pwm_info = &config->pulse_info->pwm_info[channel]; in pwm_nxp_flexio_set_cycles()
154 timerConfig.timerDecrement = pwm_info->prescaler; in pwm_nxp_flexio_set_cycles()
167 timerConfig.pinSelect = pwm_info->pin_id; in pwm_nxp_flexio_set_cycles()
173 if (FLEXIO_GetPinOverride(flexio_base, pwm_info->pin_id)) { in pwm_nxp_flexio_set_cycles()
174 FLEXIO_ConfigPinOverride(flexio_base, pwm_info->pin_id, false); in pwm_nxp_flexio_set_cycles()
186 struct pwm_nxp_flexio_channel_config *pwm_info; in pwm_nxp_flexio_get_cycles_per_sec() local
194 pwm_info = &config->pulse_info->pwm_info[channel]; in pwm_nxp_flexio_get_cycles_per_sec()
196 ((data->period_cycles[channel]) * (pwm_info->prescaler_div))); in pwm_nxp_flexio_get_cycles_per_sec()
[all …]
Dpwm_nxp_s32_emios.c64 Emios_Pwm_Ip_ChannelConfigType *pwm_info; member
162 Emios_Pwm_Ip_ChannelConfigType *pwm_info; in pwm_nxp_s32_set_cycles() local
177 pwm_info = &config->pulse_info->pwm_info[logic_ch]; in pwm_nxp_s32_set_cycles()
179 if ((flags & PWM_POLARITY_MASK) == pwm_info->OutputPolarity) { in pwm_nxp_s32_set_cycles()
184 switch (pwm_info->Mode) { in pwm_nxp_s32_set_cycles()
444 const Emios_Pwm_Ip_ChannelConfigType *pwm_info; in pwm_nxp_s32_pulse_gen_init() local
452 pwm_info = &config->pulse_info->pwm_info[ch_id]; in pwm_nxp_s32_pulse_gen_init()
453 eMios_Pwm_Ip_IndexInChState[config->instance][pwm_info->ChannelId] = logic_ch++; in pwm_nxp_s32_pulse_gen_init()
454 Emios_Pwm_Ip_InitChannel(config->instance, pwm_info); in pwm_nxp_s32_pulse_gen_init()
740 .pwm_info = (Emios_Pwm_Ip_ChannelConfigType *)emios_pwm_##n##_init, \