Searched refs:s_tpmBase (Results 1 – 1 of 1) sorted by relevance
29 static TPM_Type *const s_tpmBase[] = TPM_BASE_PTRS; variable30 static uint8_t s_pwmUsedChannel[sizeof(s_tpmBase) / sizeof(s_tpmBase[0])] = {0};42 assert(instance < (sizeof(s_tpmBase) / sizeof(s_tpmBase[0]))); in HAL_PwmInit()43 assert(s_tpmBase[instance]); in HAL_PwmInit()53 TPM_Init(s_tpmBase[instance], (void *)&tpmInfo); in HAL_PwmInit()64 assert(halPwmState->instance < (sizeof(s_tpmBase) / sizeof(s_tpmBase[0]))); in HAL_PwmDeinit()75 TPM_Deinit(s_tpmBase[halPwmState->instance]); in HAL_PwmDeinit()88 assert(halPwmState->instance < (sizeof(s_tpmBase) / sizeof(s_tpmBase[0]))); in HAL_PwmSetupPwm()99 …if ((int32_t)kStatus_Success != TPM_SetupPwm(s_tpmBase[halPwmState->instance], (void *)&pwmChannel… in HAL_PwmSetupPwm()105 TPM_StartTimer(s_tpmBase[halPwmState->instance], kTPM_SystemClock); in HAL_PwmSetupPwm()[all …]