embeddedlibrary
reusable software modules for embedded systems

spi settings structure More...

#include <hal_spi.h>

Data Fields

uint8_t char7bit: 1
 char7bit
 
uint8_t msb_first: 1
 msb_first
 
uint8_t mode16: 1
 1 = 16bit mode (or 32bit mode), 0 = 8bit mode or 32bit mode (see mode32)
 
uint8_t mode32: 1
 1 = 32bit mode, 0 = 8bit mode or 16bit mode (see mode 16)
 
uint8_t sample_phase: 1
 sample phase: 1 = sample at end of data output, 0 = sample in middle
 

Detailed Description

spi settings structure

Warning
structure had to be above system.h include in order for compiler to find it ???

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