Struct hal::lpc40::i2c::bus_info
ClassList > hal > lpc40 > i2c > bus_info
#include <i2c.hpp>
Public Attributes
Type | Name |
---|---|
float | duty_cycle = = 0.5f Clock rate duty cycle. |
irq | irq_number IRQ number for this i2c port. |
peripheral | peripheral_id peripheral id used to power on the i2c peripheral at creation |
pin | scl i2c clock pin |
std::uint8_t | scl_function scl pin function code |
pin | sda i2c data pin |
std::uint8_t | sda_function sda pin function code |
Detailed Description
port holds all of the information for an i2c bus on the LPC40xx platform.
Public Attributes Documentation
variable duty_cycle
float hal::lpc40::i2c::bus_info::duty_cycle;
variable irq_number
irq hal::lpc40::i2c::bus_info::irq_number;
variable peripheral_id
peripheral hal::lpc40::i2c::bus_info::peripheral_id;
variable scl
pin hal::lpc40::i2c::bus_info::scl;
variable scl_function
std::uint8_t hal::lpc40::i2c::bus_info::scl_function;
variable sda
pin hal::lpc40::i2c::bus_info::sda;
variable sda_function
std::uint8_t hal::lpc40::i2c::bus_info::sda_function;
The documentation for this class was generated from the following file libraries/include/libhal-lpc40/i2c.hpp