Home
last modified time | relevance | path

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

/hal_infineon-3.5.0/XMCLib/drivers/src/
Dxmc_can.c529 void XMC_CAN_MO_SetIdentifier(XMC_CAN_MO_t *const can_mo, const uint32_t can_identifier) in XMC_CAN_MO_SetIdentifier() argument
531 if ((can_mo->can_mo_ptr->MOAR & CAN_MO_MOAR_IDE_Msk) != (uint32_t)CAN_MO_MOAR_IDE_Msk) in XMC_CAN_MO_SetIdentifier()
533 can_mo->can_mo_ptr->MOAR = ((can_mo->can_mo_ptr->MOAR) & ~(uint32_t)(CAN_MO_MOAR_ID_Msk)) | in XMC_CAN_MO_SetIdentifier()
538 can_mo->can_mo_ptr->MOAR = ((can_mo->can_mo_ptr->MOAR) & ~(uint32_t)(CAN_MO_MOAR_ID_Msk)) | in XMC_CAN_MO_SetIdentifier()
541 can_mo->can_identifier = can_identifier; in XMC_CAN_MO_SetIdentifier()
546 uint32_t XMC_CAN_MO_GetIdentifier(const XMC_CAN_MO_t *const can_mo) in XMC_CAN_MO_GetIdentifier() argument
549 if ((can_mo->can_mo_ptr->MOAR & CAN_MO_MOAR_IDE_Msk) != (uint32_t)CAN_MO_MOAR_IDE_Msk) in XMC_CAN_MO_GetIdentifier()
551 …identifier = ((can_mo->can_mo_ptr->MOAR) & (uint32_t)(CAN_MO_MOAR_ID_Msk)) >> XMC_CAN_MO_MOAR_STDI… in XMC_CAN_MO_GetIdentifier()
555 identifier = ((can_mo->can_mo_ptr->MOAR) & (uint32_t)(CAN_MO_MOAR_ID_Msk)); in XMC_CAN_MO_GetIdentifier()
561 uint32_t XMC_CAN_MO_GetAcceptanceMask(const XMC_CAN_MO_t *const can_mo) in XMC_CAN_MO_GetAcceptanceMask() argument
[all …]
/hal_infineon-3.5.0/XMCLib/drivers/inc/
Dxmc_can.h853 void XMC_CAN_MO_Config(const XMC_CAN_MO_t *const can_mo);
1536 XMC_CAN_STATUS_t XMC_CAN_MO_UpdateData(const XMC_CAN_MO_t *const can_mo);
1553 XMC_CAN_STATUS_t XMC_CAN_MO_Transmit(const XMC_CAN_MO_t *const can_mo);
1570 XMC_CAN_STATUS_t XMC_CAN_MO_Receive(XMC_CAN_MO_t *can_mo);
1586 XMC_CAN_STATUS_t XMC_CAN_MO_ReceiveData (XMC_CAN_MO_t *can_mo);
1603 __STATIC_INLINE void XMC_CAN_MO_SetEventNodePointer(const XMC_CAN_MO_t *const can_mo, in XMC_CAN_MO_SetEventNodePointer() argument
1607can_mo->can_mo_ptr->MOIPR = ((can_mo->can_mo_ptr->MOIPR ) & ~(uint32_t)((uint32_t)CAN_MO_MOIPR_Msk… in XMC_CAN_MO_SetEventNodePointer()
1626 __STATIC_INLINE uint32_t XMC_CAN_MO_GetStatus(const XMC_CAN_MO_t *const can_mo) in XMC_CAN_MO_GetStatus() argument
1628 return ((can_mo->can_mo_ptr->MOSTAT)); in XMC_CAN_MO_GetStatus()
1646 __STATIC_INLINE void XMC_CAN_MO_SetStatus(const XMC_CAN_MO_t *const can_mo, const uint32_t mask) in XMC_CAN_MO_SetStatus() argument
[all …]