Paparazzi UAS
v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
ssp_hw.h
Go to the documentation of this file.
1
#ifndef SSP_HW_H
2
#define SSP_HW_H
3
4
#include "
LPC21xx.h
"
5
6
#define SSP_Enable() SetBit(SSPCR1, SSE);
7
#define SSP_Disable() ClearBit(SSPCR1, SSE);
8
#define SSP_EnableRxi() SetBit(SSPIMSC, RXIM)
9
#define SSP_DisableRxi() ClearBit(SSPIMSC, RXIM)
10
#define SSP_EnableTxi() SetBit(SSPIMSC, TXIM)
11
#define SSP_DisableTxi() ClearBit(SSPIMSC, TXIM)
12
#define SSP_EnableRti() SetBit(SSPIMSC, RTIM);
13
#define SSP_DisableRti() ClearBit(SSPIMSC, RTIM);
14
#define SSP_ClearRti() SetBit(SSPICR, RTIC);
15
16
#define SSP_Send(_a) {SSPDR = (_a);}
17
18
#endif
/* SSP_HW_H */
19
LPC21xx.h
sw
airborne
arch
lpc21
ssp_hw.h
Generated on Tue Jun 21 2016 14:01:10 for Paparazzi UAS by
1.8.8