Home
last modified time | relevance | path

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

/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/tpm/
Dfsl_tpm.c283 uint8_t controlBits; in TPM_SetupSinglePwmChannel() local
288 controlBits = in TPM_SetupSinglePwmChannel()
291 controlBits = ((uint8_t)kTPM_ChnlMSBMask | ((uint8_t)chnlParams.level << TPM_CnSC_ELSA_SHIFT)); in TPM_SetupSinglePwmChannel()
383 TPM_EnableChannel(base, (tpm_chnl_t)chnlId, controlBits ^ TPM_CnSC_ELSA_MASK); in TPM_SetupSinglePwmChannel()
399controlBits = (uint8_t)((uint32_t)kTPM_ChnlMSBMask | TPM_CnSC_ELSB(chnlParams.secPauseLevel) | in TPM_SetupSinglePwmChannel()
406 TPM_EnableChannel(base, (tpm_chnl_t)chnlId, controlBits); in TPM_SetupSinglePwmChannel()
411 TPM_EnableChannel(base, (tpm_chnl_t)chnlId, controlBits ^ TPM_CnSC_ELSA_MASK); in TPM_SetupSinglePwmChannel()
444 TPM_EnableChannel(base, (tpm_chnl_t)chnlId, controlBits); in TPM_SetupSinglePwmChannel()