Lines Matching refs:csen

514 __STATIC_INLINE uint32_t CSEN_DataGet(CSEN_TypeDef *csen)  in CSEN_DataGet()  argument
516 return csen->DATA; in CSEN_DataGet()
532 __STATIC_INLINE uint32_t CSEN_EMAGet(CSEN_TypeDef *csen) in CSEN_EMAGet() argument
534 return (csen->EMA & _CSEN_EMA_EMA_MASK); in CSEN_EMAGet()
550 __STATIC_INLINE void CSEN_EMASet(CSEN_TypeDef *csen, uint32_t ema) in CSEN_EMASet() argument
552 csen->EMA = ema & _CSEN_EMA_EMA_MASK; in CSEN_EMASet()
562 __STATIC_INLINE void CSEN_Disable(CSEN_TypeDef *csen) in CSEN_Disable() argument
564 BUS_RegBitWrite(&csen->CTRL, _CSEN_CTRL_EN_SHIFT, 0); in CSEN_Disable()
574 __STATIC_INLINE void CSEN_Enable(CSEN_TypeDef *csen) in CSEN_Enable() argument
576 BUS_RegBitWrite(&csen->CTRL, _CSEN_CTRL_EN_SHIFT, 1); in CSEN_Enable()
579 void CSEN_DMBaselineSet(CSEN_TypeDef *csen, uint32_t up, uint32_t down);
580 void CSEN_Init(CSEN_TypeDef *csen, const CSEN_Init_TypeDef *init);
581 void CSEN_InitMode(CSEN_TypeDef *csen, const CSEN_InitMode_TypeDef *init);
582 void CSEN_Reset(CSEN_TypeDef *csen);
595 __STATIC_INLINE void CSEN_IntClear(CSEN_TypeDef *csen, uint32_t flags) in CSEN_IntClear() argument
597 csen->IFC = flags; in CSEN_IntClear()
611 __STATIC_INLINE void CSEN_IntDisable(CSEN_TypeDef *csen, uint32_t flags) in CSEN_IntDisable() argument
613 csen->IEN &= ~flags; in CSEN_IntDisable()
632 __STATIC_INLINE void CSEN_IntEnable(CSEN_TypeDef *csen, uint32_t flags) in CSEN_IntEnable() argument
634 csen->IEN |= flags; in CSEN_IntEnable()
651 __STATIC_INLINE uint32_t CSEN_IntGet(CSEN_TypeDef *csen) in CSEN_IntGet() argument
653 return csen->IF; in CSEN_IntGet()
675 __STATIC_INLINE uint32_t CSEN_IntGetEnabled(CSEN_TypeDef *csen) in CSEN_IntGetEnabled() argument
681 ien = csen->IEN; in CSEN_IntGetEnabled()
684 return csen->IF & ien; in CSEN_IntGetEnabled()
698 __STATIC_INLINE void CSEN_IntSet(CSEN_TypeDef *csen, uint32_t flags) in CSEN_IntSet() argument
700 csen->IFS = flags; in CSEN_IntSet()
713 __STATIC_INLINE bool CSEN_IsBusy(CSEN_TypeDef *csen) in CSEN_IsBusy() argument
715 return (bool)(csen->STATUS & _CSEN_STATUS_CSENBUSY_MASK); in CSEN_IsBusy()
725 __STATIC_INLINE void CSEN_Start(CSEN_TypeDef *csen) in CSEN_Start() argument
727 csen->CMD = CSEN_CMD_START; in CSEN_Start()