Lines Matching refs:can_node
873 __STATIC_INLINE void XMC_CAN_NODE_SetEventNodePointer(XMC_CAN_NODE_t *const can_node, in XMC_CAN_NODE_SetEventNodePointer() argument
877 …can_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()
1016 void XMC_CAN_NODE_EnableEvent(XMC_CAN_NODE_t *const can_node, const XMC_CAN_NODE_EVENT_t event);
1035 void XMC_CAN_NODE_DisableEvent(XMC_CAN_NODE_t *const can_node, const XMC_CAN_NODE_EVENT_t event);
1097 __STATIC_INLINE void XMC_CAN_NODE_SetErrorWarningLevel(XMC_CAN_NODE_t *const can_node, uint8_t erro… in XMC_CAN_NODE_SetErrorWarningLevel() argument
1099 can_node->NECNT = ((can_node->NECNT) & ~(uint32_t)(CAN_NODE_NECNT_EWRNLVL_Msk)) | in XMC_CAN_NODE_SetErrorWarningLevel()
1124 __STATIC_INLINE void XMC_CAN_NODE_SetTransmitErrorCounter(XMC_CAN_NODE_t *const can_node, uint8_t c… in XMC_CAN_NODE_SetTransmitErrorCounter() argument
1126 can_node->NECNT = ((can_node->NECNT) & ~(uint32_t)(CAN_NODE_NECNT_TEC_Msk)) | in XMC_CAN_NODE_SetTransmitErrorCounter()
1150 __STATIC_INLINE void XMC_CAN_NODE_SetReceiveErrorCounter(XMC_CAN_NODE_t *const can_node, uint8_t ca… in XMC_CAN_NODE_SetReceiveErrorCounter() argument
1152 can_node->NECNT = ((can_node->NECNT) & ~(uint32_t)(CAN_NODE_NECNT_REC_Msk)) | in XMC_CAN_NODE_SetReceiveErrorCounter()
1173 __STATIC_INLINE uint8_t XMC_CAN_NODE_GetErrorWarningLevel(XMC_CAN_NODE_t *const can_node) in XMC_CAN_NODE_GetErrorWarningLevel() argument
1175 …return (uint8_t)((uint32_t)((can_node->NECNT) & CAN_NODE_NECNT_EWRNLVL_Msk) >> CAN_NODE_NECNT_EWR… in XMC_CAN_NODE_GetErrorWarningLevel()
1198 __STATIC_INLINE uint8_t XMC_CAN_NODE_GetTransmitErrorCounter(XMC_CAN_NODE_t *const can_node) in XMC_CAN_NODE_GetTransmitErrorCounter() argument
1200 …return (uint8_t)((uint32_t)((can_node->NECNT) & CAN_NODE_NECNT_TEC_Msk) >> CAN_NODE_NECNT_TEC_Pos… in XMC_CAN_NODE_GetTransmitErrorCounter()
1218 __STATIC_INLINE uint8_t XMC_CAN_NODE_GetReceiveErrorCounter(XMC_CAN_NODE_t *const can_node) in XMC_CAN_NODE_GetReceiveErrorCounter() argument
1220 …return (uint8_t)((uint32_t)((can_node->NECNT) & CAN_NODE_NECNT_REC_Msk) >> CAN_NODE_NECNT_REC_Pos… in XMC_CAN_NODE_GetReceiveErrorCounter()
1238 __STATIC_INLINE uint32_t XMC_CAN_NODE_GetStatus(XMC_CAN_NODE_t *const can_node) in XMC_CAN_NODE_GetStatus() argument
1240 return ((can_node->NSR)); in XMC_CAN_NODE_GetStatus()
1258 __STATIC_INLINE void XMC_CAN_NODE_ClearStatus(XMC_CAN_NODE_t *const can_node,XMC_CAN_NODE_STATUS_t … in XMC_CAN_NODE_ClearStatus() argument
1260 can_node->NSR &= ~(uint32_t)can_node_status; in XMC_CAN_NODE_ClearStatus()
1279 __STATIC_INLINE void XMC_CAN_NODE_EnableConfigurationChange(XMC_CAN_NODE_t *const can_node) in XMC_CAN_NODE_EnableConfigurationChange() argument
1281 can_node->NCR |= (uint32_t)CAN_NODE_NCR_CCE_Msk; in XMC_CAN_NODE_EnableConfigurationChange()
1299 __STATIC_INLINE void XMC_CAN_NODE_DisableConfigurationChange(XMC_CAN_NODE_t *const can_node) in XMC_CAN_NODE_DisableConfigurationChange() argument
1301 can_node->NCR &= ~(uint32_t)CAN_NODE_NCR_CCE_Msk; in XMC_CAN_NODE_DisableConfigurationChange()
1321 __STATIC_INLINE void XMC_CAN_NODE_SetInitBit(XMC_CAN_NODE_t *const can_node) in XMC_CAN_NODE_SetInitBit() argument
1323 can_node->NCR |= (uint32_t)CAN_NODE_NCR_INIT_Msk; in XMC_CAN_NODE_SetInitBit()
1340 __STATIC_INLINE void XMC_CAN_NODE_ResetInitBit(XMC_CAN_NODE_t *const can_node) in XMC_CAN_NODE_ResetInitBit() argument
1342 can_node->NCR &= ~(uint32_t)CAN_NODE_NCR_INIT_Msk; in XMC_CAN_NODE_ResetInitBit()
1358 __STATIC_INLINE void XMC_CAN_NODE_Enable(XMC_CAN_NODE_t *const can_node) in XMC_CAN_NODE_Enable() argument
1360 can_node->NCR &= ~(uint32_t)CAN_NODE_NCR_CANDIS_Msk; in XMC_CAN_NODE_Enable()
1361 XMC_CAN_NODE_ResetInitBit(can_node); in XMC_CAN_NODE_Enable()
1377 __STATIC_INLINE void XMC_CAN_NODE_Disable(XMC_CAN_NODE_t *const can_node) in XMC_CAN_NODE_Disable() argument
1379 can_node->NCR |= (uint32_t)CAN_NODE_NCR_CANDIS_Msk; in XMC_CAN_NODE_Disable()
1399 __STATIC_INLINE void XMC_CAN_NODE_SetAnalyzerMode(XMC_CAN_NODE_t *const can_node) in XMC_CAN_NODE_SetAnalyzerMode() argument
1401 can_node->NCR |= (uint32_t)CAN_NODE_NCR_CALM_Msk; in XMC_CAN_NODE_SetAnalyzerMode()
1419 __STATIC_INLINE void XMC_CAN_NODE_ReSetAnalyzerMode(XMC_CAN_NODE_t *const can_node) in XMC_CAN_NODE_ReSetAnalyzerMode() argument
1421 can_node->NCR &= ~(uint32_t)CAN_NODE_NCR_CALM_Msk; in XMC_CAN_NODE_ReSetAnalyzerMode()
1443 __STATIC_INLINE void XMC_CAN_NODE_EnableSuspend(XMC_CAN_NODE_t *const can_node) in XMC_CAN_NODE_EnableSuspend() argument
1445 can_node->NCR |= (uint32_t)CAN_NODE_NCR_SUSEN_Msk; in XMC_CAN_NODE_EnableSuspend()
1462 __STATIC_INLINE void XMC_CAN_NODE_DisableTransmit(XMC_CAN_NODE_t *const can_node) in XMC_CAN_NODE_DisableTransmit() argument
1464 can_node->NCR |= (uint32_t)CAN_NODE_NCR_TXDIS_Msk; in XMC_CAN_NODE_DisableTransmit()
1486 __STATIC_INLINE void XMC_CAN_NODE_FrameCounterConfigure(XMC_CAN_NODE_t *const can_node, in XMC_CAN_NODE_FrameCounterConfigure() argument
1489 can_node->NFCR = (can_node->NFCR & ~(uint32_t)(CAN_NODE_NFCR_CFMOD_Msk | in XMC_CAN_NODE_FrameCounterConfigure()
1512 __STATIC_INLINE uint16_t XMC_CAN_NODE_GetCANFrameCounter(XMC_CAN_NODE_t *const can_node) in XMC_CAN_NODE_GetCANFrameCounter() argument
1514 return (uint16_t)(((uint32_t)(can_node->NFCR & CAN_NODE_NFCR_CFC_Msk) >> CAN_NODE_NFCR_CFC_Pos)); in XMC_CAN_NODE_GetCANFrameCounter()