
Functions | |
| static void | I2C4_MspDeInit (I2C_HandleTypeDef *phi2c) | 
| DeInitializes I2C MSP.  More... | |
| static void | I2C4_MspInit (I2C_HandleTypeDef *phi2c) | 
| Initializes I2C MSP.  More... | |
| static int32_t | I2C4_ReadReg (uint16_t DevAddr, uint16_t Reg, uint16_t MemAddSize, uint8_t *pData, uint16_t Length) | 
| Read a register of the device through BUS.  More... | |
| static int32_t | I2C4_WriteReg (uint16_t DevAddr, uint16_t Reg, uint16_t MemAddSize, uint8_t *pData, uint16_t Length) | 
| Write a value in a register of the device through BUS.  More... | |
| static void | I2C_Compute_PRESC_SCLDEL_SDADEL (uint32_t clock_src_freq, uint32_t I2C_speed) | 
| Compute PRESC, SCLDEL and SDADEL.  More... | |
| static uint32_t | I2C_Compute_SCLL_SCLH (uint32_t clock_src_freq, uint32_t I2C_speed) | 
| Calculate SCLL and SCLH and find best configuration.  More... | |
| static uint32_t | I2C_GetTiming (uint32_t clock_src_freq, uint32_t i2c_freq) | 
| Compute I2C timing according current I2C clock source and required I2C clock.  More... | |
      
  | 
  static | 
DeInitializes I2C MSP.
| phi2c | I2C handler | 
| None | 
Definition at line 814 of file stm32h747i_discovery_bus.c.
      
  | 
  static | 
Initializes I2C MSP.
| phi2c | I2C handler | 
| None | 
Definition at line 769 of file stm32h747i_discovery_bus.c.
      
  | 
  static | 
Read a register of the device through BUS.
| DevAddr | Device address on BUS | 
| MemAddSize | Size of internal memory address | 
| Reg | The target register address to read | 
| pData | The target register value to be read | 
| Length | data length in bytes | 
| BSP | status | 
Definition at line 859 of file stm32h747i_discovery_bus.c.
      
  | 
  static | 
Write a value in a register of the device through BUS.
| DevAddr | Device address on Bus. | 
| MemAddSize | Size of internal memory address | 
| Reg | The target register address to write | 
| pData | The target register value to be written | 
| Length | data length in bytes | 
| BSP | status | 
Definition at line 840 of file stm32h747i_discovery_bus.c.
      
  | 
  static | 
Compute PRESC, SCLDEL and SDADEL.
| clock_src_freq | I2C source clock in HZ. | 
| I2C_speed | I2C frequency (index). | 
| None. | 
Definition at line 610 of file stm32h747i_discovery_bus.c.
      
  | 
  static | 
Calculate SCLL and SCLH and find best configuration.
| clock_src_freq | I2C source clock in HZ. | 
| I2C_speed | I2C frequency (index). | 
| config | index (0 to I2C_VALID_TIMING_NBR], 0xFFFFFFFF for no valid config. | 
Definition at line 691 of file stm32h747i_discovery_bus.c.
      
  | 
  static | 
Compute I2C timing according current I2C clock source and required I2C clock.
| clock_src_freq | I2C clock source in Hz. | 
| i2c_freq | Required I2C clock in Hz. | 
| I2C | timing or 0 in case of error. | 
Definition at line 572 of file stm32h747i_discovery_bus.c.