![]() |
snickerdoodle Platform Controller
firmware for STM32F0 platform controller
|
SPI device structure. More...
#include <sd_spi.h>
Data Fields | |
SPI_HandleTypeDef * | spi |
struct sd_cbuf * | rx_buff |
enum sd_spi_rx_state | rx_state |
struct sd_spi_packet * | pkt |
enum sd_spi_state | state |
uint8_t | error |
SPI device structure.
uint8_t error |
Error flags from the peripheral
struct sd_spi_packet* pkt |
Receive packet
struct sd_cbuf* rx_buff |
Buffer for SPI receive
enum sd_spi_rx_state rx_state |
Receive state
SPI_HandleTypeDef* spi |
SPI Handle
enum sd_spi_state state |
State of the SPI