Home
last modified time | relevance | path

Searched refs:engine (Results 1 – 2 of 2) sorted by relevance

/hal_infineon-latest/XMCLib/drivers/inc/
Dxmc_fce.h351 XMC_FCE_STATUS_t XMC_FCE_Init(const XMC_FCE_t *const engine);
364 __STATIC_INLINE void XMC_FCE_InitializeSeedValue(const XMC_FCE_t *const engine, uint32_t seedvalue) in XMC_FCE_InitializeSeedValue() argument
366 engine->kernel_ptr->CRC = seedvalue; in XMC_FCE_InitializeSeedValue()
380 __STATIC_INLINE void XMC_FCE_EnableEvent(const XMC_FCE_t *const engine, uint32_t event) in XMC_FCE_EnableEvent() argument
382 engine->kernel_ptr->CFG |= (uint32_t)event; in XMC_FCE_EnableEvent()
396 __STATIC_INLINE void XMC_FCE_DisableEvent(const XMC_FCE_t *const engine, uint32_t event) in XMC_FCE_DisableEvent() argument
398 engine->kernel_ptr->CFG &= ~(uint32_t)event; in XMC_FCE_DisableEvent()
413 __STATIC_INLINE bool XMC_FCE_GetEventStatus(const XMC_FCE_t *const engine, XMC_FCE_STS_FLAG_t event) in XMC_FCE_GetEventStatus() argument
415 return (bool) (engine->kernel_ptr->STS & (uint32_t)event); in XMC_FCE_GetEventStatus()
430 __STATIC_INLINE void XMC_FCE_ClearEvent(const XMC_FCE_t *const engine, XMC_FCE_STS_FLAG_t event) in XMC_FCE_ClearEvent() argument
[all …]
/hal_infineon-latest/XMCLib/drivers/src/
Dxmc_fce.c78 XMC_FCE_STATUS_t XMC_FCE_Init(const XMC_FCE_t *const engine) in XMC_FCE_Init() argument
80 engine->kernel_ptr->CFG = engine->fce_cfg_update.regval; in XMC_FCE_Init()
81 engine->kernel_ptr->CRC = engine->seedvalue; in XMC_FCE_Init()
112 XMC_FCE_STATUS_t XMC_FCE_CalculateCRC8(const XMC_FCE_t *const engine, in XMC_FCE_CalculateCRC8() argument
119 …XMC_ASSERT("XMC_FCE_CalculateCRC8: Wrong FCE kernel used", (engine -> kernel_ptr == XMC_FCE_CRC8)); in XMC_FCE_CalculateCRC8()
129 engine->kernel_ptr->IR = (uint32_t)*data; in XMC_FCE_CalculateCRC8()
134 *result = (uint8_t)engine->kernel_ptr->CRC; in XMC_FCE_CalculateCRC8()
141 XMC_FCE_STATUS_t XMC_FCE_CalculateCRC16(const XMC_FCE_t *const engine, in XMC_FCE_CalculateCRC16() argument
148 …XMC_ASSERT("XMC_FCE_CalculateCRC16: Wrong FCE kernel used", (engine -> kernel_ptr == XMC_FCE_CRC16… in XMC_FCE_CalculateCRC16()
161 engine->kernel_ptr->IR = (uint32_t)*data; in XMC_FCE_CalculateCRC16()
[all …]