CMSIS-Driver Validation  
Driver Validation

Functions

void I2C_GetCapabilities (void)
 Function: I2C_GetCapabilities. More...
 
void I2C_Initialization (void)
 Function: I2C_Initialization. More...
 
void I2C_CheckInvalidInit (void)
 Function: I2C_CheckInvalidInit. More...
 
void I2C_PowerControl (void)
 Function: I2C_PowerControl. More...
 
void I2C_SetBusSpeed (void)
 Function: I2C_SetBusSpeed. More...
 
void I2C_SetOwnAddress (void)
 Function: I2C_SetOwnAddress. More...
 
void I2C_BusClear (void)
 Function: I2C_BusClear. More...
 
void I2C_AbortTransfer (void)
 Function: I2C_AbortTransfer. More...
 

Description

Function Documentation

◆ I2C_GetCapabilities()

void I2C_GetCapabilities ( void  )

The test function I2C_GetCapabilities verifies the function GetCapabilities.

◆ I2C_Initialization()

void I2C_Initialization ( void  )

The test function I2C_Initialization verifies the I2C functions with the sequence:

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

◆ I2C_CheckInvalidInit()

void I2C_CheckInvalidInit ( void  )

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

  • Uninitialize
  • PowerControl with Power off
  • PowerControl with Power on
  • Control with bus speed fast
  • PowerControl with Power off
  • Uninitialize

◆ I2C_PowerControl()

void I2C_PowerControl ( void  )

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

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

◆ I2C_SetBusSpeed()

void I2C_SetBusSpeed ( void  )

The test function I2C_SetBusSpeed verifies the Control function with the sequence:

  • Initialize
  • Power on
  • Set bus speed standard
  • Set bus speed fast
  • Set bus speed fast plus
  • Set bus speed high
  • Power off
  • Uninitialize

◆ I2C_SetOwnAddress()

void I2C_SetOwnAddress ( void  )

The test function I2C_SetOwnAddress verifies the Control function with the sequence:

  • Initialize
  • Power on
  • Set slave own address 0x0000
  • Set slave own address 0x0001
  • Set slave own address 0x00FF
  • Set slave own address 0x03FF
  • Power off
  • Uninitialize

◆ I2C_BusClear()

void I2C_BusClear ( void  )

The test function I2C_BusClear verifies the Control function with the sequence:

  • Initialize
  • Power on
  • Clear Bus
  • Power off
  • Uninitialize

◆ I2C_AbortTransfer()

void I2C_AbortTransfer ( void  )

The test function I2C_AbortTransfer verifies the Control function with the sequence:

  • Initialize
  • Power on
  • Abort transfer
  • Power off
  • Uninitialize