![]() |
snickerdoodle Platform Controller
firmware for STM32F0 platform controller
|
Data Structures | |
| struct | sd_i2c_dev |
| I2C device structure. More... | |
Enumerations | |
| enum | sd_i2c_err { SD_I2C_SUCCESS = 0x4A0D, SD_I2C_NULL_ERROR, SD_I2C_LOCKED, SD_I2C_TIMEOUT, SD_I2C_ERROR } |
| I2C error enumeration. More... | |
| enum | sd_i2c_state { SD_I2C_INITIALIZED = 0x0E60, SD_I2C_READY, SD_I2C_BUSY } |
| I2C state enumeration. More... | |
| enum sd_i2c_err |
#include <Inc/sd_i2c.h>
I2C error enumeration.
| Enumerator | |
|---|---|
| SD_I2C_SUCCESS | Successful execution |
| SD_I2C_NULL_ERROR | NULL pointer error |
| SD_I2C_LOCKED | The buffer is being used |
| SD_I2C_TIMEOUT | The operation timed out |
| SD_I2C_ERROR | General execution error |
| enum sd_i2c_state |
#include <Inc/sd_i2c.h>
I2C state enumeration.
| Enumerator | |
|---|---|
| SD_I2C_INITIALIZED | I2C initialized |
| SD_I2C_READY | I2C ready |
| SD_I2C_BUSY | I2C in use |