|
s32 | XCanPs_CfgInitialize (XCanPs *InstancePtr, XCanPs_Config *ConfigPtr, UINTPTR EffectiveAddr) |
| This function initializes a XCanPs instance/driver. More...
|
|
void | XCanPs_Reset (XCanPs *InstancePtr) |
| This function resets the CAN device. More...
|
|
u8 | XCanPs_GetMode (XCanPs *InstancePtr) |
| This routine returns the current operation mode of the CAN device. More...
|
|
void | XCanPs_EnterMode (XCanPs *InstancePtr, u8 OperationMode) |
| This function allows the CAN device to enter one of the following operation modes: More...
|
|
u32 | XCanPs_GetStatus (XCanPs *InstancePtr) |
| This function returns Status value from Status Register (SR). More...
|
|
void | XCanPs_GetBusErrorCounter (XCanPs *InstancePtr, u8 *RxErrorCount, u8 *TxErrorCount) |
| This function reads Receive and Transmit error counters. More...
|
|
u32 | XCanPs_GetBusErrorStatus (XCanPs *InstancePtr) |
| This function reads Error Status value from Error Status Register (ESR). More...
|
|
void | XCanPs_ClearBusErrorStatus (XCanPs *InstancePtr, u32 Mask) |
| This function clears Error Status bit(s) previously set in Error Status Register (ESR). More...
|
|
s32 | XCanPs_Send (XCanPs *InstancePtr, u32 *FramePtr) |
| This function sends a CAN Frame. More...
|
|
s32 | XCanPs_Recv (XCanPs *InstancePtr, u32 *FramePtr) |
| This function receives a CAN Frame. More...
|
|
s32 | XCanPs_SendHighPriority (XCanPs *InstancePtr, u32 *FramePtr) |
| This routine sends a CAN High Priority frame. More...
|
|
void | XCanPs_AcceptFilterEnable (XCanPs *InstancePtr, u32 FilterIndexes) |
| This routine enables individual acceptance filters. More...
|
|
void | XCanPs_AcceptFilterDisable (XCanPs *InstancePtr, u32 FilterIndexes) |
| This routine disables individual acceptance filters. More...
|
|
u32 | XCanPs_AcceptFilterGetEnabled (XCanPs *InstancePtr) |
| This function returns enabled acceptance filters. More...
|
|
s32 | XCanPs_AcceptFilterSet (XCanPs *InstancePtr, u32 FilterIndex, u32 MaskValue, u32 IdValue) |
| This function sets values to the Acceptance Filter Mask Register (AFMR) and Acceptance Filter ID Register (AFIR) for the specified Acceptance Filter. More...
|
|
void | XCanPs_AcceptFilterGet (XCanPs *InstancePtr, u32 FilterIndex, u32 *MaskValue, u32 *IdValue) |
| This function reads the values of the Acceptance Filter Mask and ID Register for the specified Acceptance Filter. More...
|
|
s32 | XCanPs_SetBaudRatePrescaler (XCanPs *InstancePtr, u8 Prescaler) |
| This routine sets Baud Rate Prescaler value. More...
|
|
u8 | XCanPs_GetBaudRatePrescaler (XCanPs *InstancePtr) |
| This routine gets Baud Rate Prescaler value. More...
|
|
s32 | XCanPs_SetBitTiming (XCanPs *InstancePtr, u8 SyncJumpWidth, u8 TimeSegment2, u8 TimeSegment1) |
| This routine sets Bit time. More...
|
|
void | XCanPs_GetBitTiming (XCanPs *InstancePtr, u8 *SyncJumpWidth, u8 *TimeSegment2, u8 *TimeSegment1) |
| This routine gets Bit time. More...
|
|
s32 | XCanPs_SetRxIntrWatermark (XCanPs *InstancePtr, u8 Threshold) |
| This routine sets the Rx Full threshold in the Watermark Interrupt Register. More...
|
|
u8 | XCanPs_GetRxIntrWatermark (XCanPs *InstancePtr) |
| This routine gets the Rx Full threshold from the Watermark Interrupt Register. More...
|
|
s32 | XCanPs_SetTxIntrWatermark (XCanPs *InstancePtr, u8 Threshold) |
| This routine sets the Tx Empty Threshold in the Watermark Interrupt Register. More...
|
|
u8 | XCanPs_GetTxIntrWatermark (XCanPs *InstancePtr) |
| This routine gets the Tx Empty threshold from Watermark Interrupt Register. More...
|
|
s32 | XCanPs_SelfTest (XCanPs *InstancePtr) |
| This function runs a self-test on the CAN driver/device. More...
|
|
void | XCanPs_IntrEnable (XCanPs *InstancePtr, u32 Mask) |
| This routine enables interrupt(s). More...
|
|
void | XCanPs_IntrDisable (XCanPs *InstancePtr, u32 Mask) |
| This routine disables interrupt(s). More...
|
|
u32 | XCanPs_IntrGetEnabled (XCanPs *InstancePtr) |
| This routine returns enabled interrupt(s). More...
|
|
u32 | XCanPs_IntrGetStatus (XCanPs *InstancePtr) |
| This routine returns interrupt status read from Interrupt Status Register. More...
|
|
void | XCanPs_IntrClear (XCanPs *InstancePtr, u32 Mask) |
| This function clears interrupt(s). More...
|
|
void | XCanPs_IntrHandler (void *InstancePtr) |
| This routine is the interrupt handler for the CAN driver. More...
|
|
s32 | XCanPs_SetHandler (XCanPs *InstancePtr, u32 HandlerType, void *CallBackFunc, void *CallBackRef) |
| This routine installs an asynchronous callback function for the given HandlerType: More...
|
|
XCanPs_Config * | XCanPs_LookupConfig (u16 DeviceId) |
| This function looks for the device configuration based on the unique device ID. More...
|
|