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,
720 static inline uint32_t FTM_GetInputCaptureValue(FTM_Type *base, ftm_chnl_t chnlNumber) in FTM_GetInputCaptureValue() argument
722 return (base->CONTROLS[chnlNumber].CnV & FTM_CnV_VAL_MASK); in FTM_GetInputCaptureValue()
772 static inline void FTM_SetSoftwareCtrlEnable(FTM_Type *base, ftm_chnl_t chnlNumber, bool value) in FTM_SetSoftwareCtrlEnable() argument
776 base->SWOCTRL |= (1UL << (uint32_t)chnlNumber); in FTM_SetSoftwareCtrlEnable()
780 base->SWOCTRL &= ~(1UL << (uint32_t)chnlNumber); in FTM_SetSoftwareCtrlEnable()
791 static inline void FTM_SetSoftwareCtrlVal(FTM_Type *base, ftm_chnl_t chnlNumber, bool value) in FTM_SetSoftwareCtrlVal() argument
795 base->SWOCTRL |= (1UL << ((uint32_t)chnlNumber + FTM_SWOCTRL_CH0OCV_SHIFT)); in FTM_SetSoftwareCtrlVal()
799 base->SWOCTRL &= ~(1UL << ((uint32_t)chnlNumber + FTM_SWOCTRL_CH0OCV_SHIFT)); in FTM_SetSoftwareCtrlVal()
830 static inline void FTM_SetOutputMask(FTM_Type *base, ftm_chnl_t chnlNumber, bool mask) in FTM_SetOutputMask() argument
834 base->OUTMASK |= (1UL << (uint32_t)chnlNumber); in FTM_SetOutputMask()
838 base->OUTMASK &= ~(1UL << (uint32_t)chnlNumber); in FTM_SetOutputMask()
853 static inline void FTM_SetPwmOutputEnable(FTM_Type *base, ftm_chnl_t chnlNumber, bool value) in FTM_SetPwmOutputEnable() argument
857 base->SC |= (1UL << ((uint32_t)chnlNumber + FTM_SC_PWMEN0_SHIFT)); in FTM_SetPwmOutputEnable()
861 base->SC &= ~(1UL << ((uint32_t)chnlNumber + FTM_SC_PWMEN0_SHIFT)); in FTM_SetPwmOutputEnable()
1076 static inline void FTM_EnableDmaTransfer(FTM_Type *base, ftm_chnl_t chnlNumber, bool enable) in FTM_EnableDmaTransfer() argument
1081 base->CONTROLS[chnlNumber].CnSC |= FTM_CnSC_DMA_MASK; in FTM_EnableDmaTransfer()
1086 base->CONTROLS[chnlNumber].CnSC &= ~FTM_CnSC_DMA_MASK; in FTM_EnableDmaTransfer()