Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/tpm/
Dfsl_tpm.h53 } tpm_chnl_t; typedef
105 tpm_chnl_t chnlNumber; /*!< TPM channel to configure.
465 tpm_chnl_t chnlNumber,
481 void TPM_UpdateChnlEdgeLevelSelect(TPM_Type *base, tpm_chnl_t chnlNumber, uint8_t level);
493 static inline uint8_t TPM_GetChannelContorlBits(TPM_Type *base, tpm_chnl_t chnlNumber) in TPM_GetChannelContorlBits()
507 static inline void TPM_DisableChannel(TPM_Type *base, tpm_chnl_t chnlNumber) in TPM_DisableChannel()
536 static inline void TPM_EnableChannel(TPM_Type *base, tpm_chnl_t chnlNumber, uint8_t control) in TPM_EnableChannel()
572 void TPM_SetupInputCapture(TPM_Type *base, tpm_chnl_t chnlNumber, tpm_input_capture_edge_t captureM…
586 tpm_chnl_t chnlNumber,
603 tpm_chnl_t chnlPairNumber,
[all …]
Dfsl_tpm.c380 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()
396 TPM_DisableChannel(base, (tpm_chnl_t)chnlId); 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()
442 TPM_DisableChannel(base, (tpm_chnl_t)chnlId); in TPM_SetupSinglePwmChannel()
444 TPM_EnableChannel(base, (tpm_chnl_t)chnlId, controlBits); in TPM_SetupSinglePwmChannel()
579 tpm_chnl_t chnlNumber, in TPM_UpdatePwmDutycycle()
708 void TPM_UpdateChnlEdgeLevelSelect(TPM_Type *base, tpm_chnl_t chnlNumber, uint8_t level) in TPM_UpdateChnlEdgeLevelSelect()
736 void TPM_SetupInputCapture(TPM_Type *base, tpm_chnl_t chnlNumber, tpm_input_capture_edge_t captureM… in TPM_SetupInputCapture()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/components/pwm/
Dfsl_adapter_pwm_tpm.c91 .chnlNumber = (tpm_chnl_t)channel, in HAL_PwmSetupPwm()
127 …(void)TPM_UpdatePwmDutycycle(s_tpmBase[halPwmState->instance], (tpm_chnl_t)channel, (tpm_pwm_mode_… in HAL_PwmUpdateDutycycle()