; TASKING TriCore C compiler v1.5r1 Build 322 SN 00090364
; options: -e -A1 -g -O0 -Id:\ctri\include -s -N8 -zTC112_COR1 -zTC112_COR4
;          -zTC112_COR10 -zTC112_COR13 -zTC112_COR14 -zTC112_COR16 -zTC112_COR17
	.name	"io"
	.symb	TOOL, "TASKING TriCore C compiler v1.5", 1
	.symb	TYPE, 256, "bit", 'g', 0, 1
	.symb	FILE, "io.c"
; file "io.c":
;    1 |//****************************************************************************
;    2 |// @Module        Parallel Ports
;    3 |// @Filename      IO.C
;    4 |// @Project       Test_TC1775B.dav
;    5 |//----------------------------------------------------------------------------
;    6 |// @Controller    Infineon TC1775 B-Step
;    7 |//
;    8 |// @Compiler      Tasking
;    9 |//
;   10 |// @Codegenerator 2.2
;   11 |//
;   12 |// @Description   This file contains functions that use the IO module.
;   13 |//
;   14 |//----------------------------------------------------------------------------
;   15 |// @Date          12.06.2002 17:31:43
;   16 |//
;   17 |//****************************************************************************
;   18 |
;   19 |// USER CODE BEGIN (IO_General,1)
;   20 |
;   21 |// USER CODE END
;   22 |
;   23 |
;   24 |
;   25 |//****************************************************************************
;   26 |// @Project Includes
;   27 |//****************************************************************************
;   28 |
;   29 |#include "MAIN.H"
	.symb	FILE, "MAIN.H"
	.symb	TYPE, 257, "uword", 'T', #18
	.symb	FILE, "TC1775BRegs.h"
	.symb	ENDF
	.symb	FILE, "IO.H"
	.symb	ENDF
	.symb	FILE, "ASC0.H"
	.symb	TYPE, 258, "ushort", 'T', #5
	.symb	ENDF
	.symb	FILE, "ASC1.H"
	.symb	ENDF
	.symb	FILE, "CAN.H"
	.symb	TYPE, 259, "ubyte", 'T', #3
	.symb	TYPE, 260, 'Z', #3, 7
	.symb	TYPE, 262, 'S', 20,\
		 "usMsgCfg", #5, 0,\
		 "uwID", #18, 2,\
		 "uwMask", #18, 6,\
		 "ubData", #260, 10,\
		 "usCounter", #5, 18
	.symb	TYPE, 263, "TCAN_SWObj", 'T', #262
	.symb	ENDF
	.symb	ENDF
