
Functions | |
| static void | I2C1_Error (uint8_t Addr) | 
| Manages error callback by re-initializing I2C.  More... | |
| static HAL_StatusTypeDef | I2C1_IsDeviceReady (uint16_t DevAddress, uint32_t Trials) | 
| Checks if target device is ready for communication.  More... | |
| static uint8_t | I2C1_Read (uint8_t Addr, uint8_t Reg) | 
| Reads a single data.  More... | |
| static HAL_StatusTypeDef | I2C1_ReadMultiple (uint8_t Addr, uint16_t Reg, uint16_t MemAddress, uint8_t *Buffer, uint16_t Length) | 
| Reads multiple data.  More... | |
| static void | I2C1_Write (uint8_t Addr, uint8_t Reg, uint8_t Value) | 
| Writes a single data.  More... | |
| static HAL_StatusTypeDef | I2C1_WriteMultiple (uint8_t Addr, uint16_t Reg, uint16_t MemAddress, uint8_t *Buffer, uint16_t Length) | 
| Writes a value in a register of the device through BUS in using DMA mode.  More... | |
      
  | 
  static | 
Manages error callback by re-initializing I2C.
| Addr | I2C Address | 
Definition at line 709 of file stm32469i_discovery.c.
      
  | 
  static | 
Checks if target device is ready for communication.
| DevAddress | Target device address | 
| Trials | Number of trials | 
| HAL | status | 
Definition at line 700 of file stm32469i_discovery.c.
      
  | 
  static | 
Reads a single data.
| Addr | I2C address | 
| Reg | Register address | 
| Read | data | 
Definition at line 553 of file stm32469i_discovery.c.
      
  | 
  static | 
Reads multiple data.
| Addr | I2C address | 
| Reg | Reg address | 
| MemAddress | memory address | 
| Buffer | Pointer to data buffer | 
| Length | Length of the data | 
| HAL | status | 
Definition at line 584 of file stm32469i_discovery.c.
      
  | 
  static | 
Writes a single data.
| Addr | I2C address | 
| Reg | Register address | 
| Value | Data to be written | 
Definition at line 527 of file stm32469i_discovery.c.
      
  | 
  static | 
Writes a value in a register of the device through BUS in using DMA mode.
| Addr | Device address on BUS Bus. | 
| Reg | The target register address to write | 
| MemAddress | memory address | 
| Buffer | The target register value to be written | 
| Length | buffer size to be written | 
| HAL | status | 
Definition at line 643 of file stm32469i_discovery.c.