XMC Peripheral Library for XMC4000 Family: xmc_can.h File Reference

XMC Peripheral Library for XMC4000 Family

XMC Peripheral Library for XMC4000 Family  2.1.16
xmc_can.h File Reference
#include "xmc_common.h" #include "xmc_scu.h"
#include "xmc_can_map.h"
#include <string.h>
Include dependency graph for xmc_can.h:

Data Structures

struct  XMC_CAN_FIFO_CONFIG_t
 
struct  XMC_CAN_GATEWAY_CONFIG_t
 
struct  XMC_CAN_MO_t
 
struct  XMC_CAN_NODE_FRAME_COUNTER_t
 
struct  XMC_CAN_NODE_NOMINAL_BIT_TIME_CONFIG_t
 

Macros

#define CAN_MO_MOIPR_Msk   (0x7U)
 
#define CAN_NODE_NIPR_Msk   (0x7UL)
 
#define XMC_CAN_MO_MOAR_STDID_Msk   ((0x000007FFUL) << XMC_CAN_MO_MOAR_STDID_Pos)
 
#define XMC_CAN_MO_MOAR_STDID_Pos   (18U)
 

Typedefs

typedef CAN_NODE_TypeDef XMC_CAN_NODE_t
 
typedef CAN_GLOBAL_TypeDef XMC_CAN_t
 

Enumerations

Functions

void XMC_CAN_AllocateMOtoNodeList (XMC_CAN_t *const obj, const uint8_t node_num, const uint8_t mo_num)
 
void XMC_CAN_Disable (XMC_CAN_t *const obj)
 
void XMC_CAN_Enable (XMC_CAN_t *const obj)
 
void XMC_CAN_EventTrigger (XMC_CAN_t *const obj, const XMC_CAN_NODE_INTERRUPT_TRIGGER_t service_requestr)
 
void XMC_CAN_FIFO_DisableForeingRemoteRequest (const XMC_CAN_MO_t *const can_mo)
 
void XMC_CAN_FIFO_DisableRemoteMonitoring (const XMC_CAN_MO_t *const can_mo)
 
void XMC_CAN_FIFO_DisableSingleDataTransfer (const XMC_CAN_MO_t *const can_mo)
 
void XMC_CAN_FIFO_EnableForeignRemoteRequest (const XMC_CAN_MO_t *const can_mo)
 
void XMC_CAN_FIFO_EnableRemoteMonitoring (const XMC_CAN_MO_t *const can_mo)
 
void XMC_CAN_FIFO_EnableSingleDataTransfer (const XMC_CAN_MO_t *const can_mo)
 
uint8_t XMC_CAN_FIFO_GetCurrentMO (const XMC_CAN_MO_t *const can_mo)
 
void XMC_CAN_FIFO_SetSELMO (const XMC_CAN_MO_t *const can_mo, const uint8_t select_pointer)
 
void XMC_CAN_GATEWAY_InitDesObject (const XMC_CAN_MO_t *const can_mo)
 
void XMC_CAN_GATEWAY_InitSourceObject (const XMC_CAN_MO_t *const can_mo, const XMC_CAN_GATEWAY_CONFIG_t can_gateway)
 
void XMC_CAN_Init (XMC_CAN_t *const obj, uint32_t can_frequency)
 
bool XMC_CAN_IsPanelControlReady (XMC_CAN_t *const obj)
 
void XMC_CAN_MO_AcceptOnlyMatchingIDE (XMC_CAN_MO_t *const can_mo)
 
void XMC_CAN_MO_AcceptStandardAndExtendedID (XMC_CAN_MO_t *const can_mo)
 
void XMC_CAN_MO_Config (const XMC_CAN_MO_t *const can_mo)
 
void XMC_CAN_MO_DataLengthCode (const XMC_CAN_MO_t *const can_mo, const uint8_t data_length_code)
 
