2 * Configuration of module Port (Port_Cfg.c)
\r
5 * Configured for (MCU): HCS12
\r
7 * Module vendor: ArcCore
\r
8 * Module version: 2.0.2
\r
11 * Generated by Arctic Studio (http://arccore.com)
\r
12 * on Mon Nov 08 20:30:02 CET 2010
\r
15 #warning "This default file may only be used as an example!"
\r
19 #define PORT_UNDEFINED 0x00
\r
21 const Port_ConfigType PortConfigData =
\r
23 .corePullUpRegister = 0x90,
\r
24 .coreReducedDriveRegister = 0x00,
\r
25 .modeRoutingRegister = 0x00,
\r
27 #if ( PORTA_CONFIGURABLE == STD_ON )
\r
28 .portADirection = PORT_UNDEFINED,
\r
29 .portAOutValue = PORT_UNDEFINED,
\r
30 .portAMask = PORT_UNDEFINED,
\r
33 #if ( PORTB_CONFIGURABLE == STD_ON )
\r
34 .portBDirection = 0xFF,
\r
35 .portBOutValue = PORT_UNDEFINED,
\r
39 #if ( PORTE_CONFIGURABLE == STD_ON )
\r
40 .portEDirection = PORT_UNDEFINED,
\r
41 .portEOutValue = PORT_UNDEFINED,
\r
42 .portEMask = PORT_UNDEFINED,
\r
45 #if ( PORTK_CONFIGURABLE == STD_ON )
\r
46 .portKDirection = PORT_UNDEFINED,
\r
47 .portKOutValue = PORT_UNDEFINED,
\r
48 .portKMask = PORT_UNDEFINED,
\r
51 #if ( PORTH_CONFIGURABLE == STD_ON )
\r
52 .portHDirection = 0x0,
\r
53 .portHOutValue = 0x0,
\r
55 .portHPullEnableRegister = 0xFF,
\r
56 .portHPullPolarityRegsiter = 0x0,
\r
57 .portHReducedDriveRegister = 0x0,
\r
60 #if ( PORTJ_CONFIGURABLE == STD_ON )
\r
61 .portJDirection = 0x80,
\r
62 .portJOutValue = 0xC0,
\r
64 .portJPullEnableRegister = 0x0,
\r
65 .portJPullPolarityRegsiter 0x0,
\r
66 .portJReducedDriveRegister = 0x0,
\r
69 #if ( PORTM_CONFIGURABLE == STD_ON )
\r
70 .portMDirection = 0x0,
\r
71 .portMOutValue = 0xC3,
\r
73 .portMPullEnableRegister = 0x0,
\r
74 .portMPullPolarityRegsiter = 0x0,
\r
75 .portMWiredModeRegsiter = PORT_UNDEFINED,
\r
76 .portMReducedDriveRegister = 0x0,
\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
88 #if ( PORTS_CONFIGURABLE == STD_ON )
\r
89 .portSDirection = 0x0,
\r
90 .portSOutValue = 0xF,
\r
92 .portSPullEnableRegister = 0x5,
\r
93 .portSPullPolarityRegsiter = 0x0,
\r
94 .portSWiredModeRegsiter = PORT_UNDEFINED,
\r
95 .portSReducedDriveRegister = 0x0,
\r
98 #if ( PORTT_CONFIGURABLE == STD_ON )
\r
99 .portTDirection = 0x4,
\r
100 .portTOutValue = 0x3,
\r
102 .portTPullEnableRegister = 0x0,
\r
103 .portTPullPolarityRegsiter = 0x0,
\r
104 .portTReducedDriveRegister = 0x0,
\r