]> rtime.felk.cvut.cz Git - arc.git/blob - boards/hcs12x_elmicro_tboard/config/Port_Cfg.c
Cleanup of some drivers. Re-generated examples for mpc551xsim
[arc.git] / boards / hcs12x_elmicro_tboard / config / Port_Cfg.c
1 /*\r
2  * Configuration of module Port (Port_Cfg.c)\r
3  *\r
4  * Created by: \r
5  * Configured for (MCU): HCS12\r
6  *\r
7  * Module vendor: ArcCore\r
8  * Module version: 2.0.2\r
9  *\r
10  * \r
11  * Generated by Arctic Studio (http://arccore.com) \r
12  *           on Mon Nov 08 20:30:02 CET 2010\r
13  */\r
14 \r
15 #warning "This default file may only be used as an example!"\r
16 \r
17 #include "Port.h"\r
18 \r
19 #define PORT_UNDEFINED 0x00\r
20 \r
21 const Port_ConfigType PortConfigData =\r
22 {\r
23     .corePullUpRegister = 0x90,\r
24     .coreReducedDriveRegister = 0x00,\r
25     .modeRoutingRegister = 0x00,\r
26 \r
27       #if ( PORTA_CONFIGURABLE == STD_ON )\r
28     .portADirection = PORT_UNDEFINED,\r
29     .portAOutValue = PORT_UNDEFINED,\r
30     .portAMask = PORT_UNDEFINED,\r
31       #endif\r
32 \r
33       #if ( PORTB_CONFIGURABLE == STD_ON )\r
34     .portBDirection = 0xFF,\r
35     .portBOutValue = PORT_UNDEFINED,\r
36     .portBMask = 0x0,\r
37       #endif\r
38 \r
39       #if ( PORTE_CONFIGURABLE == STD_ON )\r
40     .portEDirection = PORT_UNDEFINED,\r
41     .portEOutValue = PORT_UNDEFINED,\r
42     .portEMask = PORT_UNDEFINED,\r
43       #endif\r
44 \r
45       #if ( PORTK_CONFIGURABLE == STD_ON )\r
46     .portKDirection = PORT_UNDEFINED,\r
47     .portKOutValue = PORT_UNDEFINED,\r
48     .portKMask = PORT_UNDEFINED,\r
49       #endif\r
50 \r
51       #if ( PORTH_CONFIGURABLE == STD_ON )\r
52     .portHDirection = 0x0,\r
53     .portHOutValue = 0x0,\r
54     .portHMask = 0x0,\r
55     .portHPullEnableRegister = 0xFF,\r
56     .portHPullPolarityRegsiter = 0x0,\r
57     .portHReducedDriveRegister = 0x0,\r
58       #endif\r
59 \r
60       #if ( PORTJ_CONFIGURABLE == STD_ON )\r
61     .portJDirection = 0x80,\r
62     .portJOutValue = 0xC0,\r
63     .portJMask = 0x40,\r
64     .portJPullEnableRegister = 0x0,\r
65     .portJPullPolarityRegsiter 0x0,\r
66     .portJReducedDriveRegister = 0x0,\r
67       #endif\r
68 \r
69       #if ( PORTM_CONFIGURABLE == STD_ON )\r
70     .portMDirection = 0x0,\r
71     .portMOutValue = 0xC3,\r
72     .portMMask = 0x0,\r
73     .portMPullEnableRegister = 0x0,\r
74     .portMPullPolarityRegsiter = 0x0,\r
75     .portMWiredModeRegsiter = PORT_UNDEFINED,\r
76     .portMReducedDriveRegister = 0x0,\r
77       #endif\r
78 \r
79       #if ( PORTP_CONFIGURABLE == STD_ON )\r
80     .portPDirection = PORT_UNDEFINED,\r
81     .portPOutValue = PORT_UNDEFINED,\r
82     .portPMask = PORT_UNDEFINED,\r
83     .portPPullEnableRegister = PORT_UNDEFINED,\r
84     .portPPullPolarityRegsiter = PORT_UNDEFINED,\r
85     .portPReducedDriveRegister = PORT_UNDEFINED,\r
86       #endif\r
87 \r
88       #if ( PORTS_CONFIGURABLE == STD_ON )\r
89     .portSDirection = 0x0,\r
90     .portSOutValue = 0xF,\r
91     .portSMask = 0x0,\r
92     .portSPullEnableRegister = 0x5,\r
93     .portSPullPolarityRegsiter = 0x0,\r
94     .portSWiredModeRegsiter = PORT_UNDEFINED,\r
95     .portSReducedDriveRegister = 0x0,\r
96       #endif\r
97 \r
98       #if ( PORTT_CONFIGURABLE == STD_ON )\r
99     .portTDirection = 0x4,\r
100     .portTOutValue = 0x3,\r
101     .portTMask = 0x0,\r
102     .portTPullEnableRegister = 0x0,\r
103     .portTPullPolarityRegsiter = 0x0,\r
104     .portTReducedDriveRegister = 0x0,\r
105       #endif\r
106 };\r
107 \r
108 \r