Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/components/pwm/
Dfsl_adapter_pwm_ftm.c29 static FTM_Type *const s_ftmBase[] = FTM_BASE_PTRS; variable
30 static uint8_t s_pwmUsedChannel[sizeof(s_ftmBase) / sizeof(s_ftmBase[0])] = {0};
52 if (kStatus_Fail == FTM_Init(s_ftmBase[instance], &ftmInfo)) in HAL_PwmInit()
77 FTM_Deinit(s_ftmBase[halPwmState->instance]); in HAL_PwmDeinit()
101 if (kStatus_Success != FTM_SetupPwm(s_ftmBase[halPwmState->instance], &pwmChannelConfig, 1, in HAL_PwmSetupPwm()
107 FTM_StartTimer(s_ftmBase[halPwmState->instance], kFTM_SystemClock); in HAL_PwmSetupPwm()
129 …FTM_UpdatePwmDutycycle(s_ftmBase[halPwmState->instance], (ftm_chnl_t)channel, (ftm_pwm_mode_t)mode, in HAL_PwmUpdateDutycycle()
132 FTM_SetSoftwareTrigger(s_ftmBase[halPwmState->instance], true); in HAL_PwmUpdateDutycycle()