2 * Configuration of module Port (Port_Cfg.c)
\r
4 * Created by: Arccore AB
\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 Wed Dec 01 15:28:34 CET 2010
\r
20 #define PORT_UNDEFINED 0x00
\r
22 const Port_ConfigType PortConfigData =
\r
24 .corePullUpRegister = 0x90,
\r
25 .coreReducedDriveRegister = 0x00,
\r
26 .modeRoutingRegister = 0x00,
\r
28 #if ( PORTA_CONFIGURABLE == STD_ON )
\r
29 .portADirection = PORT_UNDEFINED,
\r
30 .portAOutValue = PORT_UNDEFINED,
\r
31 .portAMask = PORT_UNDEFINED,
\r
34 #if ( PORTB_CONFIGURABLE == STD_ON )
\r
35 .portBDirection = 0xFF,
\r
36 .portBOutValue = PORT_UNDEFINED,
\r
40 #if ( PORTE_CONFIGURABLE == STD_ON )
\r
41 .portEDirection = PORT_UNDEFINED,
\r
42 .portEOutValue = PORT_UNDEFINED,
\r
43 .portEMask = PORT_UNDEFINED,
\r
46 #if ( PORTK_CONFIGURABLE == STD_ON )
\r
47 .portKDirection = PORT_UNDEFINED,
\r
48 .portKOutValue = PORT_UNDEFINED,
\r
49 .portKMask = PORT_UNDEFINED,
\r
52 #if ( PORTH_CONFIGURABLE == STD_ON )
\r
53 .portHDirection = 0x0,
\r
54 .portHOutValue = 0x0,
\r
56 .portHPullEnableRegister = 0xFF,
\r
57 .portHPullPolarityRegsiter = 0x0,
\r
58 .portHReducedDriveRegister = 0x0,
\r
61 #if ( PORTJ_CONFIGURABLE == STD_ON )
\r
62 .portJDirection = 0x80,
\r
63 .portJOutValue = 0xC0,
\r
65 .portJPullEnableRegister = 0x0,
\r
66 .portJPullPolarityRegsiter 0x0,
\r
67 .portJReducedDriveRegister = 0x0,
\r
70 #if ( PORTM_CONFIGURABLE == STD_ON )
\r
71 .portMDirection = 0x0,
\r
72 .portMOutValue = 0xC3,
\r
74 .portMPullEnableRegister = 0x0,
\r
75 .portMPullPolarityRegsiter = 0x0,
\r
76 .portMWiredModeRegsiter = PORT_UNDEFINED,
\r
77 .portMReducedDriveRegister = 0x0,
\r
80 #if ( PORTP_CONFIGURABLE == STD_ON )
\r
81 .portPDirection = 0x3,
\r
82 .portPOutValue = 0x0,
\r
84 .portPPullEnableRegister = 0x0,
\r
85 .portPPullPolarityRegsiter = 0x0,
\r
86 .portPReducedDriveRegister = 0x0,
\r
89 #if ( PORTS_CONFIGURABLE == STD_ON )
\r
90 .portSDirection = 0x0,
\r
91 .portSOutValue = 0xF,
\r
93 .portSPullEnableRegister = 0x5,
\r
94 .portSPullPolarityRegsiter = 0x0,
\r
95 .portSWiredModeRegsiter = PORT_UNDEFINED,
\r
96 .portSReducedDriveRegister = 0x0,
\r
99 #if ( PORTT_CONFIGURABLE == STD_ON )
\r
100 .portTDirection = 0x4,
\r
101 .portTOutValue = 0x3,
\r
103 .portTPullEnableRegister = 0x0,
\r
104 .portTPullPolarityRegsiter = 0x0,
\r
105 .portTReducedDriveRegister = 0x0,
\r