Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
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 Feb 1 2022 13:51:13 for Paparazzi UAS by
1.8.17