snickerdoodle Platform Controller
firmware for STM32F0 platform controller
sd_spi_dev Struct Reference

SPI device structure. More...

#include <sd_spi.h>

Data Fields

SPI_HandleTypeDef * spi
 
struct sd_cbufrx_buff
 
enum sd_spi_rx_state rx_state
 
struct sd_spi_packetpkt
 
enum sd_spi_state state
 
uint8_t error
 

Detailed Description

SPI device structure.

Field Documentation

◆ error

uint8_t error

Error flags from the peripheral

◆ pkt

struct sd_spi_packet* pkt

Receive packet

◆ rx_buff

struct sd_cbuf* rx_buff

Buffer for SPI receive

◆ rx_state

enum sd_spi_rx_state rx_state

Receive state

◆ spi

SPI_HandleTypeDef* spi

SPI Handle

◆ state

enum sd_spi_state state

State of the SPI


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