class::hal::SpiAttributes

class hal::SpiAttributes
  : public hal::PinAssignmentPeriphAttributes< spi_attr_t, spi_pin_assignment_t >

Summary

[SpiAttributes](#classhal_1_1_spi_attributes_1af219544711548086ca0af92ad8ad15c0)()

mcu_pin_t cs() const

mcu_pin_t miso() const

mcu_pin_t mosi() const

mcu_pin_t sck() const

SpiAttributes & set_cs(

const mcu_pin_t & pin
)

SpiAttributes & set_flags(

u32 value
)

SpiAttributes & set_frequency(

u32 value
)

SpiAttributes & set_miso(

const mcu_pin_t & pin
)

SpiAttributes & set_mosi(

const mcu_pin_t & pin
)

SpiAttributes & set_sck(

const mcu_pin_t & pin
)

SpiAttributes & set_width(

u8 value
)

u8 width() const

Members

SpiAttributes()

mcu_pin_t cs() const

mcu_pin_t miso() const

mcu_pin_t mosi() const

mcu_pin_t sck() const

SpiAttributes & set_cs(

const mcu_pin_t & pin
)


SpiAttributes & set_flags(

u32 value
)


SpiAttributes & set_frequency(

u32 value
)


SpiAttributes & set_miso(

const mcu_pin_t & pin
)


SpiAttributes & set_mosi(

const mcu_pin_t & pin
)


SpiAttributes & set_sck(

const mcu_pin_t & pin
)


SpiAttributes & set_width(

u8 value
)


u8 width() const

X

Thanks for Coming!

Subscribe to news and updates