STM32F0 Standard Peripheral bibliotheek
1.0
ST Microelectronics standard peripheral bibliotheek documentatie voor de STM32F0 familie
|
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. More... | |
I2C registers management functions.
=============================================================================== ##### I2C registers management functions ##### =============================================================================== [..] This section provides a functions that allow user the management of I2C registers.
uint32_t I2C_ReadRegister | ( | I2C_TypeDef * | I2Cx, |
uint8_t | I2C_Register | ||
) |
Reads the specified I2C register and returns its value.
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:
|
The | value of the read register. |