Lines Matching refs:chnlNumber

74     ftm_chnl_t chnlNumber;         /*!< The channel/channel pair number.  member
95 ftm_chnl_t chnlNumber; /*!< The channel/channel pair number. member
504 ftm_chnl_t chnlNumber,
516 void FTM_UpdateChnlEdgeLevelSelect(FTM_Type *base, ftm_chnl_t chnlNumber, uint8_t level);
553 ftm_chnl_t chnlNumber,
569 ftm_chnl_t chnlNumber,
729 static inline uint32_t FTM_GetInputCaptureValue(FTM_Type *base, ftm_chnl_t chnlNumber) in FTM_GetInputCaptureValue() argument
731 return (base->CONTROLS[chnlNumber].CnV & FTM_CnV_VAL_MASK); in FTM_GetInputCaptureValue()
781 static inline void FTM_SetSoftwareCtrlEnable(FTM_Type *base, ftm_chnl_t chnlNumber, bool value) in FTM_SetSoftwareCtrlEnable() argument
785 base->SWOCTRL |= (1UL << (uint32_t)chnlNumber); in FTM_SetSoftwareCtrlEnable()
789 base->SWOCTRL &= ~(1UL << (uint32_t)chnlNumber); in FTM_SetSoftwareCtrlEnable()
800 static inline void FTM_SetSoftwareCtrlVal(FTM_Type *base, ftm_chnl_t chnlNumber, bool value) in FTM_SetSoftwareCtrlVal() argument
804 base->SWOCTRL |= (1UL << ((uint32_t)chnlNumber + FTM_SWOCTRL_CH0OCV_SHIFT)); in FTM_SetSoftwareCtrlVal()
808 base->SWOCTRL &= ~(1UL << ((uint32_t)chnlNumber + FTM_SWOCTRL_CH0OCV_SHIFT)); in FTM_SetSoftwareCtrlVal()
839 static inline void FTM_SetOutputMask(FTM_Type *base, ftm_chnl_t chnlNumber, bool mask) in FTM_SetOutputMask() argument
843 base->OUTMASK |= (1UL << (uint32_t)chnlNumber); in FTM_SetOutputMask()
847 base->OUTMASK &= ~(1UL << (uint32_t)chnlNumber); in FTM_SetOutputMask()
862 static inline void FTM_SetPwmOutputEnable(FTM_Type *base, ftm_chnl_t chnlNumber, bool value) in FTM_SetPwmOutputEnable() argument
866 base->SC |= (1UL << ((uint32_t)chnlNumber + FTM_SC_PWMEN0_SHIFT)); in FTM_SetPwmOutputEnable()
870 base->SC &= ~(1UL << ((uint32_t)chnlNumber + FTM_SC_PWMEN0_SHIFT)); in FTM_SetPwmOutputEnable()
1085 static inline void FTM_EnableDmaTransfer(FTM_Type *base, ftm_chnl_t chnlNumber, bool enable) in FTM_EnableDmaTransfer() argument
1090 base->CONTROLS[chnlNumber].CnSC |= FTM_CnSC_DMA_MASK; in FTM_EnableDmaTransfer()
1095 base->CONTROLS[chnlNumber].CnSC &= ~FTM_CnSC_DMA_MASK; in FTM_EnableDmaTransfer()