Searched refs:idac (Results 1 – 2 of 2) sorted by relevance
/hal_silabs-3.5.0/gecko/emlib/src/ |
D | em_idac.c | 71 void IDAC_Init(IDAC_TypeDef *idac, const IDAC_Init_TypeDef *init) in IDAC_Init() argument 75 EFM_ASSERT(IDAC_REF_VALID(idac)); in IDAC_Init() 95 idac->CTRL = tmp; in IDAC_Init() 108 void IDAC_Enable(IDAC_TypeDef *idac, bool enable) in IDAC_Enable() argument 110 EFM_ASSERT(IDAC_REF_VALID(idac)); in IDAC_Enable() 111 BUS_RegBitWrite(&idac->CTRL, _IDAC_CTRL_EN_SHIFT, enable); in IDAC_Enable() 121 void IDAC_Reset(IDAC_TypeDef *idac) in IDAC_Reset() argument 123 EFM_ASSERT(IDAC_REF_VALID(idac)); in IDAC_Reset() 131 idac->CTRL = _IDAC_CTRL_RESETVALUE | IDAC_CTRL_EN; in IDAC_Reset() 134 idac->CURPROG = IDAC_CURPROG_RANGESEL_RANGE0 in IDAC_Reset() [all …]
|
/hal_silabs-3.5.0/gecko/emlib/inc/ |
D | em_idac.h | 209 void IDAC_Init(IDAC_TypeDef *idac, const IDAC_Init_TypeDef *init); 210 void IDAC_Enable(IDAC_TypeDef *idac, bool enable); 211 void IDAC_Reset(IDAC_TypeDef *idac); 212 void IDAC_MinimalOutputTransitionMode(IDAC_TypeDef *idac, bool enable); 213 void IDAC_RangeSet(IDAC_TypeDef *idac, const IDAC_Range_TypeDef range); 214 void IDAC_StepSet(IDAC_TypeDef *idac, const uint32_t step); 215 void IDAC_OutEnable(IDAC_TypeDef *idac, bool enable); 229 __STATIC_INLINE void IDAC_IntClear(IDAC_TypeDef *idac, uint32_t flags) in IDAC_IntClear() argument 231 idac->IFC = flags; in IDAC_IntClear() 245 __STATIC_INLINE void IDAC_IntDisable(IDAC_TypeDef *idac, uint32_t flags) in IDAC_IntDisable() argument [all …]
|