|
Sound Byte Libs 29c5ff3
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
|
I2C peripheral handle. More...
#include <handle.hpp>
Public Attributes | |
| uint32_t | peripheral |
| I2C peripheral number (e.g., 1 for I2C1) | |
| uint32_t | scl_port |
| SCL GPIO port number. | |
| uint32_t | scl_pin |
| SCL GPIO pin number. | |
| uint32_t | scl_af |
| SCL alternate function (STM32) | |
| uint32_t | sda_port |
| SDA GPIO port number. | |
| uint32_t | sda_pin |
| SDA GPIO pin number. | |
| uint32_t | sda_af |
| SDA alternate function (STM32) | |
| uint32_t | speed_hz |
| Bus speed in Hz (100000, 400000, 1000000) | |
I2C peripheral handle.
Represents an I2C configuration as resolved from hardware manifests. Includes peripheral number, pin mappings, and bus speed.
Examples:
Definition at line 28 of file handle.hpp.
| uint32_t sbl::I2cHandle::peripheral |
I2C peripheral number (e.g., 1 for I2C1)
Definition at line 29 of file handle.hpp.
| uint32_t sbl::I2cHandle::scl_af |
SCL alternate function (STM32)
Definition at line 32 of file handle.hpp.
| uint32_t sbl::I2cHandle::scl_pin |
SCL GPIO pin number.
Definition at line 31 of file handle.hpp.
| uint32_t sbl::I2cHandle::scl_port |
SCL GPIO port number.
Definition at line 30 of file handle.hpp.
| uint32_t sbl::I2cHandle::sda_af |
SDA alternate function (STM32)
Definition at line 35 of file handle.hpp.
| uint32_t sbl::I2cHandle::sda_pin |
SDA GPIO pin number.
Definition at line 34 of file handle.hpp.
| uint32_t sbl::I2cHandle::sda_port |
SDA GPIO port number.
Definition at line 33 of file handle.hpp.
| uint32_t sbl::I2cHandle::speed_hz |
Bus speed in Hz (100000, 400000, 1000000)
Definition at line 36 of file handle.hpp.