Herzog Library 00.00.01  rel_libdev.herzog.00.00.01.10606
Data Fields
SPI_SFRS_t Struct Reference

A structure to represent Special Function Registers for SPI. More...

#include <spi_sfrs.h>

Data Fields

union {
   struct {
      uint8_t   SCKSTD:2
 
      uint8_t   CPHA:1
 
      uint8_t   CPOL:1
 
      uint8_t   MSTR:1
 
      uint8_t   Reserved:2
 
      uint8_t   SINTE:1
 
   } 
 
   uint8_t   SPCR
 
SPCR
 
union {
   struct {
      uint8_t   SRXFE:1
 
      uint8_t   SRXFF:1
 
      uint8_t   STXFE:1
 
      uint8_t   STXFF:1
 
      uint8_t   Reserved:2
 
      uint8_t   SWCOL:1
 
      uint8_t   SINTF:1
 
   } 
 
   uint8_t   SPSR
 
SPSR
 
uint8_t SPDR
 
union {
   struct {
      uint8_t   SCKEXT:2
 
      uint8_t   SPE:1
 
      uint8_t   Reserved:3
 
      uint8_t   SICNT:2
 
   } 
 
   uint8_t   SPER
 
SPER
 

Detailed Description

A structure to represent Special Function Registers for SPI.

Field Documentation

uint8_t CPHA
uint8_t CPOL
uint8_t MSTR
uint8_t Reserved
uint8_t SCKEXT
uint8_t SCKSTD
uint8_t SICNT
uint8_t SINTE
uint8_t SINTF
uint8_t SPCR
union { ... } SPCR
uint8_t SPDR
uint8_t SPE
uint8_t SPER
union { ... } SPER
uint8_t SPSR
union { ... } SPSR
uint8_t SRXFE
uint8_t SRXFF
uint8_t STXFE
uint8_t STXFF
uint8_t SWCOL

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