Home
last modified time | relevance | path

Searched refs:gpcrc (Results 1 – 4 of 4) sorted by relevance

/hal_silabs-latest/simplicity_sdk/platform/emlib/inc/
Dem_gpcrc.h169 void GPCRC_Init(GPCRC_TypeDef * gpcrc, const GPCRC_Init_TypeDef * init);
170 void GPCRC_Reset(GPCRC_TypeDef * gpcrc);
182 __STATIC_INLINE void GPCRC_Enable(GPCRC_TypeDef * gpcrc, bool enable) in GPCRC_Enable() argument
185 BUS_RegBitWrite(&gpcrc->EN, _GPCRC_EN_EN_SHIFT, enable); in GPCRC_Enable()
187 BUS_RegBitWrite(&gpcrc->CTRL, _GPCRC_CTRL_EN_SHIFT, enable); in GPCRC_Enable()
202 __STATIC_INLINE void GPCRC_Start(GPCRC_TypeDef * gpcrc) in GPCRC_Start() argument
204 gpcrc->CMD = GPCRC_CMD_INIT; in GPCRC_Start()
218 __STATIC_INLINE void GPCRC_InitValueSet(GPCRC_TypeDef * gpcrc, uint32_t initValue) in GPCRC_InitValueSet() argument
220 gpcrc->INIT = initValue; in GPCRC_InitValueSet()
238 __STATIC_INLINE void GPCRC_InputU32(GPCRC_TypeDef * gpcrc, uint32_t data) in GPCRC_InputU32() argument
[all …]
/hal_silabs-latest/gecko/emlib/inc/
Dem_gpcrc.h169 void GPCRC_Init(GPCRC_TypeDef * gpcrc, const GPCRC_Init_TypeDef * init);
170 void GPCRC_Reset(GPCRC_TypeDef * gpcrc);
182 __STATIC_INLINE void GPCRC_Enable(GPCRC_TypeDef * gpcrc, bool enable) in GPCRC_Enable() argument
185 BUS_RegBitWrite(&gpcrc->EN, _GPCRC_EN_EN_SHIFT, enable); in GPCRC_Enable()
187 BUS_RegBitWrite(&gpcrc->CTRL, _GPCRC_CTRL_EN_SHIFT, enable); in GPCRC_Enable()
202 __STATIC_INLINE void GPCRC_Start(GPCRC_TypeDef * gpcrc) in GPCRC_Start() argument
204 gpcrc->CMD = GPCRC_CMD_INIT; in GPCRC_Start()
218 __STATIC_INLINE void GPCRC_InitValueSet(GPCRC_TypeDef * gpcrc, uint32_t initValue) in GPCRC_InitValueSet() argument
220 gpcrc->INIT = initValue; in GPCRC_InitValueSet()
238 __STATIC_INLINE void GPCRC_InputU32(GPCRC_TypeDef * gpcrc, uint32_t data) in GPCRC_InputU32() argument
[all …]
/hal_silabs-latest/gecko/emlib/src/
Dem_gpcrc.c67 void GPCRC_Init(GPCRC_TypeDef * gpcrc, const GPCRC_Init_TypeDef * init) argument
87 gpcrc->EN_SET = GPCRC_EN_EN;
89 gpcrc->EN_CLR = GPCRC_EN_EN;
92 gpcrc->CTRL = (((uint32_t)init->autoInit << _GPCRC_CTRL_AUTOINIT_SHIFT)
98 gpcrc->CTRL = (((uint32_t)init->autoInit << _GPCRC_CTRL_AUTOINIT_SHIFT)
112 gpcrc->POLY = revPoly & _GPCRC_POLY_POLY_MASK;
116 gpcrc->INIT = init->initValue;
129 void GPCRC_Reset(GPCRC_TypeDef * gpcrc) argument
131 gpcrc->CTRL = _GPCRC_CTRL_RESETVALUE;
132 gpcrc->POLY = _GPCRC_POLY_RESETVALUE;
[all …]
/hal_silabs-latest/simplicity_sdk/platform/emlib/src/
Dem_gpcrc.c67 void GPCRC_Init(GPCRC_TypeDef * gpcrc, const GPCRC_Init_TypeDef * init) argument
87 gpcrc->EN_SET = GPCRC_EN_EN;
89 gpcrc->EN_CLR = GPCRC_EN_EN;
92 gpcrc->CTRL = (((uint32_t)init->autoInit << _GPCRC_CTRL_AUTOINIT_SHIFT)
98 gpcrc->CTRL = (((uint32_t)init->autoInit << _GPCRC_CTRL_AUTOINIT_SHIFT)
112 gpcrc->POLY = revPoly & _GPCRC_POLY_POLY_MASK;
116 gpcrc->INIT = init->initValue;
129 void GPCRC_Reset(GPCRC_TypeDef * gpcrc) argument
131 gpcrc->CTRL = _GPCRC_CTRL_RESETVALUE;
132 gpcrc->POLY = _GPCRC_POLY_RESETVALUE;
[all …]