📄 io_map.c
字号:
/** ###################################################################
** THIS BEAN MODULE IS GENERATED BY THE TOOL. DO NOT MODIFY IT.
** Filename : IO_Map.C
** Project : Node_B
** Processor : MC9S12C64CFA16
** Beantype : IO_Map
** Version : Driver 01.04
** Compiler : Metrowerks HC12 C Compiler
** Date/Time : 2006-11-11, 15:02
** Abstract :
** IO_Map.h - implements an IO device's mapping.
** This module contains symbol definitions of all peripheral
** registers and bits.
** Settings :
**
** Contents :
** No public methods
**
** (c) Copyright UNIS, spol. s r.o. 1997-2005
** UNIS, spol. s r.o.
** Jundrovska 33
** 624 00 Brno
** Czech Republic
** http : www.processorexpert.com
** mail : info@processorexpert.com
** ###################################################################*/
/* Based on CPU DB MC9S12C32_48, version 2.87.339 (RegistersPrg V2.02) */
/* DataSheet : 9S12C-FamilyDGV1/D V01.00 */
#include "PE_types.h"
#include "IO_Map.h"
/*lint -save -esym(765, *) */
/* * * * * 8-BIT REGISTERS * * * * * * * * * * * * * * * */
volatile PORTASTR _PORTA; /* Port A Register; 0x00000000 */
volatile PORTBSTR _PORTB; /* Port B Register; 0x00000001 */
volatile DDRASTR _DDRA; /* Port A Data Direction Register; 0x00000002 */
volatile DDRBSTR _DDRB; /* Port B Data Direction Register; 0x00000003 */
volatile PORTESTR _PORTE; /* Port E Register; 0x00000008 */
volatile DDRESTR _DDRE; /* Port E Data Direction Register; 0x00000009 */
volatile PEARSTR _PEAR; /* Port E Assignment Register; 0x0000000A */
volatile MODESTR _MODE; /* Mode Register; 0x0000000B */
volatile PUCRSTR _PUCR; /* Pull-Up Control Register; 0x0000000C */
volatile RDRIVSTR _RDRIV; /* Reduced Drive of I/O Lines; 0x0000000D */
volatile EBICTLSTR _EBICTL; /* External Bus Interface Control; 0x0000000E */
volatile INITRMSTR _INITRM; /* Initialization of Internal RAM Position Register; 0x00000010 */
volatile INITRGSTR _INITRG; /* Initialization of Internal Registers Position Register; 0x00000011 */
volatile MISCSTR _MISC; /* Miscellaneous System Control Register; 0x00000013 */
volatile ITCRSTR _ITCR; /* Interrupt Test Control Register; 0x00000015 */
volatile ITESTSTR _ITEST; /* Interrupt Test Register; 0x00000016 */
volatile VREGCTRLSTR _VREGCTRL; /* VREG_3V3 - Control Register; 0x00000019 */
volatile MEMSIZ0STR _MEMSIZ0; /* Memory Size Register Zero; 0x0000001C */
volatile MEMSIZ1STR _MEMSIZ1; /* Memory Size Register One; 0x0000001D */
volatile INTCRSTR _INTCR; /* Interrupt Control Register; 0x0000001E */
volatile HPRIOSTR _HPRIO; /* Highest Priority I Interrupt; 0x0000001F */
volatile DBGC1STR _DBGC1; /* Debug Control Register 1; 0x00000020 */
volatile DBGSCSTR _DBGSC; /* Debug Status and Control Register; 0x00000021 */
volatile DBGCNTSTR _DBGCNT; /* Debug Count Register; 0x00000024 */
volatile DBGCCXSTR _DBGCCX; /* Debug Comparator C Extended Register; 0x00000025 */
volatile DBGC2STR _DBGC2; /* Debug Control Register 2; 0x00000028 */
volatile DBGC3STR _DBGC3; /* Debug Control Register 3; 0x00000029 */
volatile DBGCAXSTR _DBGCAX; /* Debug Comparator A Extended Register; 0x0000002A */
volatile DBGCBXSTR _DBGCBX; /* Debug Comparator B Extended Register; 0x0000002D */
volatile PPAGESTR _PPAGE; /* Page Index Register; 0x00000030 */
volatile SYNRSTR _SYNR; /* CRG Synthesizer Register; 0x00000034 */
volatile REFDVSTR _REFDV; /* CRG Reference Divider Register; 0x00000035 */
volatile CRGFLGSTR _CRGFLG; /* CRG Flags Register; 0x00000037 */
volatile CRGINTSTR _CRGINT; /* CRG Interrupt Enable Register; 0x00000038 */
volatile CLKSELSTR _CLKSEL; /* CRG Clock Select Register; 0x00000039 */
volatile PLLCTLSTR _PLLCTL; /* CRG PLL Control Register; 0x0000003A */
volatile RTICTLSTR _RTICTL; /* CRG RTI Control Register; 0x0000003B */
volatile COPCTLSTR _COPCTL; /* CRG COP Control Register; 0x0000003C */
volatile ARMCOPSTR _ARMCOP; /* CRG COP Timer Arm/Reset Register; 0x0000003F */
volatile TIOSSTR _TIOS; /* Timer Input Capture/Output Compare Select; 0x00000040 */
volatile CFORCSTR _CFORC; /* Timer Compare Force Register; 0x00000041 */
volatile OC7MSTR _OC7M; /* Output Compare 7 Mask Register; 0x00000042 */
volatile OC7DSTR _OC7D; /* Output Compare 7 Data Register; 0x00000043 */
volatile TSCR1STR _TSCR1; /* Timer System Control Register1; 0x00000046 */
volatile TTOVSTR _TTOV; /* Timer Toggle On Overflow Register; 0x00000047 */
volatile TCTL1STR _TCTL1; /* Timer Control Register 1; 0x00000048 */
volatile TCTL2STR _TCTL2; /* Timer Control Register 2; 0x00000049 */
volatile TCTL3STR _TCTL3; /* Timer Control Register 3; 0x0000004A */
volatile TCTL4STR _TCTL4; /* Timer Control Register 4; 0x0000004B */
volatile TIESTR _TIE; /* Timer Interrupt Enable Register; 0x0000004C */
volatile TSCR2STR _TSCR2; /* Timer System Control Register 2; 0x0000004D */
volatile TFLG1STR _TFLG1; /* Main Timer Interrupt Flag 1; 0x0000004E */
volatile TFLG2STR _TFLG2; /* Main Timer Interrupt Flag 2; 0x0000004F */
volatile PACTLSTR _PACTL; /* 16-Bit Pulse Accumulator A Control Register; 0x00000060 */
volatile PAFLGSTR _PAFLG; /* Pulse Accumulator A Flag Register; 0x00000061 */
volatile ATDSTAT0STR _ATDSTAT0; /* ATD Status Register 0; 0x00000086 */
volatile ATDTEST1STR _ATDTEST1; /* ATD Test Register; 0x00000089 */
volatile ATDSTAT1STR _ATDSTAT1; /* ATD Status Register 1; 0x0000008B */
volatile ATDDIENSTR _ATDDIEN; /* ATD Input Enable Register; 0x0000008D */
volatile PORTAD0STR _PORTAD0; /* Port AD0 Register; 0x0000008F */
volatile SCICR1STR _SCICR1; /* SCI Control Register 1; 0x000000CA */
volatile SCICR2STR _SCICR2; /* SCI Control Register 2; 0x000000CB */
volatile SCISR1STR _SCISR1; /* SCI Status Register 1; 0x000000CC */
volatile SCISR2STR _SCISR2; /* SCI Status Register 2; 0x000000CD */
volatile SCIDRHSTR _SCIDRH; /* SCI Data Register High; 0x000000CE */
volatile SCIDRLSTR _SCIDRL; /* SCI Data Register Low; 0x000000CF */
volatile SPICR1STR _SPICR1; /* SPI Control Register; 0x000000D8 */
volatile SPICR2STR _SPICR2; /* SPI Control Register 2; 0x000000D9 */
volatile SPIBRSTR _SPIBR; /* SPI Baud Rate Register; 0x000000DA */
volatile SPISRSTR _SPISR; /* SPI Status Register; 0x000000DB */
volatile SPIDRSTR _SPIDR; /* SPI Data Register; 0x000000DD */
volatile PWMESTR _PWME; /* PWM Enable Register; 0x000000E0 */
volatile PWMPOLSTR _PWMPOL; /* PWM Polarity Register; 0x000000E1 */
volatile PWMCLKSTR _PWMCLK; /* PWM Clock Select Register; 0x000000E2 */
volatile PWMPRCLKSTR _PWMPRCLK; /* PWM Prescale Clock Select Register; 0x000000E3 */
volatile PWMCAESTR _PWMCAE; /* PWM Center Align Enable Register; 0x000000E4 */
volatile PWMCTLSTR _PWMCTL; /* PWM Control Register; 0x000000E5 */
volatile PWMSCLASTR _PWMSCLA; /* PWM Scale A Register; 0x000000E8 */
volatile PWMSCLBSTR _PWMSCLB; /* PWM Scale B Register; 0x000000E9 */
volatile PWMSDNSTR _PWMSDN; /* PWM Shutdown Register; 0x000000FE */
volatile FCLKDIVSTR _FCLKDIV; /* Flash Clock Divider Register; 0x00000100 */
volatile FSECSTR _FSEC; /* Flash Security Register; 0x00000101 */
volatile FCNFGSTR _FCNFG; /* Flash Configuration Register; 0x00000103 */
volatile FPROTSTR _FPROT; /* Flash Protection Register; 0x00000104 */
volatile FSTATSTR _FSTAT; /* Flash Status Register; 0x00000105 */
volatile FCMDSTR _FCMD; /* Flash Command Buffer and Register; 0x00000106 */
volatile CANCTL0STR _CANCTL0; /* MSCAN Control 0 Register; 0x00000140 */
volatile CANCTL1STR _CANCTL1; /* MSCAN Control 1 Register; 0x00000141 */
volatile CANBTR0STR _CANBTR0; /* MSCAN Bus Timing Register 0; 0x00000142 */
volatile CANBTR1STR _CANBTR1; /* MSCAN Bus Timing Register 1; 0x00000143 */
volatile CANRFLGSTR _CANRFLG; /* MSCAN Receiver Flag Register; 0x00000144 */
volatile CANRIERSTR _CANRIER; /* MSCAN Receiver Interrupt Enable Register; 0x00000145 */
volatile CANTFLGSTR _CANTFLG; /* MSCAN Transmitter Flag Register; 0x00000146 */
volatile CANTIERSTR _CANTIER; /* MSCAN Transmitter Interrupt Enable Register; 0x00000147 */
volatile CANTARQSTR _CANTARQ; /* MSCAN Transmitter Message Abort Request; 0x00000148 */
volatile CANTAAKSTR _CANTAAK; /* MSCAN Transmitter Message Abort Control; 0x00000149 */
volatile CANTBSELSTR _CANTBSEL; /* MSCAN Transmit Buffer Selection; 0x0000014A */
volatile CANIDACSTR _CANIDAC; /* MSCAN Identifier Acceptance Control Register; 0x0000014B */
volatile CANRXERRSTR _CANRXERR; /* MSCAN Receive Error Counter Register; 0x0000014E */
volatile CANTXERRSTR _CANTXERR; /* MSCAN Transmit Error Counter Register; 0x0000014F */
volatile CANIDAR0STR _CANIDAR0; /* MSCAN Identifier Acceptance Register 0; 0x00000150 */
volatile CANIDAR1STR _CANIDAR1; /* MSCAN Identifier Acceptance Register 1; 0x00000151 */
volatile CANIDAR2STR _CANIDAR2; /* MSCAN Identifier Acceptance Register 2; 0x00000152 */
volatile CANIDAR3STR _CANIDAR3; /* MSCAN Identifier Acceptance Register 3; 0x00000153 */
volatile CANIDMR0STR _CANIDMR0; /* MSCAN Identifier Mask Register 0; 0x00000154 */
volatile CANIDMR1STR _CANIDMR1; /* MSCAN Identifier Mask Register 1; 0x00000155 */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -