canfd
Vitis Drivers API Documentation
xcanfd_config.c File Reference

Functions

int XCanFd_SetBaudRatePrescaler (XCanFd *InstancePtr, u8 Prescaler)
 This routine sets Baud Rate Prescaler value in Arbitration Phse. More...
 
u8 XCanFd_GetBaudRatePrescaler (XCanFd *InstancePtr)
 This routine gets Baud Rate Prescaler value. More...
 
int XCanFd_SetBitTiming (XCanFd *InstancePtr, u8 SyncJumpWidth, u8 TimeSegment2, u16 TimeSegment1)
 This routine sets Bit time. More...
 
void XCanFd_GetBitTiming (XCanFd *InstancePtr, u8 *SyncJumpWidth, u8 *TimeSegment2, u8 *TimeSegment1)
 This routine gets Bit time. More...
 
int XCanFd_SetFBaudRatePrescaler (XCanFd *InstancePtr, u8 Prescaler)
 This routine sets Baud Rate Prescaler value in Data Phase. More...
 
u8 XCanFd_GetFBaudRatePrescaler (XCanFd *InstancePtr)
 This routine gets Baud Rate Prescaler value in Data Phase. More...
 
int XCanFd_SetFBitTiming (XCanFd *InstancePtr, u8 SyncJumpWidth, u8 TimeSegment2, u8 TimeSegment1)
 This routine sets Bit time in Data Phase. More...
 
void XCanFd_GetFBitTiming (XCanFd *InstancePtr, u8 *SyncJumpWidth, u8 *TimeSegment2, u8 *TimeSegment1)
 This routine gets Bit time in Data Phase. More...
 
void XCanFd_SetBitRateSwitch_EnableNominal (XCanFd *InstancePtr)
 This routine sets the Bit Rate Switch with nominal bit rate. More...
 
void XCanFd_SetBitRateSwitch_DisableNominal (XCanFd *InstancePtr)
 This routine Disables the BRSD bit, so that Bit Rate Switch can be happen with Nominal or configured rate. More...
 
u32 XCanFd_SetRxIntrWatermark (XCanFd *InstancePtr, s8 Threshold)
 This routine sets the Rx Full threshold in the Watermark Interrupt Register. More...
 
u32 XCanFd_SetRxIntrWatermarkFifo1 (XCanFd *InstancePtr, s8 Threshold)
 This routine sets the Rx Full threshold in the Watermark Interrupt Register. More...
 
u32 XCanFd_SetTxEventIntrWatermark (XCanFd *InstancePtr, u8 Threshold)
 This routine sets the TX Events Full threshold in the Watermark Interrupt Register. More...
 
u32 XCanFd_SetRxFilterPartition (XCanFd *InstancePtr, u8 FilterPartition)
 This routine sets the Receive filter partition in the Watermark Interrupt Register. More...