void XMC_CAN_MO_DisableEvent (const XMC_CAN_MO_t *const can_mo, const uint32_t event)
 
void XMC_CAN_MO_DisableSingleTransmitTrial (const XMC_CAN_MO_t *const can_mo)
 
void XMC_CAN_MO_EnableEvent (const XMC_CAN_MO_t *const can_mo, const uint32_t event)
 
void XMC_CAN_MO_EnableSingleTransmitTrial (const XMC_CAN_MO_t *const can_mo)
 
uint32_t XMC_CAN_MO_GetAcceptanceMask (const XMC_CAN_MO_t *const can_mo)
 
uint8_t XMC_CAN_MO_GetDataLengthCode (const XMC_CAN_MO_t *const can_mo)
 
uint32_t XMC_CAN_MO_GetIdentifier (const XMC_CAN_MO_t *const can_mo)
 
uint32_t XMC_CAN_MO_GetStatus (const XMC_CAN_MO_t *const can_mo)
 
XMC_CAN_STATUS_t XMC_CAN_MO_Receive (XMC_CAN_MO_t *can_mo)
 
XMC_CAN_STATUS_t XMC_CAN_MO_ReceiveData (XMC_CAN_MO_t *can_mo)
 
void XMC_CAN_MO_ResetStatus (const XMC_CAN_MO_t *const can_mo, const uint32_t mask)
 
void XMC_CAN_MO_SetAcceptanceMask (XMC_CAN_MO_t *const can_mo, const uint32_t can_id_mask)
 
void XMC_CAN_MO_SetDataLengthCode (XMC_CAN_MO_t *const can_mo, const uint8_t data_length_code)
 
void XMC_CAN_MO_SetEventNodePointer (const XMC_CAN_MO_t *const can_mo, const XMC_CAN_MO_POINTER_EVENT_t can_mo_ptr_int, const uint32_t service_request)
 
void XMC_CAN_MO_SetExtendedID (XMC_CAN_MO_t *const can_mo)
 
void XMC_CAN_MO_SetIdentifier (XMC_CAN_MO_t *const can_mo, const uint32_t can_identifier)
 
void XMC_CAN_MO_SetStandardID (XMC_CAN_MO_t *const can_mo)
 
void XMC_CAN_MO_SetStatus (const XMC_CAN_MO_t *const can_mo, const uint32_t mask)
 
XMC_CAN_STATUS_t XMC_CAN_MO_Transmit (const XMC_CAN_MO_t *const can_mo)
 
XMC_CAN_STATUS_t XMC_CAN_MO_UpdateData (const XMC_CAN_MO_t *const can_mo)
 
void XMC_CAN_NODE_ClearStatus (XMC_CAN_NODE_t *const can_node, XMC_CAN_NODE_STATUS_t can_node_status)
 
void XMC_CAN_NODE_Disable (XMC_CAN_NODE_t *const can_node)
 
void XMC_CAN_NODE_DisableConfigurationChange (XMC_CAN_NODE_t *const can_node)
 
void XMC_CAN_NODE_DisableEvent (XMC_CAN_NODE_t *const can_node, const XMC_CAN_NODE_EVENT_t event)
 
void XMC_CAN_NODE_DisableLoopBack (XMC_CAN_NODE_t *const can_node)
 
void XMC_CAN_NODE_Enable (XMC_CAN_NODE_t *const can_node)
 
void XMC_CAN_NODE_EnableConfigurationChange (XMC_CAN_NODE_t *const can_node)
 
void XMC_CAN_NODE_EnableEvent (XMC_CAN_NODE_t *const can_node, const XMC_CAN_NODE_EVENT_t event)
 
void XMC_CAN_NODE_EnableLoopBack (XMC_CAN_NODE_t *const can_node)
 
void XMC_CAN_NODE_EnableSuspend (XMC_CAN_NODE_t *const can_node)
 
