Home
last modified time | relevance | path

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

/hal_nxp-3.6.0/mcux/mcux-sdk/components/pwm/
Dfsl_adapter_pwm_ftm.c84 …AL_PwmSetupPwm(hal_pwm_handle_t halPwmHandle, uint8_t channel, hal_pwm_setup_config_t *setupConfig) in HAL_PwmSetupPwm() argument
91 assert(setupConfig); in HAL_PwmSetupPwm()
94 .level = (ftm_pwm_level_select_t)setupConfig->level, in HAL_PwmSetupPwm()
95 .dutyCyclePercent = setupConfig->dutyCyclePercent, in HAL_PwmSetupPwm()
102 (ftm_pwm_mode_t)setupConfig->mode, setupConfig->pwmFreq_Hz, in HAL_PwmSetupPwm()
Dfsl_adapter_pwm_tpm.c82 …AL_PwmSetupPwm(hal_pwm_handle_t halPwmHandle, uint8_t channel, hal_pwm_setup_config_t *setupConfig) in HAL_PwmSetupPwm() argument
89 assert(setupConfig); in HAL_PwmSetupPwm()
92 .level = (tpm_pwm_level_select_t)setupConfig->level, in HAL_PwmSetupPwm()
93 .dutyCyclePercent = setupConfig->dutyCyclePercent, in HAL_PwmSetupPwm()
100 … (tpm_pwm_mode_t)setupConfig->mode, setupConfig->pwmFreq_Hz, in HAL_PwmSetupPwm()
Dfsl_adapter_pwm_ctimer.c83 …AL_PwmSetupPwm(hal_pwm_handle_t halPwmHandle, uint8_t channel, hal_pwm_setup_config_t *setupConfig) in HAL_PwmSetupPwm() argument
90 assert(setupConfig); in HAL_PwmSetupPwm()
92 halPwmState->pwmLevelSelect = (uint8_t)(setupConfig->level); in HAL_PwmSetupPwm()
94 (ctimer_match_t)channel, setupConfig->dutyCyclePercent, in HAL_PwmSetupPwm()
95setupConfig->pwmFreq_Hz, halPwmState->pwmClock_Hz, false)) in HAL_PwmSetupPwm()
Dfsl_adapter_pwm.h140 …L_PwmSetupPwm(hal_pwm_handle_t halPwmHandle, uint8_t channel, hal_pwm_setup_config_t *setupConfig);
/hal_nxp-3.6.0/mcux/mcux-sdk/components/led/
Dfsl_component_led.c435 hal_pwm_setup_config_t setupConfig; in LED_Init() local
445 setupConfig.dutyCyclePercent = 0; in LED_Init()
446 setupConfig.level = (0U != ledRgbConfigPin[i].dimming.pinStateDefault) ? in LED_Init()
449 setupConfig.mode = kHAL_EdgeAlignedPwm; in LED_Init()
450 setupConfig.pwmFreq_Hz = 1000U; in LED_Init()
451 … (void)HAL_PwmSetupPwm(ledState->pwmHandle[i], ledRgbConfigPin[i].dimming.channel, &setupConfig); in LED_Init()