comparison gpf/INC/esf_func.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 | File: esf_func.h
4 +------------------------------------------------------------------------------
5 | Copyright 2002 Texas Instruments Berlin, AG
6 | All rights reserved.
7 |
8 | This file is confidential and a trade secret of Texas
9 | Instruments Berlin, AG
10 | The receipt of or possession of this file does not convey
11 | any rights to reproduce or disclose its contents or to
12 | manufacture, use, or sell anything it may describe, in
13 | whole, or in part, without the specific written consent of
14 | Texas Instruments Berlin, AG.
15 +-----------------------------------------------------------------------------
16 | Purpose : ESF API and types.
17 +-----------------------------------------------------------------------------
18 */
19
20 #ifndef __ESF_FUNC_H__
21 #define __ESF_FUNC_H__
22
23 /*==== CONSTANTS ==================================================*/
24
25 #define ESF_INITIALIZED 0xAFFEDEAD
26
27 /*==== TYPES ======================================================*/
28
29 typedef struct
30 {
31 unsigned int magic_nr;
32 void (*init_func1)(void);
33 void (*init_func2)(void);
34 void (*send_prim)(T_PRIM_HEADER *);
35 } T_ESF_FUNC;
36
37 /*==== PROTOTYPES =================================================*/
38
39 void esf_init ( void );
40 void esf_register ( T_ESF_FUNC * func );
41 void esf_init_func1 ( void );
42 void esf_init_func2 ( void );
43 void esf_send_prim ( T_PRIM_HEADER * );
44
45 #endif /* __ESF_FUNC_H__ */
46