Home
last modified time | relevance | path

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

/hal_infineon-3.5.0/XMCLib/drivers/inc/
Dxmc_can.h873 __STATIC_INLINE void XMC_CAN_NODE_SetEventNodePointer(XMC_CAN_NODE_t *const can_node, in XMC_CAN_NODE_SetEventNodePointer() argument
877can_node->NIPR = (uint32_t)((can_node->NIPR) & ~(uint32_t)(CAN_NODE_NIPR_Msk << (uint32_t)ptr_even… in XMC_CAN_NODE_SetEventNodePointer()
896 void XMC_CAN_NODE_NominalBitTimeConfigure(XMC_CAN_NODE_t *const can_node,
918 int32_t XMC_CAN_NODE_NominalBitTimeConfigureEx(XMC_CAN_NODE_t *const can_node,
941 __STATIC_INLINE void XMC_CAN_NODE_SetReceiveInput(XMC_CAN_NODE_t *const can_node, in XMC_CAN_NODE_SetReceiveInput() argument
944 can_node->NPCR = ((can_node->NPCR) & ~(uint32_t)(CAN_NODE_NPCR_RXSEL_Msk)) | in XMC_CAN_NODE_SetReceiveInput()
969 __STATIC_INLINE void XMC_CAN_NODE_EnableLoopBack(XMC_CAN_NODE_t *const can_node) in XMC_CAN_NODE_EnableLoopBack() argument
971 can_node->NPCR |= (uint32_t)CAN_NODE_NPCR_LBM_Msk; in XMC_CAN_NODE_EnableLoopBack()
994 __STATIC_INLINE void XMC_CAN_NODE_DisableLoopBack(XMC_CAN_NODE_t *const can_node) in XMC_CAN_NODE_DisableLoopBack() argument
996 can_node->NPCR &= ~(uint32_t)CAN_NODE_NPCR_LBM_Msk; in XMC_CAN_NODE_DisableLoopBack()
[all …]
/hal_infineon-3.5.0/XMCLib/drivers/src/
Dxmc_can.c121 int32_t XMC_CAN_NODE_NominalBitTimeConfigureEx(XMC_CAN_NODE_t *const can_node, in XMC_CAN_NODE_NominalBitTimeConfigureEx() argument
179 XMC_CAN_NODE_EnableConfigurationChange(can_node); in XMC_CAN_NODE_NominalBitTimeConfigureEx()
182can_node->NBTR = (((tseg2 - 1u) << CAN_NODE_NBTR_TSEG2_Pos) & (uint32_t)CAN_NODE_NBTR_TSEG2_Msk) | in XMC_CAN_NODE_NominalBitTimeConfigureEx()
188 XMC_CAN_NODE_DisableConfigurationChange(can_node); in XMC_CAN_NODE_NominalBitTimeConfigureEx()
198 void XMC_CAN_NODE_NominalBitTimeConfigure (XMC_CAN_NODE_t *const can_node, in XMC_CAN_NODE_NominalBitTimeConfigure() argument
311 XMC_CAN_NODE_EnableConfigurationChange(can_node); in XMC_CAN_NODE_NominalBitTimeConfigure()
313can_node->NBTR = (((uint32_t)(best_tseg2 - 1u) << CAN_NODE_NBTR_TSEG2_Pos) & (uint32_t)CAN_NODE_NB… in XMC_CAN_NODE_NominalBitTimeConfigure()
318 XMC_CAN_NODE_DisableConfigurationChange(can_node); in XMC_CAN_NODE_NominalBitTimeConfigure()
804 void XMC_CAN_NODE_EnableEvent(XMC_CAN_NODE_t *const can_node, const XMC_CAN_NODE_EVENT_t event) in XMC_CAN_NODE_EnableEvent() argument
808 can_node->NCR |= (uint32_t)event; in XMC_CAN_NODE_EnableEvent()
[all …]