The friendly Operating System for the Internet of Things
cc2538_ssi.h File Reference

CC2538 SSI interface. More...

Detailed Description

#include "cc2538.h"
+ Include dependency graph for cc2538_ssi.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  cc2538_ssi_t
 SSI component registers. More...
 

Macros

#define SSI0   ( (cc2538_ssi_t*)0x40008000 )
 SSI0 Instance.
 
#define SSI1   ( (cc2538_ssi_t*)0x40009000 )
 SSI1 Instance.
 
#define SSI_CR0_DSS(x)   ((x - 1) << 0)
 Define CR0 register bitfields.
 
#define SSI_CR0_SPO   (1 << 6)
 
#define SSI_CR0_SPH   (1 << 7)
 
#define SSI_CR1_LBM   (1 << 0)
 Define CR1 register bitfields.
 
#define SSI_CR1_SSE   (1 << 1)
 
#define SSI_CR1_MS   (1 << 2)
 
#define SSI_CR1_SOD   (1 << 3)
 
#define SSI_SR_TFE   (1 << 0)
 Define SR register bitfields.
 
#define SSI_SR_TNF   (1 << 1)
 
#define SSI_SR_RNE   (1 << 2)
 
#define SSI_SR_RFF   (1 << 3)
 
#define SSI_SR_BSY   (1 << 4)
 
#define SSI_SS_PIOSC   (1 << 0)
 Define CC register bitfields.
 
#define SSI_SS_DSEN   (1 << 2)
 
#define SSI_SS_SYSDIV   (0)
 
#define SSI_SS_IODIV   (SSI_SS_PIOSC)