comparison src/cs/drivers/drv_app/spi/spi_process.h @ 0:b6a5e36de839

src/cs: initial import from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 15 Jul 2018 04:39:26 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:b6a5e36de839
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__ */