Skip to content

Struct hal::lpc40::spi::bus_info

ClassList > hal > lpc40 > spi > bus_info

Information used to configure the spi bus.

  • #include <spi.hpp>

Public Attributes

Type Name
pin clock
spi data pin
std::uint8_t clock_function
clock function code
pin data_in
spi clock pin
std::uint8_t data_in_function
scl pin function code
pin data_out
spi clock pin
std::uint8_t data_out_function
scl pin function code
peripheral peripheral_id
peripheral id used to power on the spi peripheral at creation

Public Attributes Documentation

variable clock

pin hal::lpc40::spi::bus_info::clock;

variable clock_function

std::uint8_t hal::lpc40::spi::bus_info::clock_function;

variable data_in

pin hal::lpc40::spi::bus_info::data_in;

variable data_in_function

std::uint8_t hal::lpc40::spi::bus_info::data_in_function;

variable data_out

pin hal::lpc40::spi::bus_info::data_out;

variable data_out_function

std::uint8_t hal::lpc40::spi::bus_info::data_out_function;

variable peripheral_id

peripheral hal::lpc40::spi::bus_info::peripheral_id;

The documentation for this class was generated from the following file libraries/include/libhal-lpc40/spi.hpp