objc

Data Fields
hw_spi_t Struct Reference

SPI adapter. More...

#include <runtime-hw/hw.h>

Collaboration diagram for hw_spi_t:
Collaboration graph
[legend]

Data Fields

uint8_t adapter
 SPI adapter (0, 1, etc.)
 
hw_gpio_t sck
 SPI Clock pin.
 
hw_gpio_t tx
 SPI Transmit pin (Master Out Slave In)
 
hw_gpio_t rx
 SPI Receive pin (Master In Slave Out)
 
hw_gpio_t cs
 SPI Chip Select pin.
 
bool cs_active
 CS active state (false if active low)
 
uint32_t baudrate
 SPI baud rate in Hz.
 
uint8_t reserved [3]
 Reserved for user data.
 

Detailed Description

SPI adapter.

Definition at line 25 of file spi.h.


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