Paparazzi UAS  v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ssp_hw.h File Reference
#include "LPC21xx.h"
+ Include dependency graph for ssp_hw.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SSP_Enable()   SetBit(SSPCR1, SSE);
 
#define SSP_Disable()   ClearBit(SSPCR1, SSE);
 
#define SSP_EnableRxi()   SetBit(SSPIMSC, RXIM)
 
#define SSP_DisableRxi()   ClearBit(SSPIMSC, RXIM)
 
#define SSP_EnableTxi()   SetBit(SSPIMSC, TXIM)
 
#define SSP_DisableTxi()   ClearBit(SSPIMSC, TXIM)
 
#define SSP_EnableRti()   SetBit(SSPIMSC, RTIM);
 
#define SSP_DisableRti()   ClearBit(SSPIMSC, RTIM);
 
#define SSP_ClearRti()   SetBit(SSPICR, RTIC);
 
#define SSP_Send(_a)   {SSPDR = (_a);}
 

Macro Definition Documentation

#define SSP_ClearRti ( )    SetBit(SSPICR, RTIC);

Definition at line 14 of file ssp_hw.h.

#define SSP_Disable ( )    ClearBit(SSPCR1, SSE);

Definition at line 7 of file ssp_hw.h.

#define SSP_DisableRti ( )    ClearBit(SSPIMSC, RTIM);

Definition at line 13 of file ssp_hw.h.

#define SSP_DisableRxi ( )    ClearBit(SSPIMSC, RXIM)

Definition at line 9 of file ssp_hw.h.

#define SSP_DisableTxi ( )    ClearBit(SSPIMSC, TXIM)

Definition at line 11 of file ssp_hw.h.

#define SSP_Enable ( )    SetBit(SSPCR1, SSE);

Definition at line 6 of file ssp_hw.h.

#define SSP_EnableRti ( )    SetBit(SSPIMSC, RTIM);

Definition at line 12 of file ssp_hw.h.

#define SSP_EnableRxi ( )    SetBit(SSPIMSC, RXIM)

Definition at line 8 of file ssp_hw.h.

#define SSP_EnableTxi ( )    SetBit(SSPIMSC, TXIM)

Definition at line 10 of file ssp_hw.h.

#define SSP_Send (   _a)    {SSPDR = (_a);}

Definition at line 16 of file ssp_hw.h.

Referenced by EXTINT_ISR(), max11040_hw_init(), send_request(), and SSP_ISR().