void XMC_CAN_NODE_FrameCounterConfigure (XMC_CAN_NODE_t *const can_node, const XMC_CAN_NODE_FRAME_COUNTER_t *const can_node_init)
 
uint16_t XMC_CAN_NODE_GetCANFrameCounter (XMC_CAN_NODE_t *const can_node)
 
uint8_t XMC_CAN_NODE_GetErrorWarningLevel (XMC_CAN_NODE_t *const can_node)
 
XMC_CAN_NODE_LAST_ERROR_DIR_t XMC_CAN_NODE_GetLastErrTransferDir (XMC_CAN_NODE_t *const node)
 
XMC_CAN_NODE_LAST_ERROR_INC_t XMC_CAN_NODE_GetLastErrTransferInc (XMC_CAN_NODE_t *const node)
 
uint8_t XMC_CAN_NODE_GetReceiveErrorCounter (XMC_CAN_NODE_t *const can_node)
 
uint32_t XMC_CAN_NODE_GetStatus (XMC_CAN_NODE_t *const can_node)
 
uint8_t XMC_CAN_NODE_GetTransmitErrorCounter (XMC_CAN_NODE_t *const can_node)
 
void XMC_CAN_NODE_NominalBitTimeConfigure (XMC_CAN_NODE_t *const can_node, const XMC_CAN_NODE_NOMINAL_BIT_TIME_CONFIG_t *const can_bit_time)
 
void XMC_CAN_NODE_ReSetAnalyzerMode (XMC_CAN_NODE_t *const can_node)
 
void XMC_CAN_NODE_ResetInitBit (XMC_CAN_NODE_t *const can_node)
 
void XMC_CAN_NODE_SetAnalyzerMode (XMC_CAN_NODE_t *const can_node)
 
void XMC_CAN_NODE_SetErrorWarningLevel (XMC_CAN_NODE_t *const can_node, uint8_t error_warning_level)
 
void XMC_CAN_NODE_SetEventNodePointer (XMC_CAN_NODE_t *const can_node, const XMC_CAN_NODE_POINTER_EVENT_t ptr_event, const uint32_t service_request)
 
void XMC_CAN_NODE_SetInitBit (XMC_CAN_NODE_t *const can_node)
 
void XMC_CAN_NODE_SetReceiveErrorCounter (XMC_CAN_NODE_t *const can_node, uint8_t can_rec)
 
void XMC_CAN_NODE_SetReceiveInput (XMC_CAN_NODE_t *const can_node, const XMC_CAN_NODE_RECEIVE_INPUT_t input)
 
void XMC_CAN_NODE_SetTransmitErrorCounter (XMC_CAN_NODE_t *const can_node, uint8_t can_tec)
 
void XMC_CAN_PanelControl (XMC_CAN_t *const obj, const XMC_CAN_PANCMD_t pancmd, const uint8_t arg1, const uint8_t arg2)
 
void XMC_CAN_RXFIFO_ConfigMOBaseObject (const XMC_CAN_MO_t *const can_mo, const XMC_CAN_FIFO_CONFIG_t can_fifo)
 
void XMC_CAN_RXFIFO_ConfigMOSlaveObject (const XMC_CAN_MO_t *const can_mo)
 
void XMC_CAN_TXFIFO_ConfigMOBaseObject (const XMC_CAN_MO_t *const can_mo, const XMC_CAN_FIFO_CONFIG_t can_fifo)
 
void XMC_CAN_TXFIFO_ConfigMOSlaveObject (const XMC_CAN_MO_t *const can_mo, const XMC_CAN_FIFO_CONFIG_t can_fifo)
 
XMC_CAN_STATUS_t XMC_CAN_TXFIFO_Transmit (const XMC_CAN_MO_t *const can_mo)
 

Detailed Description

Date
2016-06-07
Generated on Mon Aug 7 2017 11:33:56 for XMC Peripheral Library for XMC4000 Family by   doxygen 1.8.11