Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Space_Invaders_Demo neopixels gpio_test_stm32f3_discovery gpio_test_systimer ... more
I2C registers management functions
[I2C_Private_Functions]
  I2C registers management functions. More...
| Functions | |
| uint32_t | I2C_ReadRegister (I2C_TypeDef *I2Cx, uint8_t I2C_Register) | 
| Reads the specified I2C register and returns its value. | |
Detailed Description
I2C registers management functions.
 ===============================================================================
                ##### I2C registers management functions #####
 ===============================================================================  
    [..] This section provides a functions that allow user the management of 
         I2C registers.
         
Function Documentation
| uint32_t I2C_ReadRegister | ( | I2C_TypeDef * | I2Cx, | 
| uint8_t | I2C_Register | ||
| ) | 
Reads the specified I2C register and returns its value.
- Parameters:
- 
  I2Cx,: where x can be 1 or 2 to select the I2C peripheral. I2C_Register,: specifies the register to read. This parameter can be one of the following values: - I2C_Register_CR1: CR1 register.
- I2C_Register_CR2: CR2 register.
- I2C_Register_OAR1: OAR1 register.
- I2C_Register_OAR2: OAR2 register.
- I2C_Register_TIMINGR: TIMING register.
- I2C_Register_TIMEOUTR: TIMEOUTR register.
- I2C_Register_ISR: ISR register.
- I2C_Register_ICR: ICR register.
- I2C_Register_PECR: PECR register.
- I2C_Register_RXDR: RXDR register.
- I2C_Register_TXDR: TXDR register.
 
- Return values:
- 
  The value of the read register. 
Definition at line 1201 of file stm32f30x_i2c.c.
Generated on Tue Jul 12 2022 17:34:45 by
 1.7.2
 1.7.2