|
STM8L15x Standard Peripherals Drivers
|
Data transfers functions. More...
Functions | |
| uint8_t | I2C_ReceiveData (I2C_TypeDef *I2Cx) |
| Returns the most recent received data. | |
| void | I2C_SendData (I2C_TypeDef *I2Cx, uint8_t Data) |
| Send a byte by writing in the DR register. | |
Detailed Description
Data transfers functions.
===============================================================================
Data transfers functions
===============================================================================
Function Documentation
| uint8_t I2C_ReceiveData | ( | I2C_TypeDef * | I2Cx | ) |
Returns the most recent received data.
Definition at line 670 of file stm8l15x_i2c.c.
References I2C_struct::DR.
| void I2C_SendData | ( | I2C_TypeDef * | I2Cx, |
| uint8_t | Data | ||
| ) |
Send a byte by writing in the DR register.
Definition at line 658 of file stm8l15x_i2c.c.
References I2C_struct::DR.