![]() |
Mini51 BSP
V3.02.002
The Board Support Package for Mini51 Series
|
This is the header file of i2c_software_gpio.c. More...
#include "Mini51Series.h"Go to the source code of this file.
Functions | |
| int32_t | I2C_SW_Open (uint32_t u32BusClock) |
| Prepare to start software I2C. More... | |
| int32_t | I2C_SW_Send (uint8_t u8Address, uint8_t *p8Data, uint32_t u32ByteSize) |
| Send data. More... | |
| int32_t | I2C_SW_Get (uint8_t u8Address, uint8_t *p8Data, uint32_t u32ByteSize) |
| Read data. More... | |
This is the header file of i2c_software_gpio.c.
Definition in file i2c_software_gpio.h.
| int32_t I2C_SW_Get | ( | uint8_t | u8Address, |
| uint8_t * | p8Data, | ||
| uint32_t | u32ByteSize | ||
| ) |
Read data.
| u8Address | I2C slave address |
| p8Data | data address |
| u32ByteSize | data length |
Definition at line 145 of file i2c_software_gpio.c.
| int32_t I2C_SW_Open | ( | uint32_t | u32BusClock | ) |
Prepare to start software I2C.
| u32BusClock | I2C Bus Clock (Hz) |
| 0 | Success |
Definition at line 27 of file i2c_software_gpio.c.
| int32_t I2C_SW_Send | ( | uint8_t | u8Address, |
| uint8_t * | p8Data, | ||
| uint32_t | u32ByteSize | ||
| ) |
Send data.
| u8Address | I2C slave address |
| p8Data | data address |
| u32ByteSize | data length |
Definition at line 76 of file i2c_software_gpio.c.
1.8.15