Defines | Functions | Variables
ssp.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define FIFOSIZE   8
#define SSPCR0_CPHA   1 << 7
#define SSPCR0_CPOL   1 << 6
#define SSPCR0_DSS   1 << 0
#define SSPCR0_FRF   1 << 4
#define SSPCR0_SCR   1 << 8
#define SSPCR1_LBM   1 << 0
#define SSPCR1_MS   1 << 2
#define SSPCR1_SOD   1 << 3
#define SSPCR1_SSE   1 << 1
#define SSPICR_RORIC   1 << 0
#define SSPICR_RTIC   1 << 1
#define SSPIMSC_RORIM   1 << 0
#define SSPIMSC_RTIM   1 << 1
#define SSPIMSC_RXIM   1 << 2
#define SSPIMSC_TXIM   1 << 3
#define SSPMIS_RORMIS   1 << 0
#define SSPMIS_RTMIS   1 << 1
#define SSPMIS_RXMIS   1 << 2
#define SSPMIS_TXMIS   1 << 3
#define SSPRIS_RORRIS   1 << 0
#define SSPRIS_RTRIS   1 << 1
#define SSPRIS_RXRIS   1 << 2
#define SSPRIS_TXRIS   1 << 3
#define SSPSR_BSY   1 << 4
#define SSPSR_RFF   1 << 3
#define SSPSR_RNE   1 << 2
#define SSPSR_TFE   1 << 0
#define SSPSR_TNF   1 << 1

Functions

int LL_write (unsigned char *, unsigned short, unsigned char)
void LL_write_init (void)
void SSPHandler (void) __irq

Variables

unsigned char IMU_CalcData_updated
volatile unsigned int SSP_trans_cnt

Define Documentation

#define FIFOSIZE   8

Definition at line 17 of file ssp.h.

#define SSPCR0_CPHA   1 << 7

Definition at line 30 of file ssp.h.

#define SSPCR0_CPOL   1 << 6

Definition at line 29 of file ssp.h.

#define SSPCR0_DSS   1 << 0

Definition at line 27 of file ssp.h.

#define SSPCR0_FRF   1 << 4

Definition at line 28 of file ssp.h.

#define SSPCR0_SCR   1 << 8

Definition at line 31 of file ssp.h.

#define SSPCR1_LBM   1 << 0

Definition at line 34 of file ssp.h.

#define SSPCR1_MS   1 << 2

Definition at line 36 of file ssp.h.

#define SSPCR1_SOD   1 << 3

Definition at line 37 of file ssp.h.

#define SSPCR1_SSE   1 << 1

Definition at line 35 of file ssp.h.

#define SSPICR_RORIC   1 << 0

Definition at line 58 of file ssp.h.

#define SSPICR_RTIC   1 << 1

Definition at line 59 of file ssp.h.

#define SSPIMSC_RORIM   1 << 0

Definition at line 40 of file ssp.h.

#define SSPIMSC_RTIM   1 << 1

Definition at line 41 of file ssp.h.

#define SSPIMSC_RXIM   1 << 2

Definition at line 42 of file ssp.h.

#define SSPIMSC_TXIM   1 << 3

Definition at line 43 of file ssp.h.

#define SSPMIS_RORMIS   1 << 0

Definition at line 52 of file ssp.h.

#define SSPMIS_RTMIS   1 << 1

Definition at line 53 of file ssp.h.

#define SSPMIS_RXMIS   1 << 2

Definition at line 54 of file ssp.h.

#define SSPMIS_TXMIS   1 << 3

Definition at line 55 of file ssp.h.

#define SSPRIS_RORRIS   1 << 0

Definition at line 46 of file ssp.h.

#define SSPRIS_RTRIS   1 << 1

Definition at line 47 of file ssp.h.

#define SSPRIS_RXRIS   1 << 2

Definition at line 48 of file ssp.h.

#define SSPRIS_TXRIS   1 << 3

Definition at line 49 of file ssp.h.

#define SSPSR_BSY   1 << 4

Definition at line 24 of file ssp.h.

#define SSPSR_RFF   1 << 3

Definition at line 23 of file ssp.h.

#define SSPSR_RNE   1 << 2

Definition at line 22 of file ssp.h.

#define SSPSR_TFE   1 << 0

Definition at line 20 of file ssp.h.

#define SSPSR_TNF   1 << 1

Definition at line 21 of file ssp.h.


Function Documentation

int LL_write ( unsigned char *  ,
unsigned  short,
unsigned  char 
)

Definition at line 126 of file ssp.c.

void LL_write_init ( void  )

Definition at line 119 of file ssp.c.

void SSPHandler ( void  )

Definition at line 54 of file ssp.c.


Variable Documentation

unsigned char IMU_CalcData_updated

Definition at line 65 of file ssp.h.

volatile unsigned int SSP_trans_cnt

Definition at line 14 of file ssp.h.



ccny_asctec_firmware_2
Author(s): Ivan Dryanovski, Roberto G. Valenti
autogenerated on Tue Jan 7 2014 11:04:17