Home
last modified time | relevance | path

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

/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/tpm/
Dfsl_tpm.c284 uint8_t chnlId; in TPM_SetupSinglePwmChannel() local
293 chnlId = (uint8_t)chnlParams.chnlNumber; in TPM_SetupSinglePwmChannel()
301 if ((chnlId >= (uint8_t)FSL_FEATURE_TPM_CHANNEL_COUNTn(base)) || in TPM_SetupSinglePwmChannel()
329 if ((chnlId >= ((uint8_t)FSL_FEATURE_TPM_CHANNEL_COUNTn(base) / 2U)) || in TPM_SetupSinglePwmChannel()
366 base->COMBINE |= 1UL << (TPM_COMBINE_SHIFT * chnlId); in TPM_SetupSinglePwmChannel()
368 chnlId *= 2U; in TPM_SetupSinglePwmChannel()
373 …~(((uint32_t)TPM_FILTER_CH0FVAL_MASK | TPM_FILTER_CH1FVAL_MASK) << (chnlId * TPM_FILTER_CH1FVAL_SH… in TPM_SetupSinglePwmChannel()
376 << (chnlId * TPM_FILTER_CH1FVAL_SHIFT); in TPM_SetupSinglePwmChannel()
380 TPM_DisableChannel(base, (tpm_chnl_t)chnlId); in TPM_SetupSinglePwmChannel()
383 TPM_EnableChannel(base, (tpm_chnl_t)chnlId, controlBits ^ TPM_CnSC_ELSA_MASK); in TPM_SetupSinglePwmChannel()
[all …]