;   30 |
;   31 |// USER CODE BEGIN (IO_General,2)
;   32 |
;   33 |// USER CODE END
;   34 |
;   35 |
;   36 |//****************************************************************************
;   37 |// @Macros
;   38 |//****************************************************************************
;   39 |
;   40 |// USER CODE BEGIN (IO_General,3)
;   41 |
;   42 |// USER CODE END
;   43 |
;   44 |
;   45 |//****************************************************************************
;   46 |// @Defines
;   47 |//****************************************************************************
;   48 |
;   49 |// USER CODE BEGIN (IO_General,4)
;   50 |
;   51 |// USER CODE END
;   52 |
;   53 |
;   54 |//****************************************************************************
;   55 |// @Typedefs
;   56 |//****************************************************************************
;   57 |
;   58 |// USER CODE BEGIN (IO_General,5)
;   59 |
;   60 |// USER CODE END
;   61 |
;   62 |
;   63 |//****************************************************************************
;   64 |// @Imported Global Variables
;   65 |//****************************************************************************
;   66 |
;   67 |// USER CODE BEGIN (IO_General,6)
;   68 |
;   69 |// USER CODE END
;   70 |
;   71 |
;   72 |//****************************************************************************
;   73 |// @Global Variables
;   74 |//****************************************************************************
;   75 |
;   76 |// USER CODE BEGIN (IO_General,7)
;   77 |
;   78 |// USER CODE END
;   79 |
;   80 |
;   81 |//****************************************************************************
;   82 |// @External Prototypes
;   83 |//****************************************************************************
;   84 |
;   85 |// USER CODE BEGIN (IO_General,8)
;   86 |
;   87 |// USER CODE END
;   88 |
;   89 |
;   90 |//****************************************************************************
;   91 |// @Prototypes Of Local Functions
;   92 |//****************************************************************************
;   93 |
;   94 |// USER CODE BEGIN (IO_General,9)
;   95 |
;   96 |// USER CODE END
;   97 |
;   98 |
;   99 |//****************************************************************************
;  100 |// @Function      void IO_vInit(void) 
;  101 |//
;  102 |//----------------------------------------------------------------------------
;  103 |// @Description   This is the initialization function of the IO function 
;  104 |//                library. It is assumed that the SFRs used by this library 
;  105 |//                are in its reset state. 
;  106 |//                Note:
;  107 |//                Alternate outputs are set in their own initialization 
;  108 |//                function.
;  109 |//
;  110 |//----------------------------------------------------------------------------
;  111 |// @Returnvalue   None
;  112 |//
;  113 |//----------------------------------------------------------------------------
;  114 |// @Parameters    None
;  115 |//
;  116 |//----------------------------------------------------------------------------
;  117 |// @Date          12.06.2002
;  118 |//
;  119 |//****************************************************************************
;  120 |
;  121 |// USER CODE BEGIN (IO_Function,1)
;  122 |
;  123 |// USER CODE END
;  124 |
;  125 |void IO_vInit(void)
;  126 |{
	.sdecl	"code.io",CODE
	.sect	"code.io"
	.align	4
	.symb	LINE, 126
	.symb	TYPE, 264, 'X', 8, #1, 26, 0
	.symb	GFUN, "IO_vInit", IO_vInit, #264, 0, 0, 0
	.symb	ALAB, IO_vInit, #264
IO_vInit:
	.symb	SOFF, 0
;  127 |  // USER CODE BEGIN (IO_Function,2)
;  128 |
;  129 |  // USER CODE END
;  130 |
;  131 |
;  132 |  ///  -----------------------------------------------------------------------
;  133 |  ///  Configuration of Port P0:
;  134 |  ///  -----------------------------------------------------------------------
;  135 |  ///  P0.0:
;  136 |  ///  - is used as alternate output for the EBU address/data line (AD0)
;  137 |  ///  - pull device is disabled (tristate) 
;  138 |  ///  P0.1:
;  139 |  ///  - is used as alternate output for the EBU address/data line (AD1)
;  140 |  ///  - pull device is disabled (tristate) 
;  141 |  ///  P0.2:
;  142 |  ///  - is used as alternate output for the EBU address/data line (AD2)
;  143 |  ///  - pull device is disabled (tristate) 
;  144 |  ///  P0.3:
;  145 |  ///  - is used as alternate output for the EBU address/data line (AD3)
;  146 |  ///  - pull device is disabled (tristate) 
;  147 |  ///  P0.4:
;  148 |  ///  - is used as alternate output for the EBU address/data line (AD4)
;  149 |  ///  - pull device is disabled (tristate) 
;  150 |  ///  P0.5:
;  151 |  ///  - is used as alternate output for the EBU address/data line (AD5)
;  152 |  ///  - pull device is disabled (tristate) 
;  153 |  ///  P0.6:
;  154 |  ///  - is used as alternate output for the EBU address/data line (AD6)
;  155 |  ///  - pull device is disabled (tristate) 
;  156 |  ///  P0.7:
;  157 |  ///  - is used as alternate output for the EBU address/data line (AD7)
;  158 |  ///  - pull device is disabled (tristate) 
;  159 |  ///  P0.8:
;  160 |  ///  - is used as alternate output for the EBU address/data line (AD8)
;  161 |  ///  - pull device is disabled (tristate) 
;  162 |  ///  P0.9:
;  163 |  ///  - is used as alternate output for the EBU address/data line (AD9)
;  164 |  ///  - pull device is disabled (tristate) 
;  165 |  ///  P0.10:
;  166 |  ///  - is used as alternate output for the EBU address/data line (AD10)
;  167 |  ///  - pull device is disabled (tristate) 
;  168 |  ///  P0.11:
;  169 |  ///  - is used as alternate output for the EBU address/data line (AD11)
;  170 |  ///  - pull device is disabled (tristate) 
;  171 |  ///  P0.12:
;  172 |  ///  - is used as alternate output for the EBU address/data line (AD12)
;  173 |  ///  - pull device is disabled (tristate) 
;  174 |  ///  P0.13:
;  175 |  ///  - is used as alternate output for the EBU address/data line (AD13)
;  176 |  ///  - pull device is disabled (tristate) 
;  177 |  ///  P0.14:
;  178 |  ///  - is used as alternate output for the EBU address/data line (AD14)
;  179 |  ///  - pull device is disabled (tristate) 
;  180 |  ///  P0.15:
;  181 |  ///  - is used as alternate output for the EBU address/data line (AD15)
;  182 |  ///  - pull device is disabled (tristate) 
;  183 |
;  184 |  P0_OUT         =  0x0000;      // load data output register
	.symb	LINE, 184
	mov16	d15,#0
	st.w	-268425200,d15
;  185 |  P0_PUDSEL      =  0x0000;      // load pullup/pulldown select register
	.symb	LINE, 185
	mov16	d15,#0
	st.w	-268425176,d15
;  186 |  P0_PUDEN       =  0x0000;      // load pullup/pulldown enable register
	.symb	LINE, 186
	mov16	d15,#0
	st.w	-268425172,d15
;  187 |  P0_DIR         =  0x0000;      // load direction register
	.symb	LINE, 187
	mov16	d15,#0
	st.w	-268425192,d15
;  188 |
;  189 |  ///  -----------------------------------------------------------------------
;  190 |  ///  Configuration of Port P1:
;  191 |  ///  -----------------------------------------------------------------------
;  192 |  ///  P1.0:
;  193 |  ///  - is used as alternate output for the EBU address/data line (AD16)
;  194 |  ///  - pull device is disabled (tristate) 
;  195 |  ///  P1.1:
;  196 |  ///  - is used as alternate output for the EBU address/data line (AD17)
;  197 |  ///  - pull device is disabled (tristate) 
;  198 |  ///  P1.2:
;  199 |  ///  - is used as alternate output for the EBU address/data line (AD18)
;  200 |  ///  - pull device is disabled (tristate) 
;  201 |  ///  P1.3:
;  202 |  ///  - is used as alternate output for the EBU address/data line (AD19)
;  203 |  ///  - pull device is disabled (tristate) 
;  204 |  ///  P1.4:
;  205 |  ///  - is used as alternate output for the EBU address/data line (AD20)
;  206 |  ///  - pull device is disabled (tristate) 
;  207 |  ///  P1.5:
;  208 |  ///  - is used as alternate output for the EBU address/data line (AD21)
;  209 |  ///  - pull device is disabled (tristate) 
;  210 |  ///  P1.6:
;  211 |  ///  - is used as alternate output for the EBU address/data line (AD22)
;  212 |  ///  - pull device is disabled (tristate) 
;  213 |  ///  P1.7:
;  214 |  ///  - is used as alternate output for the EBU address/data line (AD23)
;  215 |  ///  - pull device is disabled (tristate) 
;  216 |  ///  P1.8:
;  217 |  ///  - is used as alternate output for the EBU address/data line (AD24)
;  218 |  ///  - pull device is disabled (tristate) 
;  219 |  ///  P1.9:
;  220 |  ///  - is used as alternate output for the EBU address/data line (AD25)
;  221 |  ///  - pull device is disabled (tristate) 
;  222 |  ///  P1.10:
;  223 |  ///  - is used as alternate output for the EBU address/data line (AD26)
;  224 |  ///  - pull device is disabled (tristate) 
;  225 |  ///  P1.11:
;  226 |  ///  - is used as alternate output for the EBU address/data line (AD27)
;  227 |  ///  - pull device is disabled (tristate) 
;  228 |  ///  P1.12:
;  229 |  ///  - is used as alternate output for the EBU address/data line (AD28)
;  230 |  ///  - pull device is disabled (tristate) 
;  231 |  ///  P1.13:
;  232 |  ///  - is used as alternate output for the EBU address/data line (AD29)
;  233 |  ///  - pull device is disabled (tristate) 
;  234 |  ///  P1.14:
;  235 |  ///  - is used as alternate output for the EBU address/data line (AD30)
;  236 |  ///  - pull device is disabled (tristate) 
;  237 |  ///  P1.15:
;  238 |  ///  - is used as alternate output for the EBU address/data line (AD31)
;  239 |  ///  - pull device is disabled (tristate) 
;  240 |
;  241 |  P1_OUT         =  0x0000;      // load data output register
	.symb	LINE, 241
	mov16	d15,#0
	st.w	-268424944,d15
;  242 |  P1_PUDSEL      =  0x0000;      // load pullup/pulldown select register
	.symb	LINE, 242
	mov16	d15,#0
	st.w	-268424920,d15
;  243 |  P1_PUDEN       =  0x0000;      // load pullup/pulldown enable register
	.symb	LINE, 243
	mov16	d15,#0
	st.w	-268424916,d15
;  244 |  P1_DIR         =  0x0000;      // load direction register
	.symb	LINE, 244
	mov16	d15,#0
	st.w	-268424936,d15
;  245 |
;  246 |  ///  -----------------------------------------------------------------------
;  247 |  ///  Configuration of Port P2:
;  248 |  ///  -----------------------------------------------------------------------
;  249 |  ///  P2.0:
;  250 |  ///  - is used as alternate output for the EBU address line (A0)
;  251 |  ///  - pull device is disabled (tristate) 
;  252 |  ///  P2.1:
;  253 |  ///  - is used as alternate output for the EBU address line (A1)
;  254 |  ///  - pull device is disabled (tristate) 
;  255 |  ///  P2.2:
;  256 |  ///  - is used as alternate output for the EBU address line (A2)
;  257 |  ///  - pull device is disabled (tristate) 
;  258 |  ///  P2.3:
;  259 |  ///  - is used as alternate output for the EBU address line (A3)
;  260 |  ///  - pull device is disabled (tristate) 
;  261 |  ///  P2.4:
;  262 |  ///  - is used as alternate output for the EBU address line (A4)
;  263 |  ///  - pull device is disabled (tristate) 
;  264 |  ///  P2.5:
;  265 |  ///  - is used as alternate output for the EBU address line (A5)
;  266 |  ///  - pull device is disabled (tristate) 
;  267 |  ///  P2.6:
;  268 |  ///  - is used as alternate output for the EBU address line (A6)
;  269 |  ///  - pull device is disabled (tristate) 
;  270 |  ///  P2.7:
;  271 |  ///  - is used as alternate output for the EBU address line (A7)
;  272 |  ///  - pull device is disabled (tristate) 
;  273 |  ///  P2.8:
;  274 |  ///  - is used as alternate output for the EBU address line (A8)
;  275 |  ///  - pull device is disabled (tristate) 
;  276 |  ///  P2.9:
;  277 |  ///  - is used as alternate output for the EBU address line (A9)
;  278 |  ///  - pull device is disabled (tristate) 
;  279 |  ///  P2.10:
;  280 |  ///  - is used as alternate output for the EBU address line (A10)
;  281 |  ///  - pull device is disabled (tristate) 
;  282 |  ///  P2.11:
;  283 |  ///  - is used as alternate output for the EBU address line (A11)
;  284 |  ///  - pull device is disabled (tristate) 
;  285 |  ///  P2.12:
;  286 |  ///  - is used as alternate output for the EBU address line (A12)
;  287 |  ///  - pull device is disabled (tristate) 
;  288 |  ///  P2.13:
;  289 |  ///  - is used as alternate output for the EBU address line (A13)
;  290 |  ///  - pull device is disabled (tristate) 
;  291 |  ///  P2.14:
;  292 |  ///  - is used as alternate output for the EBU address line (A14)
;  293 |  ///  - pull device is disabled (tristate) 
;  294 |  ///  P2.15:
;  295 |  ///  - is used as alternate output for the EBU address line (A15)
;  296 |  ///  - pull device is disabled (tristate) 
;  297 |
;  298 |  P2_OUT         =  0x0000;      // load data output register
	.symb	LINE, 298
	mov16	d15,#0
	st.w	-268424688,d15
;  299 |  P2_PUDSEL      =  0x0000;      // load pullup/pulldown select register
	.symb	LINE, 299
	mov16	d15,#0
	st.w	-268424664,d15
;  300 |  P2_PUDEN       =  0x0000;      // load pullup/pulldown enable register
	.symb	LINE, 300
	mov16	d15,#0
	st.w	-268424660,d15
;  301 |  P2_DIR         =  0x0000;      // load direction register
	.symb	LINE, 301
	mov16	d15,#0
	st.w	-268424680,d15
;  302 |
;  303 |  ///  -----------------------------------------------------------------------
;  304 |  ///  Configuration of Port P3:
;  305 |  ///  -----------------------------------------------------------------------
;  306 |  ///  P3.0:
;  307 |  ///  - is used as alternate output for the EBU address line (A16)
;  308 |  ///  - pull device is disabled (tristate) 
;  309 |  ///  P3.1:
;  310 |  ///  - is used as alternate output for the EBU address line (A17)
;  311 |  ///  - pull device is disabled (tristate) 
;  312 |  ///  P3.2:
;  313 |  ///  - is used as alternate output for the EBU address line (A18)
;  314 |  ///  - pull device is disabled (tristate) 
;  315 |  ///  P3.3:
;  316 |  ///  - is used as alternate output for the EBU address line (A19)
;  317 |  ///  - pull device is disabled (tristate) 
;  318 |  ///  P3.4:
;  319 |  ///  - is used as alternate output for the EBU address line (A20)
;  320 |  ///  - pull device is disabled (tristate) 
;  321 |  ///  P3.5:
;  322 |  ///  - is used as alternate output for the EBU address line (A21)
;  323 |  ///  - pull device is disabled (tristate) 
;  324 |  ///  P3.6:
;  325 |  ///  - is used as alternate output for the EBU address line (A22)
;  326 |  ///  - pull device is disabled (tristate) 
;  327 |  ///  P3.7:
;  328 |  ///  - is used as alternate output for the EBU address line (A23)
;  329 |  ///  - pull device is disabled (tristate) 
;  330 |  ///  P3.8:
;  331 |  ///  - is used as alternate output for the EBU address line (A24)
;  332 |  ///  - pull device is disabled (tristate) 
;  333 |  ///  P3.9:
;  334 |  ///  - is used as alternate output for the EBU address line (A25)
;  335 |  ///  - pull device is disabled (tristate) 
;  336 |  ///  P3.10:
;  337 |  ///  - is used as alternate output for the EBU chip select output line 
;  338 |  ///    (#CS3)
;  339 |  ///  - pull-up device is assigned
;  340 |  ///  P3.11:
;  341 |  ///  - is used as alternate output for the EBU chip select output line 
;  342 |  ///    (#CS2)
;  343 |  ///  - pull-up device is assigned
;  344 |  ///  P3.12:
;  345 |  ///  - is used as alternate output for the EBU chip select output line 
;  346 |  ///    (#CS1)
;  347 |  ///  - pull-up device is assigned
;  348 |  ///  P3.13:
;  349 |  ///  - is used as alternate output for the EBU chip select output line 
;  350 |  ///    (#CS0)
;  351 |  ///  - pull-up device is assigned
;  352 |  ///  P3.14:
;  353 |  ///  - is used as alternate output for the EBU emulator chip select output 
;  354 |  ///    line (#CSEMU)
;  355 |  ///  - pull-up device is assigned
;  356 |  ///  P3.15:
;  357 |  ///  - is used as alternate output for the EBU emulator overlay memory chip 
;  358 |  ///    select line (#CSOVL)
;  359 |  ///  - pull-up device is assigned
;  360 |
;  361 |  P3_OUT         =  0x0000;      // load data output register
	.symb	LINE, 361
	mov16	d15,#0
	st.w	-268424432,d15
;  362 |  P3_PUDSEL      =  0xFC00;      // load pullup/pulldown select register
	.symb	LINE, 362
	mov.u	d15,#64512
	st.w	-268424408,d15
;  363 |  P3_PUDEN       =  0xFC00;      // load pullup/pulldown enable register
	.symb	LINE, 363
	mov.u	d15,#64512
	st.w	-268424404,d15
;  364 |  P3_ALTSEL0     =  0x0000;      // load alternate output function select 
	.symb	LINE, 364
	mov16	d15,#0
	st.w	-268424380,d15
;  365 |                                 // register 0
;  366 |  P3_DIR         =  0x0000;      // load direction register
	.symb	LINE, 366
	mov16	d15,#0
	st.w	-268424424,d15
;  367 |
;  368 |  ///  -----------------------------------------------------------------------
;  369 |  ///  Configuration of Port P4:
;  370 |  ///  -----------------------------------------------------------------------
;  371 |  ///  P4.0:
;  372 |  ///  - is used as alternate output for the EBU read control (#RD)
;  373 |  ///  - pull-up device is assigned
;  374 |  ///  P4.1:
;  375 |  ///  - is used as alternate output for the EBU write control (RD/#WR)
;  376 |  ///  - pull-up device is assigned
;  377 |  ///  P4.2:
;  378 |  ///  - is used as alternate output for the EBU address latch enable output 
;  379 |  ///    (ALE)
;  380 |  ///  - pull-down device is assigned
;  381 |  ///  P4.3:
;  382 |  ///  - is used as alternate output for the EBU address valid output (#ADV)
;  383 |  ///  - pull-up device is assigned
;  384 |  ///  P4.4:
;  385 |  ///  - is used as alternate output for the EBU byte control line 4 (#BC4)
;  386 |  ///  - pull-up device is assigned
;  387 |  ///  P4.5:
;  388 |  ///  - is used as alternate output for the EBU byte control line 5 (#BC5)
;  389 |  ///  - pull-up device is assigned
;  390 |  ///  P4.6:
;  391 |  ///  - is used as alternate output for the EBU byte control line 6 (#BC6)
;  392 |  ///  - pull-up device is assigned
;  393 |  ///  P4.7:
;  394 |  ///  - is used as alternate output for the EBU byte control line 7 (#BC7)
;  395 |  ///  - pull-up device is assigned
;  396 |  ///  P4.8:
;  397 |  ///  - is used as alternate input for the EBU wait input / end of burst 
;  398 |  ///    input (#WAIT/#IND)
;  399 |  ///  - pull-up device is assigned
;  400 |  ///  P4.9:
;  401 |  ///  - is used as alternate output for the EBU burst address advance output 
;  402 |  ///    (#BAA)
;  403 |  ///  - pull-up device is assigned
;  404 |  ///  P4.10:
;  405 |  ///  - is used as alternate input for the EBU chip select FPI input (#CSFPI)
;  406 |  ///  - pull-up device is assigned
;  407 |  ///  P4.11:
;  408 |  ///  - is used as alternate input for the EBU hold request input (#HOLD)
;  409 |  ///  - pull-up device is assigned
;  410 |  ///  P4.12:
;  411 |  ///  - is used as alternate output for the EBU hold acknowledge 
;  412 |  ///    input/output (#HLDA)
;  413 |  ///  - pull-up device is assigned
;  414 |  ///  P4.13:
;  415 |  ///  - is used as alternate output for the EBU bus request output (#BREQ)
;  416 |  ///  - pull-up device is assigned
;  417 |  ///  P4.14:
;  418 |  ///  - is used as alternate output for the EBU code fetch status output 
;  419 |  ///    (#CODE)
;  420 |  ///  - pull-up device is assigned
;  421 |  ///  P4.15:
;  422 |  ///  - is used as alternate output for the EBU supervisor mode output (SVM)
;  423 |  ///  - pull-up device is assigned
;  424 |
;  425 |  P4_OUT         =  0x0000;      // load data output register
	.symb	LINE, 425
	mov16	d15,#0
	st.w	-268424176,d15
;  426 |  P4_PUDSEL      =  0xFFFB;      // load pullup/pulldown select register
	.symb	LINE, 426
	mov.u	d15,#65531
	st.w	-268424152,d15
;  427 |  P4_PUDEN       =  0xFFFF;      // load pullup/pulldown enable register
	.symb	LINE, 427
	mov.u	d15,#65535
	st.w	-268424148,d15
;  428 |  P4_DIR         =  0x0000;      // load direction register
	.symb	LINE, 428
	mov16	d15,#0
	st.w	-268424168,d15
;  429 |
;  430 |  ///  -----------------------------------------------------------------------
;  431 |  ///  Configuration of Port P5:
;  432 |  ///  -----------------------------------------------------------------------
;  433 |  ///  - no pin of port P5 is used
;  434 |
;  435 |  P5_OUT         =  0x0000;      // load data output register
	.symb	LINE, 435
	mov16	d15,#0
	st.w	-268423920,d15
;  436 |  P5_PUDSEL      =  0x0000;      // load pullup/pulldown select register
	.symb	LINE, 436
	mov16	d15,#0
	st.w	-268423896,d15
;  437 |  P5_PUDEN       =  0x0000;      // load pullup/pulldown enable register
	.symb	LINE, 437
	mov16	d15,#0
	st.w	-268423892,d15
;  438 |  P5_DIR         =  0x0000;      // load direction register
	.symb	LINE, 438
	mov16	d15,#0
	st.w	-268423912,d15
;  439 |
;  440 |  ///  -----------------------------------------------------------------------
;  441 |  ///  Configuration of Port P8:
;  442 |  ///  -----------------------------------------------------------------------
;  443 |  ///  P8.0:
;  444 |  ///  - is used as general input
;  445 |  ///  - pull device is disabled (tristate) 
;  446 |  ///  - input threshold type: TTL input
;  447 |  ///  - output edge characteristic: normal timing
;  448 |  ///  - output driver characteristic: high current mode
;  449 |  ///  P8.1:
;  450 |  ///  - is used as general input
;  451 |  ///  - pull device is disabled (tristate) 
;  452 |  ///  - input threshold type: TTL input
;  453 |  ///  - output edge characteristic: normal timing
;  454 |  ///  - output driver characteristic: high current mode
;  455 |
;  456 |  P8_OD          =  0x0000;      // load open-drain register
	.symb	LINE, 456
	mov16	d15,#0
	st.w	-268423140,d15
;  457 |  P8_OUT         =  0x0000;      // load data output register
	.symb	LINE, 457
	mov16	d15,#0
	st.w	-268423152,d15
;  458 |  P8_PUDSEL      =  0x0000;      // load pullup/pulldown select register
	.symb	LINE, 458
	mov16	d15,#0
	st.w	-268423128,d15
;  459 |  P8_PUDEN       =  0x0000;      // load pullup/pulldown enable register
	.symb	LINE, 459
	mov16	d15,#0
	st.w	-268423124,d15
;  460 |  P8_PICON       =  0x0000;      // load input configuration register
	.symb	LINE, 460
	mov16	d15,#0
	st.w	-268423104,d15
;  461 |  P8_POCON0      =  0x0000;      // load output configuration register0
	.symb	LINE, 461
	mov16	d15,#0
	st.w	-268423120,d15
;  462 |  P8_POCON1      =  0x0000;      // load output configuration register1
	.symb	LINE, 462
	mov16	d15,#0
	st.w	-268423116,d15
;  463 |  P8_POCON2      =  0x0000;      // load output configuration register2
	.symb	LINE, 463
	mov16	d15,#0
	st.w	-268423112,d15
;  464 |  P8_POCON3      =  0x0000;      // load output configuration register3
	.symb	LINE, 464
	mov16	d15,#0
	st.w	-268423108,d15
;  465 |  P8_DIR         =  0x0000;      // load direction register
	.symb	LINE, 465
	mov16	d15,#0
	st.w	-268423144,d15
;  466 |
;  467 |  ///  -----------------------------------------------------------------------
;  468 |  ///  Configuration of Port P9:
;  469 |  ///  -----------------------------------------------------------------------
;  470 |  ///  - no pin of port P9 is used
;  471 |
;  472 |  P9_OD          =  0x0000;      // load open-drain register
	.symb	LINE, 472
	mov16	d15,#0
	st.w	-268422884,d15
;  473 |  P9_OUT         =  0x0000;      // load data output register
	.symb	LINE, 473
	mov16	d15,#0
	st.w	-268422896,d15
;  474 |  P9_PUDSEL      =  0x0000;      // load pullup/pulldown select register
	.symb	LINE, 474
	mov16	d15,#0
	st.w	-268422872,d15
;  475 |  P9_PUDEN       =  0x0000;      // load pullup/pulldown enable register
	.symb	LINE, 475
	mov16	d15,#0
	st.w	-268422868,d15
;  476 |  P9_PICON       =  0x0000;      // load input configuration register
	.symb	LINE, 476
	mov16	d15,#0
	st.w	-268422848,d15
;  477 |  P9_POCON0      =  0x0000;      // load output configuration register0
	.symb	LINE, 477
	mov16	d15,#0
	st.w	-268422864,d15
;  478 |  P9_POCON1      =  0x0000;      // load output configuration register1
	.symb	LINE, 478
	mov16	d15,#0
	st.w	-268422860,d15
;  479 |  P9_POCON2      =  0x0000;      // load output configuration register2
	.symb	LINE, 479
	mov16	d15,#0
	st.w	-268422856,d15
;  480 |  P9_POCON3      =  0x0000;      // load output configuration register3
	.symb	LINE, 480
	mov16	d15,#0
	st.w	-268422852,d15
;  481 |  P9_DIR         =  0x0000;      // load direction register
	.symb	LINE, 481
	mov16	d15,#0
	st.w	-268422888,d15
;  482 |
;  483 |  ///  -----------------------------------------------------------------------
;  484 |  ///  Configuration of Port P10:
;  485 |  ///  -----------------------------------------------------------------------
;  486 |  ///  P10.0:
;  487 |  ///  - is used as general purpose output
;  488 |  ///  - push/pull output is selected
;  489 |  ///  - the pin status is low level
;  490 |  ///  - pull-up device is assigned
;  491 |  ///  - input threshold type: TTL input
;  492 |  ///  - output edge characteristic: normal timing
;  493 |  ///  - output driver characteristic: high current mode
;  494 |
;  495 |  P10_OD         =  0x0000;      // load open-drain register
	.symb	LINE, 495
	mov16	d15,#0
	st.w	-268422628,d15
;  496 |  P10_OUT        =  0x0000;      // load data output register
	.symb	LINE, 496
	mov16	d15,#0
	st.w	-268422640,d15
;  497 |  P10_PUDSEL     =  0x0001;      // load pullup/pulldown select register
	.symb	LINE, 497
	mov16	d15,#1
	st.w	-268422616,d15
;  498 |  P10_PUDEN      =  0x0001;      // load pullup/pulldown enable register
	.symb	LINE, 498
	mov16	d15,#1
	st.w	-268422612,d15
;  499 |  P10_PICON      =  0x0000;      // load input configuration register
	.symb	LINE, 499
	mov16	d15,#0
	st.w	-268422592,d15
;  500 |  P10_POCON0     =  0x0000;      // load output configuration register0
	.symb	LINE, 500
	mov16	d15,#0
	st.w	-268422608,d15
;  501 |  P10_POCON1     =  0x0000;      // load output configuration register1
	.symb	LINE, 501
	mov16	d15,#0
	st.w	-268422604,d15
;  502 |  P10_POCON2     =  0x0000;      // load output configuration register2
	.symb	LINE, 502
	mov16	d15,#0
	st.w	-268422600,d15
;  503 |  P10_POCON3     =  0x0000;      // load output configuration register3
	.symb	LINE, 503
	mov16	d15,#0
	st.w	-268422596,d15
;  504 |  P10_DIR        =  0x0001;      // load direction register
	.symb	LINE, 504
	mov16	d15,#1
	st.w	-268422632,d15
;  505 |
;  506 |  ///  -----------------------------------------------------------------------
;  507 |  ///  Configuration of Port P11:
;  508 |  ///  -----------------------------------------------------------------------
;  509 |  ///  - no pin of port P11 is used
;  510 |
;  511 |  P11_OD         =  0x0000;      // load open-drain register
	.symb	LINE, 511
	mov16	d15,#0
	st.w	-268422372,d15
;  512 |  P11_OUT        =  0x0000;      // load data output register
	.symb	LINE, 512
	mov16	d15,#0
	st.w	-268422384,d15
;  513 |  P11_PUDSEL     =  0x0000;      // load pullup/pulldown select register
	.symb	LINE, 513
	mov16	d15,#0
	st.w	-268422360,d15
;  514 |  P11_PUDEN      =  0x0000;      // load pullup/pulldown enable register
	.symb	LINE, 514
	mov16	d15,#0
	st.w	-268422356,d15
;  515 |  P11_PICON      =  0x0000;      // load input configuration register
	.symb	LINE, 515
	mov16	d15,#0
	st.w	-268422336,d15
;  516 |  P11_POCON0     =  0x0000;      // load output configuration register0
	.symb	LINE, 516
	mov16	d15,#0
	st.w	-268422352,d15
;  517 |  P11_POCON1     =  0x0000;      // load output configuration register1
	.symb	LINE, 517
	mov16	d15,#0
	st.w	-268422348,d15
;  518 |  P11_POCON2     =  0x0000;      // load output configuration register2
	.symb	LINE, 518
	mov16	d15,#0
	st.w	-268422344,d15
;  519 |  P11_POCON3     =  0x0000;      // load output configuration register3
	.symb	LINE, 519
	mov16	d15,#0
	st.w	-268422340,d15
;  520 |  P11_DIR        =  0x0000;      // load direction register
	.symb	LINE, 520
	mov16	d15,#0
	st.w	-268422376,d15
;  521 |
;  522 |  ///  -----------------------------------------------------------------------
;  523 |  ///  Configuration of Port P12:
;  524 |  ///  -----------------------------------------------------------------------
;  525 |  ///  P12.12:
;  526 |  ///  - is used as alternate input for the ASC0 receive input signal 
;  527 |  ///    (ASC0_RXD)
;  528 |  ///  - pull device is disabled (tristate) 
;  529 |  ///  - input threshold type: TTL input
;  530 |  ///  - output edge characteristic: normal timing
;  531 |  ///  - output driver characteristic: high current mode
;  532 |  ///  P12.13:
;  533 |  ///  - is used as alternate output for the ASC0 transmit output signal 
;  534 |  ///    (ASC0_TXD)
;  535 |  ///  - push/pull output is selected
;  536 |  ///  - pull device is disabled (tristate) 
;  537 |  ///  - input threshold type: TTL input
;  538 |  ///  - output edge characteristic: normal timing
;  539 |  ///  - output driver characteristic: high current mode
;  540 |  ///  P12.14:
;  541 |  ///  - is used as alternate input for the ASC1 receive input signal 
;  542 |  ///    (ASC1_RXD)
;  543 |  ///  - pull device is disabled (tristate) 
;  544 |  ///  - input threshold type: TTL input
;  545 |  ///  - output edge characteristic: normal timing
;  546 |  ///  - output driver characteristic: high current mode
;  547 |  ///  P12.15:
;  548 |  ///  - is used as alternate output for the ASC1 transmit output signal 
;  549 |  ///    (ASC1_TXD)
;  550 |  ///  - push/pull output is selected
;  551 |  ///  - pull device is disabled (tristate) 
;  552 |  ///  - input threshold type: TTL input
;  553 |  ///  - output edge characteristic: normal timing
;  554 |  ///  - output driver characteristic: high current mode
;  555 |
;  556 |  P12_OD         =  0x0000;      // load open-drain register
	.symb	LINE, 556
	mov16	d15,#0
	st.w	-268422116,d15
;  557 |  P12_OUT        =  0x0000;      // load data output register
	.symb	LINE, 557
	mov16	d15,#0
	st.w	-268422128,d15
;  558 |  P12_PUDSEL     =  0x0000;      // load pullup/pulldown select register
	.symb	LINE, 558
	mov16	d15,#0
	st.w	-268422104,d15
;  559 |  P12_PUDEN      =  0x0000;      // load pullup/pulldown enable register
	.symb	LINE, 559
	mov16	d15,#0
	st.w	-268422100,d15
;  560 |  P12_PICON      =  0x0000;      // load input configuration register
	.symb	LINE, 560
	mov16	d15,#0
	st.w	-268422080,d15
;  561 |  P12_ALTSEL0    =  0x0000;      // load alternate output function select 
	.symb	LINE, 561
	mov16	d15,#0
	st.w	-268422076,d15
;  562 |                                 // register 0
;  563 |  P12_POCON0     =  0x0000;      // load output configuration register0
	.symb	LINE, 563
	mov16	d15,#0
	st.w	-268422096,d15
;  564 |  P12_POCON1     =  0x0000;      // load output configuration register1
	.symb	LINE, 564
	mov16	d15,#0
	st.w	-268422092,d15
;  565 |  P12_POCON2     =  0x0000;      // load output configuration register2
	.symb	LINE, 565
	mov16	d15,#0
	st.w	-268422088,d15
;  566 |  P12_POCON3     =  0x0000;      // load output configuration register3
	.symb	LINE, 566
	mov16	d15,#0
	st.w	-268422084,d15
;  567 |  P12_DIR        =  0x0000;      // load direction register
	.symb	LINE, 567
	mov16	d15,#0
	st.w	-268422120,d15
;  568 |
;  569 |  ///  -----------------------------------------------------------------------
;  570 |  ///  Configuration of Port P13:
;  571 |  ///  -----------------------------------------------------------------------
;  572 |  ///  P13.12:
;  573 |  ///  - is used as alternate input for the CAN0 receive input signal 
;  574 |  ///    (CAN0_RXD)
;  575 |  ///  - pull device is disabled (tristate) 
;  576 |  ///  - input threshold type: TTL input
;  577 |  ///  - output edge characteristic: normal timing
;  578 |  ///  - output driver characteristic: high current mode
;  579 |  ///  P13.13:
;  580 |  ///  - is used as alternate output for the CAN0 transmitter output signal 
;  581 |  ///    (CAN0_TXD)
;  582 |  ///  - push/pull output is selected
;  583 |  ///  - pull device is disabled (tristate) 
;  584 |  ///  - input threshold type: TTL input
;  585 |  ///  - output edge characteristic: normal timing
;  586 |  ///  - output driver characteristic: high current mode
;  587 |  ///  P13.14:
;  588 |  ///  - is used as alternate input for the CAN1 receive input signal 
;  589 |  ///    (CAN1_RXD)
;  590 |  ///  - pull device is disabled (tristate) 
;  591 |  ///  - input threshold type: TTL input
;  592 |  ///  - output edge characteristic: normal timing
;  593 |  ///  - output driver characteristic: high current mode
;  594 |  ///  P13.15:
;  595 |  ///  - is used as alternate output for the CAN1 transmitter output signal 
;  596 |  ///    (CAN1_TXD)
;  597 |  ///  - push/pull output is selected
;  598 |  ///  - pull device is disabled (tristate) 
;  599 |  ///  - input threshold type: TTL input
;  600 |  ///  - output edge characteristic: normal timing
;  601 |  ///  - output driver characteristic: high current mode
;  602 |
;  603 |  P13_OD         =  0x0000;      // load open-drain register
	.symb	LINE, 603
	mov16	d15,#0
	st.w	-268421860,d15
;  604 |  P13_OUT        =  0x0000;      // load data output register
	.symb	LINE, 604
	mov16	d15,#0
	st.w	-268421872,d15
;  605 |  P13_PUDSEL     =  0x0000;      // load pullup/pulldown select register
	.symb	LINE, 605
	mov16	d15,#0
	st.w	-268421848,d15
;  606 |  P13_PUDEN      =  0x0000;      // load pullup/pulldown enable register
	.symb	LINE, 606
	mov16	d15,#0
	st.w	-268421844,d15
;  607 |  P13_PICON      =  0x0000;      // load input configuration register
	.symb	LINE, 607
	mov16	d15,#0
	st.w	-268421824,d15
;  608 |  P13_ALTSEL0    =  0x0000;      // load alternate output function select 
	.symb	LINE, 608
	mov16	d15,#0
	st.w	-268421820,d15
;  609 |                                 // register 0
;  610 |  P13_ALTSEL1    =  0x0000;      // load alternate output function select 
	.symb	LINE, 610
	mov16	d15,#0
	st.w	-268421816,d15
;  611 |                                 // register 1
;  612 |  P13_POCON0     =  0x0000;      // load output configuration register0
	.symb	LINE, 612
	mov16	d15,#0
	st.w	-268421840,d15
;  613 |  P13_POCON1     =  0x0000;      // load output configuration register1
	.symb	LINE, 613
	mov16	d15,#0
	st.w	-268421836,d15
;  614 |  P13_POCON2     =  0x0000;      // load output configuration register2
	.symb	LINE, 614
	mov16	d15,#0
	st.w	-268421832,d15
;  615 |  P13_POCON3     =  0x0000;      // load output configuration register3
	.symb	LINE, 615
	mov16	d15,#0
	st.w	-268421828,d15
;  616 |  P13_DIR        =  0x0000;      // load direction register
	.symb	LINE, 616
	mov16	d15,#0
	st.w	-268421864,d15
;  617 |
;  618 |
;  619 |  // USER CODE BEGIN (IO_Function,3)
;  620 |
;  621 |  // USER CODE END
;  622 |
;  623 |} //  End of function IO_vInit
	.symb	LINE, 623
	ret16
	.symb	EFUN
;  624 |
;  625 |
;  626 |
;  627 |
;  628 |// USER CODE BEGIN (IO_General,10)
;  629 |
;  630 |// USER CODE END
;  631 |
	.symb	ENDF
	.global	IO_vInit
