CMSIS-Driver Validation  
Driver Validation
 All Files Functions Variables Macros Groups Pages

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

void CAN_GetCapabilities ( void  )

The test function CAN_GetCapabilities verifies the function GetCapabilities.

void CAN_Initialization ( void  )

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

  • Initialize without callback
  • Uninitialize
  • Initialize with callback
  • Uninitialize
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
void CAN_PowerControl ( void  )

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

  • Initialize
  • Power on
  • Power low
  • Power off
  • Uninitialize
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
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
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
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