CMSIS-Driver Validation  
Driver Validation

Functions

void CAN_GetCapabilities (void)
 Function: CAN_GetCapabilities. More...
 
void CAN_Initialization (void)
 Function: CAN_Initialization. More...
 
void CAN_CheckInvalidInit (void)
 Function: CAN_CheckInvalidInit. More...
 
void CAN_PowerControl (void)
 Function: CAN_PowerControl. More...
 
void CAN_Loopback_CheckBitrate (void)
 Function: CAN_Loopback_CheckBitrate. More...
 
void CAN_Loopback_CheckBitrateFD (void)
 Function: CAN_Loopback_CheckBitrateFD. More...
 
void CAN_Loopback_Transfer (void)
 Function: CAN_Loopback_Transfer. More...
 
void CAN_Loopback_TransferFD (void)
 Function: CAN_Loopback_TransferFD. More...
 

Description

Function Documentation

◆ CAN_GetCapabilities()

void CAN_GetCapabilities ( void  )

The test function CAN_GetCapabilities verifies the function GetCapabilities.

◆ CAN_Initialization()

void CAN_Initialization ( void  )

The test function CAN_Initialization verifies the CAN functions with the sequence:

  • Initialize without callback
  • Uninitialize
  • Initialize with callback
  • Uninitialize

◆ CAN_CheckInvalidInit()

void CAN_CheckInvalidInit ( void  )

The test function CAN_CheckInvalidInit verifies the driver behaviour when receiving an invalid initialization sequence:

  • Uninitialize
  • PowerControl with Power off
  • PowerControl with Power on
  • Set Mode
  • PowerControl with Power off
  • Uninitialize

◆ CAN_PowerControl()

void CAN_PowerControl ( void  )

The test function CAN_PowerControl verifies the PowerControl function with the sequence:

  • Initialize
  • Power on
  • Power low
  • Power off
  • Uninitialize

◆ CAN_Loopback_CheckBitrate()

void CAN_Loopback_CheckBitrate ( void  )

The test function CAN_Loopback_CheckBitrate verifies different bitrates with the sequence:

  • Initialize
  • Power on
  • Change bitrate
  • Transfer and measure transfer time
  • Check received data against sent data
  • Power off
  • Uninitialize

◆ CAN_Loopback_CheckBitrateFD()

void CAN_Loopback_CheckBitrateFD ( void  )

The test function CAN_Loopback_CheckBitrateFD verifies different bitrates with the sequence:

  • Initialize
  • Power on
  • Change bitrate
  • Transfer and measure transfer time
  • Check received data against sent data
  • Power off
  • Uninitialize

◆ CAN_Loopback_Transfer()

void CAN_Loopback_Transfer ( void  )

The test function CAN_Loopback_Transfer verifies the data transfers with the sequence:

  • Initialize
  • Power on
  • Set filter with standard ID
  • Transfer and check received data against sent data
  • Check filter with standard ID and remove it
  • Set filter with extended ID
  • Transfer and check received data against sent data
  • Check filter with extended ID and remove it
  • Power off
  • Uninitialize

◆ CAN_Loopback_TransferFD()

void CAN_Loopback_TransferFD ( void  )

The test function CAN_Loopback_TransferFD verifies the data transfers with the sequence:

  • Initialize
  • Power on
  • Set filter with standard ID
  • Transfer and check received data against sent data
  • Check filter with standard ID and remove it
  • Set filter with extended ID
  • Transfer and check received data against sent data
  • Check filter with extended ID and remove it
  • Power off
  • Uninitialize