Searched refs:setupConfig (Results 1 – 5 of 5) sorted by relevance
/hal_nxp-3.6.0/mcux/mcux-sdk/components/pwm/ |
D | fsl_adapter_pwm_ftm.c | 84 …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()
|
D | fsl_adapter_pwm_tpm.c | 82 …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()
|
D | fsl_adapter_pwm_ctimer.c | 83 …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() 95 … setupConfig->pwmFreq_Hz, halPwmState->pwmClock_Hz, false)) in HAL_PwmSetupPwm()
|
D | fsl_adapter_pwm.h | 140 …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/ |
D | fsl_component_led.c | 435 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()
|