Copyright update for 2011
[bcusdk.git] / bcu / include / bcu_0020.h
blob3699426bcfcf6a5edb67824fbda91d6ec3559927
1 /*
2 BCU SDK bcu development enviroment
3 Copyright (C) 2005-2011 Martin Koegler <mkoegler@auto.tuwien.ac.at>
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 In addition to the permissions in the GNU General Public License,
11 you may link the compiled version of this file into combinations
12 with other programs, and distribute those combinations without any
13 restriction coming from the use of this file. (The General Public
14 License restrictions do apply in other respects; for example, they
15 cover modification of the file, and distribution when not linked into
16 a combine executable.)
18 This program is distributed in the hope that it will be useful,
19 but WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 GNU General Public License for more details.
23 You should have received a copy of the GNU General Public License
24 along with this program; if not, write to the Free Software
25 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
28 #ifndef _BCU_0020_H
29 #define _BCU_0020_H
31 #include "bcu_common.h"
33 #define BCU_0020_H
34 #include "bcu_funcs.h"
36 /* PEI Events */
38 #define PM_INIT 0xF3
39 #define PM_MESSAGE 0xF1
40 #define PM_CYCLE 0xF2
42 #define PM_rc_even 0x03
43 #define PM_rc_odd 0x13
44 #define PM_rc_tc 0x14
45 #define PM_tdre 0x05
46 #define PM_sci_idle 0x06
47 #define PM_spif 0x08
48 #define PM_OCA 0x10
49 #define PM_OCB 0x20
50 #define PM_ICA 0x30
51 #define PM_ICB 0x40
53 extern uchar PEI_Interface;
54 extern uchar PEI_Info;
55 extern uchar PEI_RecBuf[25];
56 extern uchar PEI_SndBuf[25];
58 #define TASK_LL_ID 1
59 #define TASK_NL_ID 2
60 #define TASK_TL_ID 3
61 #define TASK_TC_ID 4
62 #define TASK_LC_ID 5
63 #define TASK_AL_ID 6
64 #define TASK_MG_ID 7
65 #define TASK_PM_ID 8
66 #define TASK_US_ID 9
68 #endif