FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/bsp/abb+spi/spi_process.h @ 148:63750f70796d
gsm-fw/bsp/abb+spi: initial import from the Leonardo TCS211 version
| author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> | 
|---|---|
| date | Sat, 16 Nov 2013 19:03:37 +0000 | 
| parents | |
| children | 971e84124a6f | 
   comparison
  equal
  deleted
  inserted
  replaced
| 147:4ac657b95f52 | 148:63750f70796d | 
|---|---|
| 1 /*****************************************************************************/ | |
| 2 /* */ | |
| 3 /* Name spi_process.h */ | |
| 4 /* */ | |
| 5 /* Function this file contains the spi_process function prototype, */ | |
| 6 /* used to handle messages received in the SPI task mailbox. */ | |
| 7 /* */ | |
| 8 /* Version 0.1 */ | |
| 9 /* */ | |
| 10 /* Date Modification */ | |
| 11 /* ------------------------------------ */ | |
| 12 /* */ | |
| 13 /* Author Candice Bazanegue */ | |
| 14 /* */ | |
| 15 /* (C) Copyright 2000 by Texas Instruments Incorporated, All Rights Reserved */ | |
| 16 /*****************************************************************************/ | |
| 17 | |
| 18 #ifndef __SPI_PROCESS_H__ | |
| 19 #define __SPI_PROCESS_H__ | |
| 20 | |
| 21 | |
| 22 #define SPI_ABB_READ_EVT 1 | |
| 23 #define SPI_ABB_WRITE_EVT 2 | |
| 24 #define SPI_ABB_CONF_ADC_EVT 3 | |
| 25 #define SPI_ABB_READ_ADC_EVT 4 | |
| 26 #define ABB_EXT_IRQ_EVT 5 | |
| 27 | |
| 28 /* Prototypes */ | |
| 29 | |
| 30 /******************************************************************************* | |
| 31 ** Function spi_process | |
| 32 ** | |
| 33 ** Description It is called by the spi task core to handle the access to | |
| 34 ** the ABB through the SPI in a non-preemptive way. | |
| 35 ** | |
| 36 *******************************************************************************/ | |
| 37 UINT8 spi_process(T_RV_HDR * msg_ptr); | |
| 38 | |
| 39 #endif /* __SPI_PROCESS_H__ */ | 
