STM32F4 Standard Peripheral bibliotheek  1.0
ST Microelectronics bibliotheek documentatie voor de STM32F4 Standard Peripheral Library
 All Data Structures Files Functions Variables Enumerations Enumerator Groups
Data transfers functions

Data transfers functions. More...

Functions

void I2C_SendData (I2C_TypeDef *I2Cx, uint8_t Data)
 Sends a data byte through the I2Cx peripheral. More...
 
uint8_t I2C_ReceiveData (I2C_TypeDef *I2Cx)
 Returns the most recent received data by the I2Cx peripheral. More...
 

Detailed Description

Data transfers functions.

 ===============================================================================
                        Data transfers functions
 ===============================================================================  

Function Documentation

uint8_t I2C_ReceiveData ( I2C_TypeDef *  I2Cx)

Returns the most recent received data by the I2Cx peripheral.

Parameters
I2Cx,:where x can be 1, 2 or 3 to select the I2C peripheral.
Return values
Thevalue of the received data.
void I2C_SendData ( I2C_TypeDef *  I2Cx,
uint8_t  Data 
)

Sends a data byte through the I2Cx peripheral.

Parameters
I2Cx,:where x can be 1, 2 or 3 to select the I2C peripheral.
Data,:Byte to be transmitted..
Return values
None