FreeCalypso > hg > tcs211-c139
comparison chipsetsw/drivers/drv_app/spi/spi_process.h @ 0:509db1a7b7b8
initial import: leo2moko-r1
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 01 Jun 2015 03:24:05 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:509db1a7b7b8 |
---|---|
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__ */ |