SyterKit 0.4.0.x
SyterKit is a bare-metal framework
Loading...
Searching...
No Matches
Public Attributes | List of all members
sunxi_i2c_t Struct Reference

Structure representing an I2C device configuration. More...

#include <sys-i2c.h>

Collaboration diagram for sunxi_i2c_t:
Collaboration graph
[legend]

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.
 

Detailed Description

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.

Member Data Documentation

◆ base

uint32_t sunxi_i2c_t::base

Base address of the I2C hardware registers.

◆ gpio

sunxi_i2c_gpio_t sunxi_i2c_t::gpio

GPIO configuration for the I2C lines.

◆ i2c_clk

sunxi_clk_t sunxi_i2c_t::i2c_clk

Clock configuration for the I2C device.

◆ id

uint8_t sunxi_i2c_t::id

ID of the I2C device.

◆ speed

uint32_t sunxi_i2c_t::speed

Desired I2C speed (in Hz).

◆ status

bool sunxi_i2c_t::status

Operational status of the I2C device.


The documentation for this struct was generated from the following file: