![]() |
SyterKit 0.4.0.x
SyterKit is a bare-metal framework
|
Structure representing an I2C device configuration. More...
#include <sys-i2c.h>

Public Attributes | |
| uint32_t | base |
| Base address of the I2C hardware registers. | |
| uint8_t | id |
| ID of the I2C device. | |
| uint32_t | speed |
| Desired I2C speed (in Hz). | |
| sunxi_i2c_gpio_t | gpio |
| GPIO configuration for the I2C lines. | |
| sunxi_clk_t | i2c_clk |
| Clock configuration for the I2C device. | |
| bool | status |
| Operational status of the I2C device. | |
Structure representing an I2C device configuration.
This structure contains the configuration details for an I2C device, including its base address, ID, speed, GPIO settings, clock settings, and operational status.
| uint32_t sunxi_i2c_t::base |
Base address of the I2C hardware registers.
| sunxi_i2c_gpio_t sunxi_i2c_t::gpio |
GPIO configuration for the I2C lines.
| sunxi_clk_t sunxi_i2c_t::i2c_clk |
Clock configuration for the I2C device.
| uint8_t sunxi_i2c_t::id |
ID of the I2C device.
| uint32_t sunxi_i2c_t::speed |
Desired I2C speed (in Hz).
| bool sunxi_i2c_t::status |
Operational status of the I2C device.