PHiLIP
spi_status_t Struct Reference

SPI status. More...

#include <PHiLIP_typedef.h>

Data Fields

uint8_t bsy: 1
 
uint8_t ovr: 1
 
uint8_t modf: 1
 
uint8_t udr: 1
 
uint8_t clk: 1
 
uint8_t start_clk: 1
 
uint8_t end_clk: 1
 
uint8_t index_err: 1
 

Detailed Description

SPI status.

Field Documentation

uint8_t spi_status_t::bsy

Busy flag

uint8_t spi_status_t::clk

0:sclk line low - 1:sclk line high

uint8_t spi_status_t::end_clk

SCLK reading at end of frame - 0:sclk line low - 1:sclk line high

uint8_t spi_status_t::index_err

Register index error

uint8_t spi_status_t::modf

Mode fault

uint8_t spi_status_t::ovr

Overrun flag

uint8_t spi_status_t::start_clk

SCLK reading at start of frame - 0:sclk line low - 1:sclk line high

uint8_t spi_status_t::udr

Underrun flag


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