6251 lines
286 KiB
INI
6251 lines
286 KiB
INI
; The format of the input file:
|
||
; each device definition begins with a line like this:
|
||
;
|
||
; .devicename
|
||
;
|
||
; after it go the port definitions in this format:
|
||
;
|
||
; portname address
|
||
;
|
||
; the bit definitions (optional) are represented like this:
|
||
;
|
||
; portname.bitname bitnumber
|
||
;
|
||
; lines beginning with a space are ignored.
|
||
; comment lines should be started with ';' character.
|
||
;
|
||
; the default device is specified at the start of the file
|
||
;
|
||
; .default device_name
|
||
;
|
||
; all lines non conforming to the format are passed to the callback function
|
||
;
|
||
; MITSUBISHI 7900 SPECIFIC LINES
|
||
;------------------------
|
||
;
|
||
; the processor definition may include the memory configuration.
|
||
; the line format is:
|
||
|
||
; area CLASS AREA-NAME START:END
|
||
;
|
||
; where CLASS is anything, but please use one of CODE, DATA, BSS
|
||
; START and END are addresses, the end address is not included
|
||
|
||
; Interrupt vectors are declared in the following way:
|
||
|
||
; entry NAME ADDRESS COMMENT
|
||
|
||
.default M37905M4C
|
||
|
||
.M37905F8CFP_SP
|
||
; http://www.mitsubishichips.com/Global/content/product/mcu/16bit/7700f/7900s/7905g/e7905um.pdf
|
||
; http://www.infomicom.mesc.co.jp/micom/english/edocs/7900/ds/e7905f8c.pdf
|
||
|
||
|
||
; MEMORY MAP
|
||
area DATA FSR 0x0000:0x0100
|
||
area BSS RESERVED 0x0100:0x0400
|
||
area DATA RAM_ 0x0400:0x1000 Internal RAM
|
||
area DATA FLASH_ 0x1000:0xFFB4 Internal Flash
|
||
area DATA USER_VEC 0xFFB4:0x10000
|
||
|
||
|
||
; Interrupt and reset vector assignments (? !!!)
|
||
interrupt __RESET 0xFFFE RESET
|
||
interrupt Zero_ 0xFFFC Zero divide
|
||
interrupt BRK_ 0xFFFA BRK instruction
|
||
interrupt DBC_ 0xFFF8 DBC
|
||
interrupt Watchdog_ 0xFFF6 Watchdog timer
|
||
interrupt INT0_ 0xFFF2 INT0
|
||
interrupt INT1_ 0xFFF0 INT1
|
||
interrupt INT2_ 0xFFEE INT2
|
||
interrupt Timer_A0 0xFFEC Timer A0
|
||
interrupt Timer_A1 0xFFEA Timer A1
|
||
interrupt Timer_A2 0xFFE8 Timer A2
|
||
interrupt Timer_A3 0xFFE6 Timer A3
|
||
interrupt Timer_A4 0xFFE4 Timer A4
|
||
interrupt Timer_B0 0xFFE2 Timer B0
|
||
interrupt Timer_B1 0xFFE0 Timer B1
|
||
interrupt Timer_B2 0xFFDE Timer B2
|
||
interrupt UART0_R 0xFFDC UART0 receive
|
||
interrupt UART0_T 0xFFDA UART0 transmit
|
||
interrupt UART1_R 0xFFD8 UART1 receive
|
||
interrupt UART1_T 0xFFD6 UART1 transmit
|
||
interrupt A_D_CONV 0xFFD4 A-D conversion
|
||
interrupt INT3_ 0xFFD2 INT3
|
||
interrupt INT4_ 0xFFD0 INT4
|
||
interrupt ADR_M_D 0xFFCA Address matching detect
|
||
interrupt INT5_ 0xFFC6 INT5
|
||
interrupt INT6_ 0xFFC4 INT6
|
||
interrupt INT7_ 0xFFC2 INT7
|
||
interrupt Timer_A5 0xFFC0 Timer A5
|
||
interrupt Timer_A6 0xFFBE Timer A6
|
||
interrupt Timer_A7 0xFFBC Timer A7
|
||
interrupt Timer_A8 0xFFBA Timer A8
|
||
interrupt Timer_A9 0xFFB8 Timer A9
|
||
interrupt UART2_R 0xFFB6 UART2 receive
|
||
interrupt UART2_T 0xFFB4 UART2 transmit
|
||
|
||
|
||
; INPUT/ OUTPUT PORTS
|
||
RESERVED0000 0x0000 RESERVED
|
||
RESERVED0001 0x0001 RESERVED
|
||
RESERVED0002 0x0002 RESERVED
|
||
P1 0x0003 Port P1 register
|
||
P1.P1_7 7 Port pin P17
|
||
P1.P1_6 6 Port pin P16
|
||
P1.P1_5 5 Port pin P15
|
||
P1.P1_4 4 Port pin P14
|
||
P1.P1_3 3 Port pin P13
|
||
P1.P1_2 2 Port pin P12
|
||
P1.P1_1 1 Port pin P11
|
||
P1.P1_0 0 Port pin P10
|
||
RESERVED0004 0x0004 RESERVED
|
||
PD1 0x0005 Port P1 direction register
|
||
PD1.PD1_7 7 Port P17 direction bit
|
||
PD1.PD1_6 6 Port P16 direction bit
|
||
PD1.PD1_5 5 Port P15 direction bit
|
||
PD1.PD1_4 4 Port P14 direction bit
|
||
PD1.PD1_3 3 Port P13 direction bit
|
||
PD1.PD1_2 2 Port P12 direction bit
|
||
PD1.PD1_1 1 Port P11 direction bit
|
||
PD1.PD1_0 0 Port P10 direction bit
|
||
P2 0x0006 Port P2 register
|
||
P2.P2_7 7 Port pin P27
|
||
P2.P2_6 6 Port pin P26
|
||
P2.P2_5 5 Port pin P25
|
||
P2.P2_4 4 Port pin P24
|
||
P2.P2_3 3 Port pin P23
|
||
P2.P2_2 2 Port pin P22
|
||
P2.P2_1 1 Port pin P21
|
||
P2.P2_0 0 Port pin P20
|
||
RESERVED0007 0x0007 RESERVED
|
||
PD2 0x0008 Port P2 direction register
|
||
PD2.PD2_7 7 Port P27 direction bit
|
||
PD2.PD2_6 6 Port P26 direction bit
|
||
PD2.PD2_5 5 Port P25 direction bit
|
||
PD2.PD2_4 4 Port P24 direction bit
|
||
PD2.PD2_3 3 Port P23 direction bit
|
||
PD2.PD2_2 2 Port P22 direction bit
|
||
PD2.PD2_1 1 Port P21 direction bit
|
||
PD2.PD2_0 0 Port P20 direction bit
|
||
RESERVED0009 0x0009 RESERVED
|
||
P4 0x000A Port P4 register
|
||
P4.P4_7 7 Port pin P47
|
||
P4.P4_6 6 Port pin P46
|
||
P4.P4_5 5 Port pin P45
|
||
P4.P4_4 4 Port pin P44
|
||
P4.P4_3 3 Port pin P43
|
||
P4.P4_2 2 Port pin P42
|
||
P4.P4_1 1 Port pin P41
|
||
P4.P4_0 0 Port pin P40
|
||
P5 0x000B Port P5 register
|
||
P5.P5_7 7 Port pin P57
|
||
P5.P5_6 6 Port pin P56
|
||
P5.P5_5 5 Port pin P55
|
||
P5.P5_4 4 Port pin P54
|
||
P5.P5_3 3 Port pin P53
|
||
P5.P5_2 2 Port pin P52
|
||
P5.P5_1 1 Port pin P51
|
||
P5.P5_0 0 Port pin P50
|
||
PD4 0x000C Port P4 direction register
|
||
PD4.PD4_7 7 Port P47 direction bit
|
||
PD4.PD4_6 6 Port P46 direction bit
|
||
PD4.PD4_5 5 Port P45 direction bit
|
||
PD4.PD4_4 4 Port P44 direction bit
|
||
PD4.PD4_3 3 Port P43 direction bit
|
||
PD4.PD4_2 2 Port P42 direction bit
|
||
PD4.PD4_1 1 Port P41 direction bit
|
||
PD4.PD4_0 0 Port P40 direction bit
|
||
PD5 0x000D Port P5 direction register
|
||
PD5.PD5_7 7 Port P57 direction bit
|
||
PD5.PD5_6 6 Port P56 direction bit
|
||
PD5.PD5_5 5 Port P55 direction bit
|
||
PD5.PD5_4 4 Port P54 direction bit
|
||
PD5.PD5_3 3 Port P53 direction bit
|
||
PD5.PD5_2 2 Port P52 direction bit
|
||
PD5.PD5_1 1 Port P51 direction bit
|
||
PD5.PD5_0 0 Port P50 direction bit
|
||
P6 0x000E Port P6 register
|
||
P6.P6_7 7 Port pin P67
|
||
P6.P6_6 6 Port pin P66
|
||
P6.P6_5 5 Port pin P65
|
||
P6.P6_4 4 Port pin P64
|
||
P6.P6_3 3 Port pin P63
|
||
P6.P6_2 2 Port pin P62
|
||
P6.P6_1 1 Port pin P61
|
||
P6.P6_0 0 Port pin P60
|
||
P7 0x000F Port P7 register
|
||
P7.P7_7 7 Port pin P77
|
||
P7.P7_6 6 Port pin P76
|
||
P7.P7_5 5 Port pin P75
|
||
P7.P7_4 4 Port pin P74
|
||
P7.P7_3 3 Port pin P73
|
||
P7.P7_2 2 Port pin P72
|
||
P7.P7_1 1 Port pin P71
|
||
P7.P7_0 0 Port pin P70
|
||
PD6 0x0010 Port P6 direction register
|
||
PD6.PD6_7 7 Port P67 direction bit
|
||
PD6.PD6_6 6 Port P66 direction bit
|
||
PD6.PD6_5 5 Port P65 direction bit
|
||
PD6.PD6_4 4 Port P64 direction bit
|
||
PD6.PD6_3 3 Port P63 direction bit
|
||
PD6.PD6_2 2 Port P62 direction bit
|
||
PD6.PD6_1 1 Port P61 direction bit
|
||
PD6.PD6_0 0 Port P60 direction bit
|
||
PD7 0x0011 Port P7 direction register
|
||
PD7.PD7_7 7 Port P77 direction bit
|
||
PD7.PD7_6 6 Port P76 direction bit
|
||
PD7.PD7_5 5 Port P75 direction bit
|
||
PD7.PD7_4 4 Port P74 direction bit
|
||
PD7.PD7_3 3 Port P73 direction bit
|
||
PD7.PD7_2 2 Port P72 direction bit
|
||
PD7.PD7_1 1 Port P71 direction bit
|
||
PD7.PD7_0 0 Port P70 direction bit
|
||
P8 0x0012 Port P8 register
|
||
P8.P8_7 7 Port pin P87
|
||
P8.P8_6 6 Port pin P86
|
||
P8.P8_5 5 Port pin P85
|
||
P8.P8_4 4 Port pin P84
|
||
P8.P8_3 3 Port pin P83
|
||
P8.P8_2 2 Port pin P82
|
||
P8.P8_1 1 Port pin P81
|
||
P8.P8_0 0 Port pin P80
|
||
RESERVED0013 0x0013 RESERVED
|
||
PD8 0x0014 Port P8 direction register
|
||
PD8.PD8_7 7 Port P87 direction bit
|
||
PD8.PD8_6 6 Port P86 direction bit
|
||
PD8.PD8_5 5 Port P85 direction bit
|
||
PD8.PD8_4 4 Port P84 direction bit
|
||
PD8.PD8_3 3 Port P83 direction bit
|
||
PD8.PD8_2 2 Port P82 direction bit
|
||
PD8.PD8_1 1 Port P81 direction bit
|
||
PD8.PD8_0 0 Port P80 direction bit
|
||
RESERVED0015 0x0015 RESERVED
|
||
RESERVED0016 0x0016 RESERVED
|
||
RESERVED0017 0x0017 RESERVED
|
||
RESERVED0018 0x0018 RESERVED
|
||
RESERVED0019 0x0019 RESERVED
|
||
RESERVED001A 0x001A RESERVED
|
||
RESERVED001B 0x001B RESERVED
|
||
RESERVED001C 0x001C RESERVED
|
||
RESERVED001D 0x001D RESERVED
|
||
ADCON0 0x001E A-D control register 0 (***)
|
||
ADCON0.Bit7 7 A-D conversion frequency select bit 0
|
||
ADCON0.Bit6 6 A-D conversion start bit
|
||
ADCON0.Bit4 4 A-D operation mode select bits 0 4
|
||
ADCON0.Bit3 3 A-D operation mode select bits 0 3
|
||
ADCON0.Bit2 2 Analog input pin select bit 2
|
||
ADCON0.Bit1 1 Analog input pin select bit 1
|
||
ADCON0.Bit0 0 Analog input pin select bit 0
|
||
ADCON1 0x001F A-D control register 1 (***)
|
||
ADCON1.Bit6 6 VREF connection select bit
|
||
ADCON1.Bit4 4 A-D conversion frequency select bit 1
|
||
ADCON1.Bit3 3 Resolution select bit
|
||
ADCON1.Bit2 2 A-D operation mode select bit 1
|
||
ADCON1.Bit1 1 A-D sweep pin select bit 1
|
||
ADCON1.Bit0 0 A-D sweep pin select bit 0
|
||
AD0 0x0020 A-D register 0
|
||
AD1 0x0022 A-D register 1
|
||
AD2 0x0024 A-D register 2
|
||
AD3 0x0026 A-D register 3
|
||
AD4 0x0028 A-D register 4
|
||
AD5 0x002A A-D register 5
|
||
AD6 0x002C A-D register 6
|
||
AD7 0x002E A-D register 7
|
||
U0MR 0x0030 UART0 transmit/receive mode register
|
||
U0MR.Bit7 7 Sleep select bit
|
||
U0MR.Bit6 6 Parity enable bit
|
||
U0MR.Bit5 5 Odd/Even parity select bit
|
||
U0MR.Bit4 4 Stop bit length select bit
|
||
U0MR.Bit3 3 Internal/External clock select bit
|
||
U0MR.Bit2 2 Serial I/O mode select bit 2
|
||
U0MR.Bit1 1 Serial I/O mode select bit 1
|
||
U0MR.Bit0 0 Serial I/O mode select bit 0
|
||
BRG0 0x0031 UART0 baud rate register (BRG0) (***)
|
||
U0TB 0x0032 UART0 transmit buffer register
|
||
U0C0 0x0034 UART0 transmit/receive control register 0
|
||
U0C0.Bit7 7 Transfer format select bit
|
||
U0C0.Bit6 6 CLK polarity select bit
|
||
U0C0.Bit5 5 UARTi receive interrupt mode select bit
|
||
U0C0.Bit4 4 CTS/RTS enable bit
|
||
U0C0.Bit3 3 Transmit register empty flag
|
||
U0C0.Bit2 2 CTS/RTS function select bit
|
||
U0C0.Bit1 1 BRG count source select bit 1
|
||
U0C0.Bit0 0 BRG count source select bit 0
|
||
U0C1 0x0035 UART0 transmit/receive control register 1
|
||
U0C1.Bit7 7 Error sum flag
|
||
U0C1.Bit6 6 Parity error flag
|
||
U0C1.Bit5 5 Framing error flag
|
||
U0C1.Bit4 4 Overrun error flag
|
||
U0C1.Bit3 3 Receive complete flag
|
||
U0C1.Bit2 2 Receive enable bit
|
||
U0C1.Bit1 1 Transmit buffer empty flag
|
||
U0C1.Bit0 0 Transmit enable bit
|
||
U0RB 0x0036 UART0 receive buffer register
|
||
U1MR 0x0038 UART1 transmit/receive mode register
|
||
U1MR.Bit7 7 Sleep select bit
|
||
U1MR.Bit6 6 Parity enable bit
|
||
U1MR.Bit5 5 Odd/Even parity select bit
|
||
U1MR.Bit4 4 Stop bit length select bit
|
||
U1MR.Bit3 3 Internal/External clock select bit
|
||
U1MR.Bit2 2 Serial I/O mode select bit 2
|
||
U1MR.Bit1 1 Serial I/O mode select bit 1
|
||
U1MR.Bit0 0 Serial I/O mode select bit 0
|
||
BRG1 0x0039 UART1 baud rate register (BRG1) (***)
|
||
U1TB 0x003A UART1 transmit buffer register
|
||
U1C0 0x003C UART1 transmit/receive control register 0
|
||
U1C0.Bit7 7 Transfer format select bit
|
||
U1C0.Bit6 6 CLK polarity select bit
|
||
U1C0.Bit5 5 UARTi receive interrupt mode select bit
|
||
U1C0.Bit4 4 CTS/RTS enable bit
|
||
U1C0.Bit3 3 Transmit register empty flag
|
||
U1C0.Bit2 2 CTS/RTS function select bit
|
||
U1C0.Bit1 1 BRG count source select bit 1
|
||
U1C0.Bit0 0 BRG count source select bit 0
|
||
U1C1 0x003D UART1 transmit/receive control register 1
|
||
U1C1.Bit7 7 Error sum flag
|
||
U1C1.Bit6 6 Parity error flag
|
||
U1C1.Bit5 5 Framing error flag
|
||
U1C1.Bit4 4 Overrun error flag
|
||
U1C1.Bit3 3 Receive complete flag
|
||
U1C1.Bit2 2 Receive enable bit
|
||
U1C1.Bit1 1 Transmit buffer empty flag
|
||
U1C1.Bit0 0 Transmit enable bit
|
||
U1RB 0x003E UART1 receive buffer register
|
||
CSF0 0x0040 Count start flag 0 (***)
|
||
CSF1 0x0041 Count start flag 1 (***)
|
||
OSSF0 0x0042 One-shot start flag 0 (***)
|
||
OSSF1 0x0043 One-shot start flag 1 (***)
|
||
UDF0 0x0044 Up-down flag 0 (***)
|
||
TACDSR 0x0045 Timer A clock division select register (***)
|
||
TACDSR.Bit1 1 Timer A clock division select bit 1
|
||
TACDSR.Bit0 0 Timer A clock division select bit 0
|
||
TA0 0x0046 Timer A0 register
|
||
TA1 0x0048 Timer A1 register
|
||
TA2 0x004A Timer A2 register
|
||
TA3 0x004C Timer A3 register
|
||
TA4 0x004E Timer A4 register
|
||
TB0 0x0050 Timer B0 register
|
||
TB1 0x0052 Timer B1 register
|
||
TB2 0x0054 Timer B2 register
|
||
TA0MR 0x0056 Timer A0 mode register
|
||
TA0MR.Bit7 7
|
||
TA0MR.Bit6 6
|
||
TA0MR.Bit5 5
|
||
TA0MR.Bit4 4
|
||
TA0MR.Bit3 3
|
||
TA0MR.Bit2 2
|
||
TA0MR.Bit1 1 Operating mode select bit 1
|
||
TA0MR.Bit0 0 Operating mode select bit 0
|
||
TA1MR 0x0057 Timer A1 mode register
|
||
TA1MR.Bit7 7
|
||
TA1MR.Bit6 6
|
||
TA1MR.Bit5 5
|
||
TA1MR.Bit4 4
|
||
TA1MR.Bit3 3
|
||
TA1MR.Bit2 2
|
||
TA1MR.Bit1 1 Operating mode select bit 1
|
||
TA1MR.Bit0 0 Operating mode select bit 0
|
||
TA2MR 0x0058 Timer A2 mode register
|
||
TA2MR.Bit7 7
|
||
TA2MR.Bit6 6
|
||
TA2MR.Bit5 5
|
||
TA2MR.Bit4 4
|
||
TA2MR.Bit3 3
|
||
TA2MR.Bit2 2
|
||
TA2MR.Bit1 1 Operating mode select bit 1
|
||
TA2MR.Bit0 0 Operating mode select bit 0
|
||
TA3MR 0x0059 Timer A3 mode register
|
||
TA3MR.Bit7 7
|
||
TA3MR.Bit6 6
|
||
TA3MR.Bit5 5
|
||
TA3MR.Bit4 4
|
||
TA3MR.Bit3 3
|
||
TA3MR.Bit2 2
|
||
TA3MR.Bit1 1 Operating mode select bit 1
|
||
TA3MR.Bit0 0 Operating mode select bit 0
|
||
TA4MR 0x005A Timer A4 mode register
|
||
TA4MR.Bit7 7
|
||
TA4MR.Bit6 6
|
||
TA4MR.Bit5 5
|
||
TA4MR.Bit4 4
|
||
TA4MR.Bit3 3
|
||
TA4MR.Bit2 2
|
||
TA4MR.Bit1 1 Operating mode select bit 1
|
||
TA4MR.Bit0 0 Operating mode select bit 0
|
||
TB0MR 0x005B Timer B0 mode register
|
||
TB0MR.Bit7 7
|
||
TB0MR.Bit6 6
|
||
TB0MR.Bit5 5
|
||
TB0MR.Bit4 4
|
||
TB0MR.Bit3 3
|
||
TB0MR.Bit2 2
|
||
TB0MR.Bit1 1 Operating mode select bit 1
|
||
TB0MR.Bit0 0 Operating mode select bit 0
|
||
TB1MR 0x005C Timer B1 mode register
|
||
TB1MR.Bit7 7
|
||
TB1MR.Bit6 6
|
||
TB1MR.Bit5 5
|
||
TB1MR.Bit4 4
|
||
TB1MR.Bit3 3
|
||
TB1MR.Bit2 2
|
||
TB1MR.Bit1 1 Operating mode select bit 1
|
||
TB1MR.Bit0 0 Operating mode select bit 0
|
||
TB2MR 0x005D Timer B2 mode register
|
||
TB2MR.Bit7 7
|
||
TB2MR.Bit6 6
|
||
TB2MR.Bit5 5
|
||
TB2MR.Bit4 4
|
||
TB2MR.Bit3 3
|
||
TB2MR.Bit2 2
|
||
TB2MR.Bit1 1 Operating mode select bit 1
|
||
TB2MR.Bit0 0 Operating mode select bit 0
|
||
PM0 0x005E Processor mode register 0
|
||
PM0.Bit6 6 Software reset bit
|
||
PM0.Bit5 5 Interrupt priority detection time select bit 5
|
||
PM0.Bit4 4 Interrupt priority detection time select bit 4
|
||
PM0.Bit1 1 Processor mode bit 1
|
||
PM0.Bit0 0 Processor mode bit 0
|
||
PM1 0x005F Processor mode register 1
|
||
PM1.Bit1 1 Direct page register switch bit
|
||
WDT 0x0060 Watchdog timer register (***)
|
||
WDT.Bit7 7
|
||
WDT.Bit6 6
|
||
WDT.Bit5 5
|
||
WDT.Bit4 4
|
||
WDT.Bit3 3
|
||
WDT.Bit2 2
|
||
WDT.Bit1 1
|
||
WDT.Bit0 0
|
||
WDTFS 0x0061 Watchdog timer frequency select register (***)
|
||
WDTFS.Bit7 7 Watchdog timer clock source select bit at STP termination
|
||
WDTFS.Bit6 6 Watchdog timer clock source select bit at STP termination
|
||
WDTFS.Bit0 0 Watchdog timer frequency select bit
|
||
PFSR0 0x0062 Particular function select register 0 (***)
|
||
PFSR0.Bit1 1 External clcok input select bit
|
||
PFSR0.Bit0 0 STP instruction invalidity select bit
|
||
PFSR1 0x0063 Particular function select register 1 (***)
|
||
PFSR1.Bit6 6 Timer B2 clock source select bit
|
||
PFSR1.Bit3 3 System clock stop select bit at WIT
|
||
PFSR1.Bit1 1 WIT-instruction-execution status bit
|
||
PFSR1.Bit0 0 STP-instruction-execution status bit
|
||
PFSR2 0x0064 Particular function select register 2 (***)
|
||
PFSR2.Bit7 7
|
||
PFSR2.Bit6 6
|
||
PFSR2.Bit5 5
|
||
PFSR2.Bit4 4
|
||
PFSR2.Bit3 3
|
||
PFSR2.Bit2 2
|
||
PFSR2.Bit1 1
|
||
PFSR2.Bit0 0
|
||
RESERVED0065 0x0065 RESERVED
|
||
DCR0 0x0066 Debug control register 0 (***)
|
||
DCR0.Bit5 5 Detect enable bit
|
||
DCR0.Bit2 2 Detect condition select bit 2
|
||
DCR0.Bit1 1 Detect condition select bit 1
|
||
DCR0.Bit0 0 Detect condition select bit 0
|
||
DCR1 0x0067 Debug control register 1 (***)
|
||
DCR1.Bit6 6 Address-matching-detection 2 decision bit
|
||
DCR1.Bit2 2 Address compare register access enable bit
|
||
ACR0 0x0068 Address compare register 0 (***)
|
||
ACR1 0x006B Address compare register 1 (***)
|
||
INT3IC 0x006E INT3 interrupt control register
|
||
INT3IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT3IC.Bit4 4 Polarity select bit
|
||
INT3IC.Bit3 3 Interrupt request bit
|
||
INT3IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT3IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT3IC.Bit0 0 Interrupt priority level select bit 0
|
||
INT4IC 0x006F INT4 interrupt control register
|
||
INT4IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT4IC.Bit4 4 Polarity select bit
|
||
INT4IC.Bit3 3 Interrupt request bit
|
||
INT4IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT4IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT4IC.Bit0 0 Interrupt priority level select bit 0
|
||
ADIC 0x0070 A-D conversion interrupt control register
|
||
ADIC.Bit3 3 Interrupt request bit
|
||
ADIC.Bit2 2 Interrupt priority level select bit 2
|
||
ADIC.Bit1 1 Interrupt priority level select bit 1
|
||
ADIC.Bit0 0 Interrupt priority level select bit 0
|
||
S0TIC 0x0071 UART0 transmit interrupt control register
|
||
S0TIC.Bit3 3 Interrupt request bit
|
||
S0TIC.Bit2 2 Interrupt priority level select bit 2
|
||
S0TIC.Bit1 1 Interrupt priority level select bit 1
|
||
S0TIC.Bit0 0 Interrupt priority level select bit 0
|
||
S0RIC 0x0072 UART0 receive interrupt control register
|
||
S0RIC.Bit3 3 Interrupt request bit
|
||
S0RIC.Bit2 2 Interrupt priority level select bit 2
|
||
S0RIC.Bit1 1 Interrupt priority level select bit 1
|
||
S0RIC.Bit0 0 Interrupt priority level select bit 0
|
||
S1TIC 0x0073 UART1 transmit interrupt control register
|
||
S1TIC.Bit3 3 Interrupt request bit
|
||
S1TIC.Bit2 2 Interrupt priority level select bit 2
|
||
S1TIC.Bit1 1 Interrupt priority level select bit 1
|
||
S1TIC.Bit0 0 Interrupt priority level select bit 0
|
||
S1RIC 0x0074 UART1 receive interrupt control register
|
||
S1RIC.Bit3 3 Interrupt request bit
|
||
S1RIC.Bit2 2 Interrupt priority level select bit 2
|
||
S1RIC.Bit1 1 Interrupt priority level select bit 1
|
||
S1RIC.Bit0 0 Interrupt priority level select bit 0
|
||
TA0IC 0x0075 Timer A0 interrupt control register
|
||
TA0IC.Bit3 3 Interrupt request bit
|
||
TA0IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA0IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA0IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA1IC 0x0076 Timer A1 interrupt control register
|
||
TA1IC.Bit3 3 Interrupt request bit
|
||
TA1IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA1IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA1IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA2IC 0x0077 Timer A2 interrupt control register
|
||
TA2IC.Bit3 3 Interrupt request bit
|
||
TA2IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA2IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA2IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA3IC 0x0078 Timer A3 interrupt control register
|
||
TA3IC.Bit3 3 Interrupt request bit
|
||
TA3IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA3IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA3IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA4IC 0x0079 Timer A4 interrupt control register
|
||
TA4IC.Bit3 3 Interrupt request bit
|
||
TA4IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA4IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA4IC.Bit0 0 Interrupt priority level select bit 0
|
||
TB0IC 0x007A Timer B0 interrupt control register
|
||
TB0IC.Bit3 3 Interrupt request bit
|
||
TB0IC.Bit2 2 Interrupt priority level select bit 2
|
||
TB0IC.Bit1 1 Interrupt priority level select bit 1
|
||
TB0IC.Bit0 0 Interrupt priority level select bit 0
|
||
TB1IC 0x007B Timer B1 interrupt control register
|
||
TB1IC.Bit3 3 Interrupt request bit
|
||
TB1IC.Bit2 2 Interrupt priority level select bit 2
|
||
TB1IC.Bit1 1 Interrupt priority level select bit 1
|
||
TB1IC.Bit0 0 Interrupt priority level select bit 0
|
||
TB2IC 0x007C Timer B2 interrupt control register
|
||
TB2IC.Bit3 3 Interrupt request bit
|
||
TB2IC.Bit2 2 Interrupt priority level select bit 2
|
||
TB2IC.Bit1 1 Interrupt priority level select bit 1
|
||
TB2IC.Bit0 0 Interrupt priority level select bit 0
|
||
INT0IC 0x007D INT0 interrupt control register
|
||
INT0IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT0IC.Bit4 4 Polarity select bit
|
||
INT0IC.Bit3 3 Interrupt request bit
|
||
INT0IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT0IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT0IC.Bit0 0 Interrupt priority level select bit 0
|
||
INT1IC 0x007E INT1 interrupt control register
|
||
INT1IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT1IC.Bit4 4 Polarity select bit
|
||
INT1IC.Bit3 3 Interrupt request bit
|
||
INT1IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT1IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT1IC.Bit0 0 Interrupt priority level select bit 0
|
||
INT2IC 0x007F INT2 interrupt control register
|
||
INT2IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT2IC.Bit4 4 Polarity select bit
|
||
INT2IC.Bit3 3 Interrupt request bit
|
||
INT2IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT2IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT2IC.Bit0 0 Interrupt priority level select bit 0
|
||
RESERVED0080 0x0080 RESERVED
|
||
RESERVED0081 0x0081 RESERVED
|
||
RESERVED0082 0x0082 RESERVED
|
||
RESERVED0083 0x0083 RESERVED
|
||
RESERVED0084 0x0084 RESERVED
|
||
RESERVED0085 0x0085 RESERVED
|
||
RESERVED0086 0x0086 RESERVED
|
||
RESERVED0087 0x0087 RESERVED
|
||
RESERVED0088 0x0088 RESERVED
|
||
RESERVED0089 0x0089 RESERVED
|
||
RESERVED008A 0x008A RESERVED
|
||
RESERVED008B 0x008B RESERVED
|
||
RESERVED008C 0x008C RESERVED
|
||
RESERVED008D 0x008D RESERVED
|
||
RESERVED008E 0x008E RESERVED
|
||
RESERVED008F 0x008F RESERVED
|
||
RESERVED0090 0x0090 RESERVED
|
||
RESERVED0091 0x0091 RESERVED
|
||
RESERVED0092 0x0092 RESERVED
|
||
RESERVED0093 0x0093 RESERVED
|
||
RESERVED0094 0x0094 RESERVED
|
||
EIIRR 0x0095 External interrupt input read register (***)
|
||
EIIRR.Bit7 7 INT7 read out bit
|
||
EIIRR.Bit6 6 INT6 read out bit
|
||
EIIRR.Bit5 5 INT5 read out bit
|
||
EIIRR.Bit4 4 INT4 read out bit
|
||
EIIRR.Bit3 3 INT3 read out bit
|
||
EIIRR.Bit2 2 INT2 read out bit
|
||
EIIRR.Bit1 1 INT1 read out bit
|
||
EIIRR.Bit0 0 INT0 read out bit
|
||
DACR 0x0096 D-A control register
|
||
DACR.Bit1 1 D-A1 output enable bit
|
||
DACR.Bit0 0 D-A0 output enable bit
|
||
RESERVED0097 0x0097 RESERVED
|
||
DAR0 0x0098 D-A register 0 (***)
|
||
DAR1 0x0099 D-A register 1 (***)
|
||
RESERVED009A 0x009A RESERVED
|
||
RESERVED009B 0x009B RESERVED
|
||
RESERVED009C 0x009C RESERVED
|
||
RESERVED009D 0x009D RESERVED
|
||
FMCR 0x009E Flash memory control register (***)
|
||
FMCR.Bit5 5 User ROM area select bit
|
||
FMCR.Bit3 3 Flash memory reset bit
|
||
FMCR.Bit1 1 CPU reprogramming mode select bit
|
||
FMCR.Bit0 0 RY/BY status bit
|
||
RESERVED009F 0x009F RESERVED
|
||
POCR 0x00A0 Pulse output control register (***)
|
||
POCR.Bit7 7 Waveform output control bit 1
|
||
POCR.Bit6 6 Waveform output control bit 0
|
||
POCR.Bit5 5 Pulse width modulation timer select bit 5
|
||
POCR.Bit4 4 Pulse width modulation timer select bit 4
|
||
POCR.Bit3 3 Pulse output mode select bit
|
||
POCR.Bit2 2 Waveform output select bit 2
|
||
POCR.Bit1 1 Waveform output select bit 1
|
||
POCR.Bit0 0 Waveform output select bit 0
|
||
RESERVED00A1 0x00A1 RESERVED
|
||
PODR0 0x00A2 Pulse output data register 0 (***)
|
||
PODR0.Bit7 7 Pulse output trigger select bit 7
|
||
PODR0.Bit6 6 Pulse output trigger select bit 6
|
||
PODR0.Bit5 5 RTP31 pulse output data bit
|
||
PODR0.Bit4 4 RTP30 pulse output data bit
|
||
PODR0.Bit3 3 RTP23 pulse output data bit
|
||
PODR0.Bit2 2 RTP22 pulse output data bit
|
||
PODR0.Bit1 1 RTP21 pulse output data bit
|
||
PODR0.Bit0 0 RTP20 pulse output data bit
|
||
RESERVED00A3 0x00A3 RESERVED
|
||
PODR1 0x00A4 Pulse output data register 1 (***)
|
||
PODR1.Bit7 7 RTP33 pulse output data bit
|
||
PODR1.Bit6 6 RTP32 pulse output data bit
|
||
PODR1.Bit5 5 RTP31 pulse output data bit
|
||
PODR1.Bit4 4 RTP30 pulse output data bit
|
||
PODR1.Bit3 3 Pulse output polarity select bit
|
||
PODR1.Bit2 2 Pulse width modulation enable bit 2
|
||
PODR1.Bit1 1 Pulse width modulation enable bit 1
|
||
PODR1.Bit0 0 Pulse width modulation enable bit 0
|
||
RESERVED00A5 0x00A5 RESERVED
|
||
WOMR 0x00A6 Waveform output mode register (***)
|
||
WOMR.Bit7 7 Waveform output control bit 1
|
||
WOMR.Bit6 6 Waveform output control bit 0
|
||
WOMR.Bit5 5 Pulse width modulation timer select bit 5
|
||
WOMR.Bit4 4 Pulse width modulation timer select bit 4
|
||
WOMR.Bit3 3 Pulse output mode select bit
|
||
WOMR.Bit2 2 Waveform output select bit 2
|
||
WOMR.Bit1 1 Waveform output select bit 1
|
||
WOMR.Bit0 0 Waveform output select bit 0
|
||
DTT 0x00A7 Dead-time timer (***)
|
||
TPODR0 0x00A8 Three-phase output data register 0 (***)
|
||
TPODR0.Bit7 7 Clock-source-of-dead-time-timer select bit 7
|
||
TPODR0.Bit6 6 Clock-source-of-dead-time-timer select bit 6
|
||
TPODR0.Bit3 3 W-phase output polarity set buffer
|
||
TPODR0.Bit2 2 U-phase output fix bit
|
||
TPODR0.Bit1 1 V-phase output fix bit
|
||
TPODR0.Bit0 0 W-phase output fix bit
|
||
TPODR1 0x00A9 Three-phase output data register 1 (***)
|
||
TPODR1.Bit5 5 U-phase output polarity set buffer / Interrupt validity output select bit
|
||
TPODR1.Bit4 4 V-phase output polarity set buffer / Interrupt request interval set bit
|
||
TPODR1.Bit2 2 U-phase fixed outputs polarity set bit
|
||
TPODR1.Bit1 1 V-phase fixed outputs polarity set bit
|
||
TPODR1.Bit0 0 W-phase fixed outputs polarity set bit
|
||
PDRFCR 0x00AA Position-data-retain function control register (***)
|
||
PDRFCR.Bit3 3 Retain-trigger polarity select bit
|
||
PDRFCR.Bit2 2 U-phase position data retain bit
|
||
PDRFCR.Bit1 1 V-phase position data retain bit
|
||
PDRFCR.Bit0 0 W-phase position data retain bit
|
||
RESERVED00AB 0x00AB RESERVED
|
||
SIOPCR 0x00AC Serial I/O pin control register (***)
|
||
SIOPCR.Bit5 5 TxD2 /P83 switch bit
|
||
SIOPCR.Bit4 4 CTS2/RTS2 separate select bit
|
||
SIOPCR.Bit3 3 TxD1/P17 switch bit
|
||
SIOPCR.Bit2 2 TxD0/P13 switch bit
|
||
SIOPCR.Bit1 1 CTS1/RTS1 separate select bit
|
||
SIOPCR.Bit0 0 CTS0/RTS0 separate select bit
|
||
RESERVED00AD 0x00AD RESERVED
|
||
P2PFCR 0x00AE Port P2 pin function control register (***)
|
||
P2PFCR.Bit2 2 Pin TB2IN select bit
|
||
P2PFCR.Bit1 1 Pin TB1IN select bit
|
||
P2PFCR.Bit0 0 Pin TB0IN select bit
|
||
RESERVED00AF 0x00AF RESERVED
|
||
U2MR 0x00B0 UART2 transmit/receive mode register
|
||
U2MR.Bit7 7 Sleep select bit
|
||
U2MR.Bit6 6 Parity enable bit
|
||
U2MR.Bit5 5 Odd/Even parity select bit
|
||
U2MR.Bit4 4 Stop bit length select bit
|
||
U2MR.Bit3 3 Internal/External clock select bit
|
||
U2MR.Bit2 2 Serial I/O mode select bit 2
|
||
U2MR.Bit1 1 Serial I/O mode select bit 1
|
||
U2MR.Bit0 0 Serial I/O mode select bit 0
|
||
BRG2 0x00B1 UART2 baud rate register (BRG2) (***)
|
||
U2TB 0x00B2 UART2 transmit buffer register
|
||
U2C0 0x00B4 UART2 transmit/receive control register 0
|
||
U2C0.Bit7 7 Transfer format select bit
|
||
U2C0.Bit6 6 CLK polarity select bit
|
||
U2C0.Bit5 5 UARTi receive interrupt mode select bit
|
||
U2C0.Bit4 4 CTS/RTS enable bit
|
||
U2C0.Bit3 3 Transmit register empty flag
|
||
U2C0.Bit2 2 CTS/RTS function select bit
|
||
U2C0.Bit1 1 BRG count source select bit 1
|
||
U2C0.Bit0 0 BRG count source select bit 0
|
||
U2C1 0x00B5 UART2 transmit/receive control register 1
|
||
U2C1.Bit7 7 Error sum flag
|
||
U2C1.Bit6 6 Parity error flag
|
||
U2C1.Bit5 5 Framing error flag
|
||
U2C1.Bit4 4 Overrun error flag
|
||
U2C1.Bit3 3 Receive complete flag
|
||
U2C1.Bit2 2 Receive enable bit
|
||
U2C1.Bit1 1 Transmit buffer empty flag
|
||
U2C1.Bit0 0 Transmit enable bit
|
||
U2RB 0x00B6 UART2 receive buffer register
|
||
RESERVED00B8 0x00B8 RESERVED
|
||
RESERVED00B9 0x00B9 RESERVED
|
||
RESERVED00BA 0x00BA RESERVED
|
||
RESERVED00BB 0x00BB RESERVED
|
||
CCR0 0x00BC Clock control register 0 (***)
|
||
CCR0.Bit7 7 Peripheral devices clock select bit 1
|
||
CCR0.Bit6 6 Peripheral devices clock select bit 0
|
||
CCR0.Bit5 5 System clock select bit
|
||
CCR0.Bit3 3 PLL multiplication ratio select bit 3
|
||
CCR0.Bit2 2 PLL multiplication ratio select bit 2
|
||
CCR0.Bit1 1 PLL circuit operation enable bit
|
||
RESERVED00BD 0x00BD RESERVED
|
||
RESERVED00BE 0x00BE RESERVED
|
||
RESERVED00BF 0x00BF RESERVED
|
||
RESERVED00C0 0x00C0 RESERVED
|
||
RESERVED00C1 0x00C1 RESERVED
|
||
RESERVED00C2 0x00C2 RESERVED
|
||
RESERVED00C3 0x00C3 RESERVED
|
||
UDF1 0x00C4 Up-down flag 1 (***)
|
||
RESERVED00C5 0x00C5 RESERVED
|
||
TA5 0x00C6 Timer A5 register
|
||
TA6 0x00C8 Timer A6 register
|
||
TA7 0x00CA Timer A7 register
|
||
TA8 0x00CC Timer A8 register
|
||
TA9 0x00CE Timer A9 register
|
||
TA01 0x00D0 Timer A01 register
|
||
TA11 0x00D2 Timer A11 register
|
||
TA21 0x00D4 Timer A21 register
|
||
TA5MR 0x00D6 Timer A5 mode register
|
||
TA5MR.Bit7 7
|
||
TA5MR.Bit6 6
|
||
TA5MR.Bit5 5
|
||
TA5MR.Bit4 4
|
||
TA5MR.Bit3 3
|
||
TA5MR.Bit2 2
|
||
TA5MR.Bit1 1 Operating mode select bit 1
|
||
TA5MR.Bit0 0 Operating mode select bit 0
|
||
TA6MR 0x00D7 Timer A6 mode register
|
||
TA6MR.Bit7 7
|
||
TA6MR.Bit6 6
|
||
TA6MR.Bit5 5
|
||
TA6MR.Bit4 4
|
||
TA6MR.Bit3 3
|
||
TA6MR.Bit2 2
|
||
TA6MR.Bit1 1 Operating mode select bit 1
|
||
TA6MR.Bit0 0 Operating mode select bit 0
|
||
TA7MR 0x00D8 Timer A7 mode register
|
||
TA7MR.Bit7 7
|
||
TA7MR.Bit6 6
|
||
TA7MR.Bit5 5
|
||
TA7MR.Bit4 4
|
||
TA7MR.Bit3 3
|
||
TA7MR.Bit2 2
|
||
TA7MR.Bit1 1 Operating mode select bit 1
|
||
TA7MR.Bit0 0 Operating mode select bit 0
|
||
TA8MR 0x00D9 Timer A8 mode register
|
||
TA8MR.Bit7 7
|
||
TA8MR.Bit6 6
|
||
TA8MR.Bit5 5
|
||
TA8MR.Bit4 4
|
||
TA8MR.Bit3 3
|
||
TA8MR.Bit2 2
|
||
TA8MR.Bit1 1 Operating mode select bit 1
|
||
TA8MR.Bit0 0 Operating mode select bit 0
|
||
TA9MR 0x00DA Timer A9 mode register
|
||
TA9MR.Bit7 7
|
||
TA9MR.Bit6 6
|
||
TA9MR.Bit5 5
|
||
TA9MR.Bit4 4
|
||
TA9MR.Bit3 3
|
||
TA9MR.Bit2 2
|
||
TA9MR.Bit1 1 Operating mode select bit 1
|
||
TA9MR.Bit0 0 Operating mode select bit 0
|
||
ADCON2 0x00DB A-D control register 2 (***)
|
||
ADCON2.Bit3 3 Analog input pin select bits 1
|
||
ADCON2.Bit2 2 Analog input pin select bits 1
|
||
ADCON2.Bit1 1 Analog input pin select bits 1
|
||
ADCON2.Bit0 0 Analog input pin select bits 1
|
||
CFSR0 0x00DC Comparator function select register 0 (***)
|
||
CFSR0.Bit7 7 AN7 pin comparator function select bit
|
||
CFSR0.Bit6 6 AN6 pin comparator function select bit
|
||
CFSR0.Bit5 5 AN5 pin comparator function select bit
|
||
CFSR0.Bit4 4 AN4 pin comparator function select bit
|
||
CFSR0.Bit3 3 AN3 pin comparator function select bit
|
||
CFSR0.Bit2 2 AN2 pin comparator function select bit
|
||
CFSR0.Bit1 1 AN1 pin comparator function select bit
|
||
CFSR0.Bit0 0 AN0 pin comparator function select bit
|
||
CFSR1 0x00DD Comparator function select register 1 (***)
|
||
CFSR1.Bit3 3 AN11 pin comparator function select bit
|
||
CFSR1.Bit2 2 AN10 pin comparator function select bit
|
||
CFSR1.Bit1 1 AN9 pin comparator function select bit
|
||
CFSR1.Bit0 0 AN8 pin comparator function select bit
|
||
CRR0 0x00DE Comparator result register 0 (***)
|
||
CRR0.Bit7 7 AN7 pin comparator result bit
|
||
CRR0.Bit6 6 AN6 pin comparator result bit
|
||
CRR0.Bit5 5 AN5 pin comparator result bit
|
||
CRR0.Bit4 4 AN4 pin comparator result bit
|
||
CRR0.Bit3 3 AN3 pin comparator result bit
|
||
CRR0.Bit2 2 AN2 pin comparator result bit
|
||
CRR0.Bit1 1 AN1 pin comparator result bit
|
||
CRR0.Bit0 0 AN0 pin comparator result bit
|
||
CRR1 0x00DF Comparator result register 1 (***)
|
||
CRR1.Bit3 3 AN11 pin comparator result bit
|
||
CRR1.Bit2 2 AN10 pin comparator result bit
|
||
CRR1.Bit1 1 AN9 pin comparator result bit
|
||
CRR1.Bit0 0 AN8 pin comparator result bit
|
||
AD8 0x00E0 A-D register 8
|
||
AD9 0x00E2 A-D register 9
|
||
AD10 0x00E4 A-D register 10
|
||
AD11 0x00E6 A-D register 11
|
||
RESERVED00E8 0x00E8 RESERVED
|
||
RESERVED00E9 0x00E9 RESERVED
|
||
RESERVED00EA 0x00EA RESERVED
|
||
RESERVED00EB 0x00EB RESERVED
|
||
RESERVED00EC 0x00EC RESERVED
|
||
RESERVED00ED 0x00ED RESERVED
|
||
RESERVED00EE 0x00EE RESERVED
|
||
RESERVED00EF 0x00EF RESERVED
|
||
RESERVED00F0 0x00F0 RESERVED
|
||
S2TIC 0x00F1 UART2 transmit interrupt control register
|
||
S2TIC.Bit3 3 Interrupt request bit
|
||
S2TIC.Bit2 2 Interrupt priority level select bit 2
|
||
S2TIC.Bit1 1 Interrupt priority level select bit 1
|
||
S2TIC.Bit0 0 Interrupt priority level select bit 0
|
||
S2RIC 0x00F2 UART2 receive interrupt control register
|
||
S2RIC.Bit3 3 Interrupt request bit
|
||
S2RIC.Bit2 2 Interrupt priority level select bit 2
|
||
S2RIC.Bit1 1 Interrupt priority level select bit 1
|
||
S2RIC.Bit0 0 Interrupt priority level select bit 0
|
||
RESERVED00F3 0x00F3 RESERVED
|
||
RESERVED00F4 0x00F4 RESERVED
|
||
TA5IC 0x00F5 Timer A5 interrupt control register
|
||
TA5IC.Bit3 3 Interrupt request bit
|
||
TA5IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA5IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA5IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA6IC 0x00F6 Timer A6 interrupt control register
|
||
TA6IC.Bit3 3 Interrupt request bit
|
||
TA6IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA6IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA6IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA7IC 0x00F7 Timer A7 interrupt control register
|
||
TA7IC.Bit3 3 Interrupt request bit
|
||
TA7IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA7IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA7IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA8IC 0x00F8 Timer A8 interrupt control register
|
||
TA8IC.Bit3 3 Interrupt request bit
|
||
TA8IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA8IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA8IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA9IC 0x00F9 Timer A9 interrupt control register
|
||
TA9IC.Bit3 3 Interrupt request bit
|
||
TA9IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA9IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA9IC.Bit0 0 Interrupt priority level select bit 0
|
||
RESERVED00FA 0x00FA RESERVED
|
||
RESERVED00FB 0x00FB RESERVED
|
||
RESERVED00FC 0x00FC RESERVED
|
||
INT5IC 0x00FD INT5 interrupt control register
|
||
INT5IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT5IC.Bit4 4 Polarity select bit
|
||
INT5IC.Bit3 3 Interrupt request bit
|
||
INT5IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT5IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT5IC.Bit0 0 Interrupt priority level select bit 0
|
||
INT6IC 0x00FE INT6 interrupt control register
|
||
INT6IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT6IC.Bit4 4 Polarity select bit
|
||
INT6IC.Bit3 3 Interrupt request bit
|
||
INT6IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT6IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT6IC.Bit0 0 Interrupt priority level select bit 0
|
||
INT7IC 0x00FF INT7 interrupt control register
|
||
INT7IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT7IC.Bit4 4 Polarity select bit
|
||
INT7IC.Bit3 3 Interrupt request bit
|
||
INT7IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT7IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT7IC.Bit0 0 Interrupt priority level select bit 0
|
||
|
||
|
||
.M37905M4C
|
||
; http://www.mitsubishichips.com/Global/content/product/mcu/16bit/7700f/7900s/7905g/e7905um.pdf
|
||
; http://www.infomicom.mesc.co.jp/micom/english/edocs/7900/ds/e7905mxc.pdf
|
||
|
||
; *** - ᮡ<>⢥<EFBFBD><E2A2A5><EFBFBD><EFBFBD> ᮪<><E1AEAA>饭<EFBFBD><E9A5AD>
|
||
|
||
|
||
; MEMORY MAP
|
||
area DATA FSR 0x0000:0x0100
|
||
area BSS RESERVED 0x0100:0x0C00
|
||
area DATA RAM_ 0x0C00:0x1000 Internal RAM
|
||
area BSS RESERVED 0x1000:0x8000
|
||
area DATA ROM_ 0x8000:0xFFB4 Internal ROM
|
||
area DATA USER_VEC 0xFFB4:0x10000
|
||
|
||
|
||
; Interrupt and reset vector assignments
|
||
interrupt __RESET 0xFFFE RESET
|
||
interrupt Zero_ 0xFFFC Zero division
|
||
interrupt BRK_ 0xFFFA BRK instruction
|
||
interrupt DBC_ 0xFFF8 DBC
|
||
interrupt Watchdog_ 0xFFF6 Watchdog timer
|
||
interrupt INT0_ 0xFFF2 INT0
|
||
interrupt INT1_ 0xFFF0 INT1
|
||
interrupt INT2_ 0xFFEE INT2
|
||
interrupt Timer_A0 0xFFEC Timer A0
|
||
interrupt Timer_A1 0xFFEA Timer A1
|
||
interrupt Timer_A2 0xFFE8 Timer A2
|
||
interrupt Timer_A3 0xFFE6 Timer A3
|
||
interrupt Timer_A4 0xFFE4 Timer A4
|
||
interrupt Timer_B0 0xFFE2 Timer B0
|
||
interrupt Timer_B1 0xFFE0 Timer B1
|
||
interrupt Timer_B2 0xFFDE Timer B2
|
||
interrupt UART0_R 0xFFDC UART0 receive
|
||
interrupt UART0_T 0xFFDA UART0 transmit
|
||
interrupt UART1_R 0xFFD8 UART1 receive
|
||
interrupt UART1_T 0xFFD6 UART1 transmit
|
||
interrupt A_D_CONV 0xFFD4 A-D conversion
|
||
interrupt INT3_ 0xFFD2 INT3
|
||
interrupt INT4_ 0xFFD0 INT4
|
||
interrupt ADR_M_D 0xFFCA Address matching detect
|
||
interrupt INT5_ 0xFFC6 INT5
|
||
interrupt INT6_ 0xFFC4 INT6
|
||
interrupt INT7_ 0xFFC2 INT7
|
||
interrupt Timer_A5 0xFFC0 Timer A5
|
||
interrupt Timer_A6 0xFFBE Timer A6
|
||
interrupt Timer_A7 0xFFBC Timer A7
|
||
interrupt Timer_A8 0xFFBA Timer A8
|
||
interrupt Timer_A9 0xFFB8 Timer A9
|
||
interrupt UART2_R 0xFFB6 UART2 receive
|
||
interrupt UART2_T 0xFFB4 UART2 transmit
|
||
|
||
|
||
; INPUT/ OUTPUT PORTS
|
||
RESERVED0000 0x0000 RESERVED
|
||
RESERVED0001 0x0001 RESERVED
|
||
RESERVED0002 0x0002 RESERVED
|
||
P1 0x0003 Port P1 register
|
||
P1.P1_7 7 Port pin P17
|
||
P1.P1_6 6 Port pin P16
|
||
P1.P1_5 5 Port pin P15
|
||
P1.P1_4 4 Port pin P14
|
||
P1.P1_3 3 Port pin P13
|
||
P1.P1_2 2 Port pin P12
|
||
P1.P1_1 1 Port pin P11
|
||
P1.P1_0 0 Port pin P10
|
||
RESERVED0004 0x0004 RESERVED
|
||
PD1 0x0005 Port P1 direction register
|
||
PD1.PD1_7 7 Port P17 direction bit
|
||
PD1.PD1_6 6 Port P16 direction bit
|
||
PD1.PD1_5 5 Port P15 direction bit
|
||
PD1.PD1_4 4 Port P14 direction bit
|
||
PD1.PD1_3 3 Port P13 direction bit
|
||
PD1.PD1_2 2 Port P12 direction bit
|
||
PD1.PD1_1 1 Port P11 direction bit
|
||
PD1.PD1_0 0 Port P10 direction bit
|
||
P2 0x0006 Port P2 register
|
||
P2.P2_7 7 Port pin P27
|
||
P2.P2_6 6 Port pin P26
|
||
P2.P2_5 5 Port pin P25
|
||
P2.P2_4 4 Port pin P24
|
||
P2.P2_3 3 Port pin P23
|
||
P2.P2_2 2 Port pin P22
|
||
P2.P2_1 1 Port pin P21
|
||
P2.P2_0 0 Port pin P20
|
||
RESERVED0007 0x0007 RESERVED
|
||
PD2 0x0008 Port P2 direction register
|
||
PD2.PD2_7 7 Port P27 direction bit
|
||
PD2.PD2_6 6 Port P26 direction bit
|
||
PD2.PD2_5 5 Port P25 direction bit
|
||
PD2.PD2_4 4 Port P24 direction bit
|
||
PD2.PD2_3 3 Port P23 direction bit
|
||
PD2.PD2_2 2 Port P22 direction bit
|
||
PD2.PD2_1 1 Port P21 direction bit
|
||
PD2.PD2_0 0 Port P20 direction bit
|
||
RESERVED0009 0x0009 RESERVED
|
||
P4 0x000A Port P4 register
|
||
P4.P4_7 7 Port pin P47
|
||
P4.P4_6 6 Port pin P46
|
||
P4.P4_5 5 Port pin P45
|
||
P4.P4_4 4 Port pin P44
|
||
P4.P4_3 3 Port pin P43
|
||
P4.P4_2 2 Port pin P42
|
||
P4.P4_1 1 Port pin P41
|
||
P4.P4_0 0 Port pin P40
|
||
P5 0x000B Port P5 register
|
||
P5.P5_7 7 Port pin P57
|
||
P5.P5_6 6 Port pin P56
|
||
P5.P5_5 5 Port pin P55
|
||
P5.P5_4 4 Port pin P54
|
||
P5.P5_3 3 Port pin P53
|
||
P5.P5_2 2 Port pin P52
|
||
P5.P5_1 1 Port pin P51
|
||
P5.P5_0 0 Port pin P50
|
||
PD4 0x000C Port P4 direction register
|
||
PD4.PD4_7 7 Port P47 direction bit
|
||
PD4.PD4_6 6 Port P46 direction bit
|
||
PD4.PD4_5 5 Port P45 direction bit
|
||
PD4.PD4_4 4 Port P44 direction bit
|
||
PD4.PD4_3 3 Port P43 direction bit
|
||
PD4.PD4_2 2 Port P42 direction bit
|
||
PD4.PD4_1 1 Port P41 direction bit
|
||
PD4.PD4_0 0 Port P40 direction bit
|
||
PD5 0x000D Port P5 direction register
|
||
PD5.PD5_7 7 Port P57 direction bit
|
||
PD5.PD5_6 6 Port P56 direction bit
|
||
PD5.PD5_5 5 Port P55 direction bit
|
||
PD5.PD5_4 4 Port P54 direction bit
|
||
PD5.PD5_3 3 Port P53 direction bit
|
||
PD5.PD5_2 2 Port P52 direction bit
|
||
PD5.PD5_1 1 Port P51 direction bit
|
||
PD5.PD5_0 0 Port P50 direction bit
|
||
P6 0x000E Port P6 register
|
||
P6.P6_7 7 Port pin P67
|
||
P6.P6_6 6 Port pin P66
|
||
P6.P6_5 5 Port pin P65
|
||
P6.P6_4 4 Port pin P64
|
||
P6.P6_3 3 Port pin P63
|
||
P6.P6_2 2 Port pin P62
|
||
P6.P6_1 1 Port pin P61
|
||
P6.P6_0 0 Port pin P60
|
||
P7 0x000F Port P7 register
|
||
P7.P7_7 7 Port pin P77
|
||
P7.P7_6 6 Port pin P76
|
||
P7.P7_5 5 Port pin P75
|
||
P7.P7_4 4 Port pin P74
|
||
P7.P7_3 3 Port pin P73
|
||
P7.P7_2 2 Port pin P72
|
||
P7.P7_1 1 Port pin P71
|
||
P7.P7_0 0 Port pin P70
|
||
PD6 0x0010 Port P6 direction register
|
||
PD6.PD6_7 7 Port P67 direction bit
|
||
PD6.PD6_6 6 Port P66 direction bit
|
||
PD6.PD6_5 5 Port P65 direction bit
|
||
PD6.PD6_4 4 Port P64 direction bit
|
||
PD6.PD6_3 3 Port P63 direction bit
|
||
PD6.PD6_2 2 Port P62 direction bit
|
||
PD6.PD6_1 1 Port P61 direction bit
|
||
PD6.PD6_0 0 Port P60 direction bit
|
||
PD7 0x0011 Port P7 direction register
|
||
PD7.PD7_7 7 Port P77 direction bit
|
||
PD7.PD7_6 6 Port P76 direction bit
|
||
PD7.PD7_5 5 Port P75 direction bit
|
||
PD7.PD7_4 4 Port P74 direction bit
|
||
PD7.PD7_3 3 Port P73 direction bit
|
||
PD7.PD7_2 2 Port P72 direction bit
|
||
PD7.PD7_1 1 Port P71 direction bit
|
||
PD7.PD7_0 0 Port P70 direction bit
|
||
P8 0x0012 Port P8 register
|
||
P8.P8_7 7 Port pin P87
|
||
P8.P8_6 6 Port pin P86
|
||
P8.P8_5 5 Port pin P85
|
||
P8.P8_4 4 Port pin P84
|
||
P8.P8_3 3 Port pin P83
|
||
P8.P8_2 2 Port pin P82
|
||
P8.P8_1 1 Port pin P81
|
||
P8.P8_0 0 Port pin P80
|
||
RESERVED0013 0x0013 RESERVED
|
||
PD8 0x0014 Port P8 direction register
|
||
PD8.PD8_7 7 Port P87 direction bit
|
||
PD8.PD8_6 6 Port P86 direction bit
|
||
PD8.PD8_5 5 Port P85 direction bit
|
||
PD8.PD8_4 4 Port P84 direction bit
|
||
PD8.PD8_3 3 Port P83 direction bit
|
||
PD8.PD8_2 2 Port P82 direction bit
|
||
PD8.PD8_1 1 Port P81 direction bit
|
||
PD8.PD8_0 0 Port P80 direction bit
|
||
RESERVED0015 0x0015 RESERVED
|
||
RESERVED0016 0x0016 RESERVED
|
||
RESERVED0017 0x0017 RESERVED
|
||
RESERVED0018 0x0018 RESERVED
|
||
RESERVED0019 0x0019 RESERVED
|
||
RESERVED001A 0x001A RESERVED
|
||
RESERVED001B 0x001B RESERVED
|
||
RESERVED001C 0x001C RESERVED
|
||
RESERVED001D 0x001D RESERVED
|
||
ADCON0 0x001E A-D control register 0 (***)
|
||
ADCON0.Bit7 7 A-D conversion frequency select bit 0
|
||
ADCON0.Bit6 6 A-D conversion start bit
|
||
ADCON0.Bit4 4 A-D operation mode select bits 0 4
|
||
ADCON0.Bit3 3 A-D operation mode select bits 0 3
|
||
ADCON0.Bit2 2 Analog input pin select bit 2
|
||
ADCON0.Bit1 1 Analog input pin select bit 1
|
||
ADCON0.Bit0 0 Analog input pin select bit 0
|
||
ADCON1 0x001F A-D control register 1 (***)
|
||
ADCON1.Bit6 6 VREF connection select bit
|
||
ADCON1.Bit4 4 A-D conversion frequency select bit 1
|
||
ADCON1.Bit3 3 Resolution select bit
|
||
ADCON1.Bit2 2 A-D operation mode select bit 1
|
||
ADCON1.Bit1 1 A-D sweep pin select bit 1
|
||
ADCON1.Bit0 0 A-D sweep pin select bit 0
|
||
AD0 0x0020 A-D register 0
|
||
AD1 0x0022 A-D register 1
|
||
AD2 0x0024 A-D register 2
|
||
AD3 0x0026 A-D register 3
|
||
AD4 0x0028 A-D register 4
|
||
AD5 0x002A A-D register 5
|
||
AD6 0x002C A-D register 6
|
||
AD7 0x002E A-D register 7
|
||
U0MR 0x0030 UART0 transmit/receive mode register
|
||
U0MR.Bit7 7 Sleep select bit
|
||
U0MR.Bit6 6 Parity enable bit
|
||
U0MR.Bit5 5 Odd/Even parity select bit
|
||
U0MR.Bit4 4 Stop bit length select bit
|
||
U0MR.Bit3 3 Internal/External clock select bit
|
||
U0MR.Bit2 2 Serial I/O mode select bit 2
|
||
U0MR.Bit1 1 Serial I/O mode select bit 1
|
||
U0MR.Bit0 0 Serial I/O mode select bit 0
|
||
BRG0 0x0031 UART0 baud rate register (BRG0) (***)
|
||
U0TB 0x0032 UART0 transmit buffer register
|
||
U0C0 0x0034 UART0 transmit/receive control register 0
|
||
U0C0.Bit7 7 Transfer format select bit
|
||
U0C0.Bit6 6 CLK polarity select bit
|
||
U0C0.Bit5 5 UARTi receive interrupt mode select bit
|
||
U0C0.Bit4 4 CTS/RTS enable bit
|
||
U0C0.Bit3 3 Transmit register empty flag
|
||
U0C0.Bit2 2 CTS/RTS function select bit
|
||
U0C0.Bit1 1 BRG count source select bit 1
|
||
U0C0.Bit0 0 BRG count source select bit 0
|
||
U0C1 0x0035 UART0 transmit/receive control register 1
|
||
U0C1.Bit7 7 Error sum flag
|
||
U0C1.Bit6 6 Parity error flag
|
||
U0C1.Bit5 5 Framing error flag
|
||
U0C1.Bit4 4 Overrun error flag
|
||
U0C1.Bit3 3 Receive complete flag
|
||
U0C1.Bit2 2 Receive enable bit
|
||
U0C1.Bit1 1 Transmit buffer empty flag
|
||
U0C1.Bit0 0 Transmit enable bit
|
||
U0RB 0x0036 UART0 receive buffer register
|
||
U1MR 0x0038 UART1 transmit/receive mode register
|
||
U1MR.Bit7 7 Sleep select bit
|
||
U1MR.Bit6 6 Parity enable bit
|
||
U1MR.Bit5 5 Odd/Even parity select bit
|
||
U1MR.Bit4 4 Stop bit length select bit
|
||
U1MR.Bit3 3 Internal/External clock select bit
|
||
U1MR.Bit2 2 Serial I/O mode select bit 2
|
||
U1MR.Bit1 1 Serial I/O mode select bit 1
|
||
U1MR.Bit0 0 Serial I/O mode select bit 0
|
||
BRG1 0x0039 UART1 baud rate register (BRG1) (***)
|
||
U1TB 0x003A UART1 transmit buffer register
|
||
U1C0 0x003C UART1 transmit/receive control register 0
|
||
U1C0.Bit7 7 Transfer format select bit
|
||
U1C0.Bit6 6 CLK polarity select bit
|
||
U1C0.Bit5 5 UARTi receive interrupt mode select bit
|
||
U1C0.Bit4 4 CTS/RTS enable bit
|
||
U1C0.Bit3 3 Transmit register empty flag
|
||
U1C0.Bit2 2 CTS/RTS function select bit
|
||
U1C0.Bit1 1 BRG count source select bit 1
|
||
U1C0.Bit0 0 BRG count source select bit 0
|
||
U1C1 0x003D UART1 transmit/receive control register 1
|
||
U1C1.Bit7 7 Error sum flag
|
||
U1C1.Bit6 6 Parity error flag
|
||
U1C1.Bit5 5 Framing error flag
|
||
U1C1.Bit4 4 Overrun error flag
|
||
U1C1.Bit3 3 Receive complete flag
|
||
U1C1.Bit2 2 Receive enable bit
|
||
U1C1.Bit1 1 Transmit buffer empty flag
|
||
U1C1.Bit0 0 Transmit enable bit
|
||
U1RB 0x003E UART1 receive buffer register
|
||
CSF0 0x0040 Count start flag 0 (***)
|
||
CSF1 0x0041 Count start flag 1 (***)
|
||
OSSF0 0x0042 One-shot start flag 0 (***)
|
||
OSSF1 0x0043 One-shot start flag 1 (***)
|
||
UDF0 0x0044 Up-down flag 0 (***)
|
||
TACDSR 0x0045 Timer A clock division select register (***)
|
||
TACDSR.Bit1 1 Timer A clock division select bit 1
|
||
TACDSR.Bit0 0 Timer A clock division select bit 0
|
||
TA0 0x0046 Timer A0 register
|
||
TA1 0x0048 Timer A1 register
|
||
TA2 0x004A Timer A2 register
|
||
TA3 0x004C Timer A3 register
|
||
TA4 0x004E Timer A4 register
|
||
TB0 0x0050 Timer B0 register
|
||
TB1 0x0052 Timer B1 register
|
||
TB2 0x0054 Timer B2 register
|
||
TA0MR 0x0056 Timer A0 mode register
|
||
TA0MR.Bit7 7
|
||
TA0MR.Bit6 6
|
||
TA0MR.Bit5 5
|
||
TA0MR.Bit4 4
|
||
TA0MR.Bit3 3
|
||
TA0MR.Bit2 2
|
||
TA0MR.Bit1 1 Operating mode select bit 1
|
||
TA0MR.Bit0 0 Operating mode select bit 0
|
||
TA1MR 0x0057 Timer A1 mode register
|
||
TA1MR.Bit7 7
|
||
TA1MR.Bit6 6
|
||
TA1MR.Bit5 5
|
||
TA1MR.Bit4 4
|
||
TA1MR.Bit3 3
|
||
TA1MR.Bit2 2
|
||
TA1MR.Bit1 1 Operating mode select bit 1
|
||
TA1MR.Bit0 0 Operating mode select bit 0
|
||
TA2MR 0x0058 Timer A2 mode register
|
||
TA2MR.Bit7 7
|
||
TA2MR.Bit6 6
|
||
TA2MR.Bit5 5
|
||
TA2MR.Bit4 4
|
||
TA2MR.Bit3 3
|
||
TA2MR.Bit2 2
|
||
TA2MR.Bit1 1 Operating mode select bit 1
|
||
TA2MR.Bit0 0 Operating mode select bit 0
|
||
TA3MR 0x0059 Timer A3 mode register
|
||
TA3MR.Bit7 7
|
||
TA3MR.Bit6 6
|
||
TA3MR.Bit5 5
|
||
TA3MR.Bit4 4
|
||
TA3MR.Bit3 3
|
||
TA3MR.Bit2 2
|
||
TA3MR.Bit1 1 Operating mode select bit 1
|
||
TA3MR.Bit0 0 Operating mode select bit 0
|
||
TA4MR 0x005A Timer A4 mode register
|
||
TA4MR.Bit7 7
|
||
TA4MR.Bit6 6
|
||
TA4MR.Bit5 5
|
||
TA4MR.Bit4 4
|
||
TA4MR.Bit3 3
|
||
TA4MR.Bit2 2
|
||
TA4MR.Bit1 1 Operating mode select bit 1
|
||
TA4MR.Bit0 0 Operating mode select bit 0
|
||
TB0MR 0x005B Timer B0 mode register
|
||
TB0MR.Bit7 7
|
||
TB0MR.Bit6 6
|
||
TB0MR.Bit5 5
|
||
TB0MR.Bit4 4
|
||
TB0MR.Bit3 3
|
||
TB0MR.Bit2 2
|
||
TB0MR.Bit1 1 Operating mode select bit 1
|
||
TB0MR.Bit0 0 Operating mode select bit 0
|
||
TB1MR 0x005C Timer B1 mode register
|
||
TB1MR.Bit7 7
|
||
TB1MR.Bit6 6
|
||
TB1MR.Bit5 5
|
||
TB1MR.Bit4 4
|
||
TB1MR.Bit3 3
|
||
TB1MR.Bit2 2
|
||
TB1MR.Bit1 1 Operating mode select bit 1
|
||
TB1MR.Bit0 0 Operating mode select bit 0
|
||
TB2MR 0x005D Timer B2 mode register
|
||
TB2MR.Bit7 7
|
||
TB2MR.Bit6 6
|
||
TB2MR.Bit5 5
|
||
TB2MR.Bit4 4
|
||
TB2MR.Bit3 3
|
||
TB2MR.Bit2 2
|
||
TB2MR.Bit1 1 Operating mode select bit 1
|
||
TB2MR.Bit0 0 Operating mode select bit 0
|
||
PM0 0x005E Processor mode register 0
|
||
PM0.Bit6 6 Software reset bit
|
||
PM0.Bit5 5 Interrupt priority detection time select bit 5
|
||
PM0.Bit4 4 Interrupt priority detection time select bit 4
|
||
PM0.Bit1 1 Processor mode bit 1
|
||
PM0.Bit0 0 Processor mode bit 0
|
||
PM1 0x005F Processor mode register 1
|
||
PM1.Bit1 1 Direct page register switch bit
|
||
WDT 0x0060 Watchdog timer register (***)
|
||
WDT.Bit7 7
|
||
WDT.Bit6 6
|
||
WDT.Bit5 5
|
||
WDT.Bit4 4
|
||
WDT.Bit3 3
|
||
WDT.Bit2 2
|
||
WDT.Bit1 1
|
||
WDT.Bit0 0
|
||
WDTFS 0x0061 Watchdog timer frequency select register (***)
|
||
WDTFS.Bit7 7 Watchdog timer clock source select bit at STP termination
|
||
WDTFS.Bit6 6 Watchdog timer clock source select bit at STP termination
|
||
WDTFS.Bit0 0 Watchdog timer frequency select bit
|
||
PFSR0 0x0062 Particular function select register 0 (***)
|
||
PFSR0.Bit1 1 External clcok input select bit
|
||
PFSR0.Bit0 0 STP instruction invalidity select bit
|
||
PFSR1 0x0063 Particular function select register 1 (***)
|
||
PFSR1.Bit6 6 Timer B2 clock source select bit
|
||
PFSR1.Bit3 3 System clock stop select bit at WIT
|
||
PFSR1.Bit1 1 WIT-instruction-execution status bit
|
||
PFSR1.Bit0 0 STP-instruction-execution status bit
|
||
PFSR2 0x0064 Particular function select register 2 (***)
|
||
PFSR2.Bit7 7
|
||
PFSR2.Bit6 6
|
||
PFSR2.Bit5 5
|
||
PFSR2.Bit4 4
|
||
PFSR2.Bit3 3
|
||
PFSR2.Bit2 2
|
||
PFSR2.Bit1 1
|
||
PFSR2.Bit0 0
|
||
RESERVED0065 0x0065 RESERVED
|
||
DCR0 0x0066 Debug control register 0 (***)
|
||
DCR0.Bit5 5 Detect enable bit
|
||
DCR0.Bit2 2 Detect condition select bit 2
|
||
DCR0.Bit1 1 Detect condition select bit 1
|
||
DCR0.Bit0 0 Detect condition select bit 0
|
||
DCR1 0x0067 Debug control register 1 (***)
|
||
DCR1.Bit6 6 Address-matching-detection 2 decision bit
|
||
DCR1.Bit2 2 Address compare register access enable bit
|
||
ACR0 0x0068 Address compare register 0 (***)
|
||
ACR1 0x006B Address compare register 1 (***)
|
||
INT3IC 0x006E INT3 interrupt control register
|
||
INT3IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT3IC.Bit4 4 Polarity select bit
|
||
INT3IC.Bit3 3 Interrupt request bit
|
||
INT3IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT3IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT3IC.Bit0 0 Interrupt priority level select bit 0
|
||
INT4IC 0x006F INT4 interrupt control register
|
||
INT4IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT4IC.Bit4 4 Polarity select bit
|
||
INT4IC.Bit3 3 Interrupt request bit
|
||
INT4IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT4IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT4IC.Bit0 0 Interrupt priority level select bit 0
|
||
ADIC 0x0070 A-D conversion interrupt control register
|
||
ADIC.Bit3 3 Interrupt request bit
|
||
ADIC.Bit2 2 Interrupt priority level select bit 2
|
||
ADIC.Bit1 1 Interrupt priority level select bit 1
|
||
ADIC.Bit0 0 Interrupt priority level select bit 0
|
||
S0TIC 0x0071 UART0 transmit interrupt control register
|
||
S0TIC.Bit3 3 Interrupt request bit
|
||
S0TIC.Bit2 2 Interrupt priority level select bit 2
|
||
S0TIC.Bit1 1 Interrupt priority level select bit 1
|
||
S0TIC.Bit0 0 Interrupt priority level select bit 0
|
||
S0RIC 0x0072 UART0 receive interrupt control register
|
||
S0RIC.Bit3 3 Interrupt request bit
|
||
S0RIC.Bit2 2 Interrupt priority level select bit 2
|
||
S0RIC.Bit1 1 Interrupt priority level select bit 1
|
||
S0RIC.Bit0 0 Interrupt priority level select bit 0
|
||
S1TIC 0x0073 UART1 transmit interrupt control register
|
||
S1TIC.Bit3 3 Interrupt request bit
|
||
S1TIC.Bit2 2 Interrupt priority level select bit 2
|
||
S1TIC.Bit1 1 Interrupt priority level select bit 1
|
||
S1TIC.Bit0 0 Interrupt priority level select bit 0
|
||
S1RIC 0x0074 UART1 receive interrupt control register
|
||
S1RIC.Bit3 3 Interrupt request bit
|
||
S1RIC.Bit2 2 Interrupt priority level select bit 2
|
||
S1RIC.Bit1 1 Interrupt priority level select bit 1
|
||
S1RIC.Bit0 0 Interrupt priority level select bit 0
|
||
TA0IC 0x0075 Timer A0 interrupt control register
|
||
TA0IC.Bit3 3 Interrupt request bit
|
||
TA0IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA0IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA0IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA1IC 0x0076 Timer A1 interrupt control register
|
||
TA1IC.Bit3 3 Interrupt request bit
|
||
TA1IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA1IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA1IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA2IC 0x0077 Timer A2 interrupt control register
|
||
TA2IC.Bit3 3 Interrupt request bit
|
||
TA2IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA2IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA2IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA3IC 0x0078 Timer A3 interrupt control register
|
||
TA3IC.Bit3 3 Interrupt request bit
|
||
TA3IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA3IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA3IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA4IC 0x0079 Timer A4 interrupt control register
|
||
TA4IC.Bit3 3 Interrupt request bit
|
||
TA4IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA4IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA4IC.Bit0 0 Interrupt priority level select bit 0
|
||
TB0IC 0x007A Timer B0 interrupt control register
|
||
TB0IC.Bit3 3 Interrupt request bit
|
||
TB0IC.Bit2 2 Interrupt priority level select bit 2
|
||
TB0IC.Bit1 1 Interrupt priority level select bit 1
|
||
TB0IC.Bit0 0 Interrupt priority level select bit 0
|
||
TB1IC 0x007B Timer B1 interrupt control register
|
||
TB1IC.Bit3 3 Interrupt request bit
|
||
TB1IC.Bit2 2 Interrupt priority level select bit 2
|
||
TB1IC.Bit1 1 Interrupt priority level select bit 1
|
||
TB1IC.Bit0 0 Interrupt priority level select bit 0
|
||
TB2IC 0x007C Timer B2 interrupt control register
|
||
TB2IC.Bit3 3 Interrupt request bit
|
||
TB2IC.Bit2 2 Interrupt priority level select bit 2
|
||
TB2IC.Bit1 1 Interrupt priority level select bit 1
|
||
TB2IC.Bit0 0 Interrupt priority level select bit 0
|
||
INT0IC 0x007D INT0 interrupt control register
|
||
INT0IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT0IC.Bit4 4 Polarity select bit
|
||
INT0IC.Bit3 3 Interrupt request bit
|
||
INT0IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT0IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT0IC.Bit0 0 Interrupt priority level select bit 0
|
||
INT1IC 0x007E INT1 interrupt control register
|
||
INT1IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT1IC.Bit4 4 Polarity select bit
|
||
INT1IC.Bit3 3 Interrupt request bit
|
||
INT1IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT1IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT1IC.Bit0 0 Interrupt priority level select bit 0
|
||
INT2IC 0x007F INT2 interrupt control register
|
||
INT2IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT2IC.Bit4 4 Polarity select bit
|
||
INT2IC.Bit3 3 Interrupt request bit
|
||
INT2IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT2IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT2IC.Bit0 0 Interrupt priority level select bit 0
|
||
RESERVED0080 0x0080 RESERVED
|
||
RESERVED0081 0x0081 RESERVED
|
||
RESERVED0082 0x0082 RESERVED
|
||
RESERVED0083 0x0083 RESERVED
|
||
RESERVED0084 0x0084 RESERVED
|
||
RESERVED0085 0x0085 RESERVED
|
||
RESERVED0086 0x0086 RESERVED
|
||
RESERVED0087 0x0087 RESERVED
|
||
RESERVED0088 0x0088 RESERVED
|
||
RESERVED0089 0x0089 RESERVED
|
||
RESERVED008A 0x008A RESERVED
|
||
RESERVED008B 0x008B RESERVED
|
||
RESERVED008C 0x008C RESERVED
|
||
RESERVED008D 0x008D RESERVED
|
||
RESERVED008E 0x008E RESERVED
|
||
RESERVED008F 0x008F RESERVED
|
||
RESERVED0090 0x0090 RESERVED
|
||
RESERVED0091 0x0091 RESERVED
|
||
RESERVED0092 0x0092 RESERVED
|
||
RESERVED0093 0x0093 RESERVED
|
||
RESERVED0094 0x0094 RESERVED
|
||
EIIRR 0x0095 External interrupt input read register (***)
|
||
EIIRR.Bit7 7 INT7 read out bit
|
||
EIIRR.Bit6 6 INT6 read out bit
|
||
EIIRR.Bit5 5 INT5 read out bit
|
||
EIIRR.Bit4 4 INT4 read out bit
|
||
EIIRR.Bit3 3 INT3 read out bit
|
||
EIIRR.Bit2 2 INT2 read out bit
|
||
EIIRR.Bit1 1 INT1 read out bit
|
||
EIIRR.Bit0 0 INT0 read out bit
|
||
DACR 0x0096 D-A control register
|
||
DACR.Bit1 1 D-A1 output enable bit
|
||
DACR.Bit0 0 D-A0 output enable bit
|
||
RESERVED0097 0x0097 RESERVED
|
||
DAR0 0x0098 D-A register 0 (***)
|
||
DAR1 0x0099 D-A register 1 (***)
|
||
RESERVED009A 0x009A RESERVED
|
||
RESERVED009B 0x009B RESERVED
|
||
RESERVED009C 0x009C RESERVED
|
||
RESERVED009D 0x009D RESERVED
|
||
RESERVED009E 0x009E RESERVED
|
||
RESERVED009F 0x009F RESERVED
|
||
POCR 0x00A0 Pulse output control register (***)
|
||
POCR.Bit7 7 Waveform output control bit 1
|
||
POCR.Bit6 6 Waveform output control bit 0
|
||
POCR.Bit5 5 Pulse width modulation timer select bit 5
|
||
POCR.Bit4 4 Pulse width modulation timer select bit 4
|
||
POCR.Bit3 3 Pulse output mode select bit
|
||
POCR.Bit2 2 Waveform output select bit 2
|
||
POCR.Bit1 1 Waveform output select bit 1
|
||
POCR.Bit0 0 Waveform output select bit 0
|
||
RESERVED00A1 0x00A1 RESERVED
|
||
PODR0 0x00A2 Pulse output data register 0 (***)
|
||
PODR0.Bit7 7 Pulse output trigger select bit 7
|
||
PODR0.Bit6 6 Pulse output trigger select bit 6
|
||
PODR0.Bit5 5 RTP31 pulse output data bit
|
||
PODR0.Bit4 4 RTP30 pulse output data bit
|
||
PODR0.Bit3 3 RTP23 pulse output data bit
|
||
PODR0.Bit2 2 RTP22 pulse output data bit
|
||
PODR0.Bit1 1 RTP21 pulse output data bit
|
||
PODR0.Bit0 0 RTP20 pulse output data bit
|
||
RESERVED00A3 0x00A3 RESERVED
|
||
PODR1 0x00A4 Pulse output data register 1 (***)
|
||
PODR1.Bit7 7 RTP33 pulse output data bit
|
||
PODR1.Bit6 6 RTP32 pulse output data bit
|
||
PODR1.Bit5 5 RTP31 pulse output data bit
|
||
PODR1.Bit4 4 RTP30 pulse output data bit
|
||
PODR1.Bit3 3 Pulse output polarity select bit
|
||
PODR1.Bit2 2 Pulse width modulation enable bit 2
|
||
PODR1.Bit1 1 Pulse width modulation enable bit 1
|
||
PODR1.Bit0 0 Pulse width modulation enable bit 0
|
||
RESERVED00A5 0x00A5 RESERVED
|
||
WOMR 0x00A6 Waveform output mode register (***)
|
||
WOMR.Bit7 7 Waveform output control bit 1
|
||
WOMR.Bit6 6 Waveform output control bit 0
|
||
WOMR.Bit5 5 Pulse width modulation timer select bit 5
|
||
WOMR.Bit4 4 Pulse width modulation timer select bit 4
|
||
WOMR.Bit3 3 Pulse output mode select bit
|
||
WOMR.Bit2 2 Waveform output select bit 2
|
||
WOMR.Bit1 1 Waveform output select bit 1
|
||
WOMR.Bit0 0 Waveform output select bit 0
|
||
DTT 0x00A7 Dead-time timer (***)
|
||
TPODR0 0x00A8 Three-phase output data register 0 (***)
|
||
TPODR0.Bit7 7 Clock-source-of-dead-time-timer select bit 7
|
||
TPODR0.Bit6 6 Clock-source-of-dead-time-timer select bit 6
|
||
TPODR0.Bit3 3 W-phase output polarity set buffer
|
||
TPODR0.Bit2 2 U-phase output fix bit
|
||
TPODR0.Bit1 1 V-phase output fix bit
|
||
TPODR0.Bit0 0 W-phase output fix bit
|
||
TPODR1 0x00A9 Three-phase output data register 1 (***)
|
||
TPODR1.Bit5 5 U-phase output polarity set buffer / Interrupt validity output select bit
|
||
TPODR1.Bit4 4 V-phase output polarity set buffer / Interrupt request interval set bit
|
||
TPODR1.Bit2 2 U-phase fixed outputs polarity set bit
|
||
TPODR1.Bit1 1 V-phase fixed outputs polarity set bit
|
||
TPODR1.Bit0 0 W-phase fixed outputs polarity set bit
|
||
PDRFCR 0x00AA Position-data-retain function control register (***)
|
||
PDRFCR.Bit3 3 Retain-trigger polarity select bit
|
||
PDRFCR.Bit2 2 U-phase position data retain bit
|
||
PDRFCR.Bit1 1 V-phase position data retain bit
|
||
PDRFCR.Bit0 0 W-phase position data retain bit
|
||
RESERVED00AB 0x00AB RESERVED
|
||
SIOPCR 0x00AC Serial I/O pin control register (***)
|
||
SIOPCR.Bit5 5 TxD2 /P83 switch bit
|
||
SIOPCR.Bit4 4 CTS2/RTS2 separate select bit
|
||
SIOPCR.Bit3 3 TxD1/P17 switch bit
|
||
SIOPCR.Bit2 2 TxD0/P13 switch bit
|
||
SIOPCR.Bit1 1 CTS1/RTS1 separate select bit
|
||
SIOPCR.Bit0 0 CTS0/RTS0 separate select bit
|
||
RESERVED00AD 0x00AD RESERVED
|
||
P2PFCR 0x00AE Port P2 pin function control register (***)
|
||
P2PFCR.Bit2 2 Pin TB2IN select bit
|
||
P2PFCR.Bit1 1 Pin TB1IN select bit
|
||
P2PFCR.Bit0 0 Pin TB0IN select bit
|
||
RESERVED00AF 0x00AF RESERVED
|
||
U2MR 0x00B0 UART2 transmit/receive mode register
|
||
U2MR.Bit7 7 Sleep select bit
|
||
U2MR.Bit6 6 Parity enable bit
|
||
U2MR.Bit5 5 Odd/Even parity select bit
|
||
U2MR.Bit4 4 Stop bit length select bit
|
||
U2MR.Bit3 3 Internal/External clock select bit
|
||
U2MR.Bit2 2 Serial I/O mode select bit 2
|
||
U2MR.Bit1 1 Serial I/O mode select bit 1
|
||
U2MR.Bit0 0 Serial I/O mode select bit 0
|
||
BRG2 0x00B1 UART2 baud rate register (BRG2) (***)
|
||
U2TB 0x00B2 UART2 transmit buffer register
|
||
U2C0 0x00B4 UART2 transmit/receive control register 0
|
||
U2C0.Bit7 7 Transfer format select bit
|
||
U2C0.Bit6 6 CLK polarity select bit
|
||
U2C0.Bit5 5 UARTi receive interrupt mode select bit
|
||
U2C0.Bit4 4 CTS/RTS enable bit
|
||
U2C0.Bit3 3 Transmit register empty flag
|
||
U2C0.Bit2 2 CTS/RTS function select bit
|
||
U2C0.Bit1 1 BRG count source select bit 1
|
||
U2C0.Bit0 0 BRG count source select bit 0
|
||
U2C1 0x00B5 UART2 transmit/receive control register 1
|
||
U2C1.Bit7 7 Error sum flag
|
||
U2C1.Bit6 6 Parity error flag
|
||
U2C1.Bit5 5 Framing error flag
|
||
U2C1.Bit4 4 Overrun error flag
|
||
U2C1.Bit3 3 Receive complete flag
|
||
U2C1.Bit2 2 Receive enable bit
|
||
U2C1.Bit1 1 Transmit buffer empty flag
|
||
U2C1.Bit0 0 Transmit enable bit
|
||
U2RB 0x00B6 UART2 receive buffer register
|
||
RESERVED00B8 0x00B8 RESERVED
|
||
RESERVED00B9 0x00B9 RESERVED
|
||
RESERVED00BA 0x00BA RESERVED
|
||
RESERVED00BB 0x00BB RESERVED
|
||
CCR0 0x00BC Clock control register 0 (***)
|
||
CCR0.Bit7 7 Peripheral devices clock select bit 1
|
||
CCR0.Bit6 6 Peripheral devices clock select bit 0
|
||
CCR0.Bit5 5 System clock select bit
|
||
CCR0.Bit3 3 PLL multiplication ratio select bit 3
|
||
CCR0.Bit2 2 PLL multiplication ratio select bit 2
|
||
CCR0.Bit1 1 PLL circuit operation enable bit
|
||
RESERVED00BD 0x00BD RESERVED
|
||
RESERVED00BE 0x00BE RESERVED
|
||
RESERVED00BF 0x00BF RESERVED
|
||
RESERVED00C0 0x00C0 RESERVED
|
||
RESERVED00C1 0x00C1 RESERVED
|
||
RESERVED00C2 0x00C2 RESERVED
|
||
RESERVED00C3 0x00C3 RESERVED
|
||
UDF1 0x00C4 Up-down flag 1 (***)
|
||
RESERVED00C5 0x00C5 RESERVED
|
||
TA5 0x00C6 Timer A5 register
|
||
TA6 0x00C8 Timer A6 register
|
||
TA7 0x00CA Timer A7 register
|
||
TA8 0x00CC Timer A8 register
|
||
TA9 0x00CE Timer A9 register
|
||
TA01 0x00D0 Timer A01 register
|
||
TA11 0x00D2 Timer A11 register
|
||
TA21 0x00D4 Timer A21 register
|
||
TA5MR 0x00D6 Timer A5 mode register
|
||
TA5MR.Bit7 7
|
||
TA5MR.Bit6 6
|
||
TA5MR.Bit5 5
|
||
TA5MR.Bit4 4
|
||
TA5MR.Bit3 3
|
||
TA5MR.Bit2 2
|
||
TA5MR.Bit1 1 Operating mode select bit 1
|
||
TA5MR.Bit0 0 Operating mode select bit 0
|
||
TA6MR 0x00D7 Timer A6 mode register
|
||
TA6MR.Bit7 7
|
||
TA6MR.Bit6 6
|
||
TA6MR.Bit5 5
|
||
TA6MR.Bit4 4
|
||
TA6MR.Bit3 3
|
||
TA6MR.Bit2 2
|
||
TA6MR.Bit1 1 Operating mode select bit 1
|
||
TA6MR.Bit0 0 Operating mode select bit 0
|
||
TA7MR 0x00D8 Timer A7 mode register
|
||
TA7MR.Bit7 7
|
||
TA7MR.Bit6 6
|
||
TA7MR.Bit5 5
|
||
TA7MR.Bit4 4
|
||
TA7MR.Bit3 3
|
||
TA7MR.Bit2 2
|
||
TA7MR.Bit1 1 Operating mode select bit 1
|
||
TA7MR.Bit0 0 Operating mode select bit 0
|
||
TA8MR 0x00D9 Timer A8 mode register
|
||
TA8MR.Bit7 7
|
||
TA8MR.Bit6 6
|
||
TA8MR.Bit5 5
|
||
TA8MR.Bit4 4
|
||
TA8MR.Bit3 3
|
||
TA8MR.Bit2 2
|
||
TA8MR.Bit1 1 Operating mode select bit 1
|
||
TA8MR.Bit0 0 Operating mode select bit 0
|
||
TA9MR 0x00DA Timer A9 mode register
|
||
TA9MR.Bit7 7
|
||
TA9MR.Bit6 6
|
||
TA9MR.Bit5 5
|
||
TA9MR.Bit4 4
|
||
TA9MR.Bit3 3
|
||
TA9MR.Bit2 2
|
||
TA9MR.Bit1 1 Operating mode select bit 1
|
||
TA9MR.Bit0 0 Operating mode select bit 0
|
||
ADCON2 0x00DB A-D control register 2 (***)
|
||
ADCON2.Bit3 3 Analog input pin select bits 1
|
||
ADCON2.Bit2 2 Analog input pin select bits 1
|
||
ADCON2.Bit1 1 Analog input pin select bits 1
|
||
ADCON2.Bit0 0 Analog input pin select bits 1
|
||
CFSR0 0x00DC Comparator function select register 0 (***)
|
||
CFSR0.Bit7 7 AN7 pin comparator function select bit
|
||
CFSR0.Bit6 6 AN6 pin comparator function select bit
|
||
CFSR0.Bit5 5 AN5 pin comparator function select bit
|
||
CFSR0.Bit4 4 AN4 pin comparator function select bit
|
||
CFSR0.Bit3 3 AN3 pin comparator function select bit
|
||
CFSR0.Bit2 2 AN2 pin comparator function select bit
|
||
CFSR0.Bit1 1 AN1 pin comparator function select bit
|
||
CFSR0.Bit0 0 AN0 pin comparator function select bit
|
||
CFSR1 0x00DD Comparator function select register 1 (***)
|
||
CFSR1.Bit3 3 AN11 pin comparator function select bit
|
||
CFSR1.Bit2 2 AN10 pin comparator function select bit
|
||
CFSR1.Bit1 1 AN9 pin comparator function select bit
|
||
CFSR1.Bit0 0 AN8 pin comparator function select bit
|
||
CRR0 0x00DE Comparator result register 0 (***)
|
||
CRR0.Bit7 7 AN7 pin comparator result bit
|
||
CRR0.Bit6 6 AN6 pin comparator result bit
|
||
CRR0.Bit5 5 AN5 pin comparator result bit
|
||
CRR0.Bit4 4 AN4 pin comparator result bit
|
||
CRR0.Bit3 3 AN3 pin comparator result bit
|
||
CRR0.Bit2 2 AN2 pin comparator result bit
|
||
CRR0.Bit1 1 AN1 pin comparator result bit
|
||
CRR0.Bit0 0 AN0 pin comparator result bit
|
||
CRR1 0x00DF Comparator result register 1 (***)
|
||
CRR1.Bit3 3 AN11 pin comparator result bit
|
||
CRR1.Bit2 2 AN10 pin comparator result bit
|
||
CRR1.Bit1 1 AN9 pin comparator result bit
|
||
CRR1.Bit0 0 AN8 pin comparator result bit
|
||
AD8 0x00E0 A-D register 8
|
||
AD9 0x00E2 A-D register 9
|
||
AD10 0x00E4 A-D register 10
|
||
AD11 0x00E6 A-D register 11
|
||
RESERVED00E8 0x00E8 RESERVED
|
||
RESERVED00E9 0x00E9 RESERVED
|
||
RESERVED00EA 0x00EA RESERVED
|
||
RESERVED00EB 0x00EB RESERVED
|
||
RESERVED00EC 0x00EC RESERVED
|
||
RESERVED00ED 0x00ED RESERVED
|
||
RESERVED00EE 0x00EE RESERVED
|
||
RESERVED00EF 0x00EF RESERVED
|
||
RESERVED00F0 0x00F0 RESERVED
|
||
S2TIC 0x00F1 UART2 transmit interrupt control register
|
||
S2TIC.Bit3 3 Interrupt request bit
|
||
S2TIC.Bit2 2 Interrupt priority level select bit 2
|
||
S2TIC.Bit1 1 Interrupt priority level select bit 1
|
||
S2TIC.Bit0 0 Interrupt priority level select bit 0
|
||
S2RIC 0x00F2 UART2 receive interrupt control register
|
||
S2RIC.Bit3 3 Interrupt request bit
|
||
S2RIC.Bit2 2 Interrupt priority level select bit 2
|
||
S2RIC.Bit1 1 Interrupt priority level select bit 1
|
||
S2RIC.Bit0 0 Interrupt priority level select bit 0
|
||
RESERVED00F3 0x00F3 RESERVED
|
||
RESERVED00F4 0x00F4 RESERVED
|
||
TA5IC 0x00F5 Timer A5 interrupt control register
|
||
TA5IC.Bit3 3 Interrupt request bit
|
||
TA5IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA5IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA5IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA6IC 0x00F6 Timer A6 interrupt control register
|
||
TA6IC.Bit3 3 Interrupt request bit
|
||
TA6IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA6IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA6IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA7IC 0x00F7 Timer A7 interrupt control register
|
||
TA7IC.Bit3 3 Interrupt request bit
|
||
TA7IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA7IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA7IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA8IC 0x00F8 Timer A8 interrupt control register
|
||
TA8IC.Bit3 3 Interrupt request bit
|
||
TA8IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA8IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA8IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA9IC 0x00F9 Timer A9 interrupt control register
|
||
TA9IC.Bit3 3 Interrupt request bit
|
||
TA9IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA9IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA9IC.Bit0 0 Interrupt priority level select bit 0
|
||
RESERVED00FA 0x00FA RESERVED
|
||
RESERVED00FB 0x00FB RESERVED
|
||
RESERVED00FC 0x00FC RESERVED
|
||
INT5IC 0x00FD INT5 interrupt control register
|
||
INT5IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT5IC.Bit4 4 Polarity select bit
|
||
INT5IC.Bit3 3 Interrupt request bit
|
||
INT5IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT5IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT5IC.Bit0 0 Interrupt priority level select bit 0
|
||
INT6IC 0x00FE INT6 interrupt control register
|
||
INT6IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT6IC.Bit4 4 Polarity select bit
|
||
INT6IC.Bit3 3 Interrupt request bit
|
||
INT6IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT6IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT6IC.Bit0 0 Interrupt priority level select bit 0
|
||
INT7IC 0x00FF INT7 interrupt control register
|
||
INT7IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT7IC.Bit4 4 Polarity select bit
|
||
INT7IC.Bit3 3 Interrupt request bit
|
||
INT7IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT7IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT7IC.Bit0 0 Interrupt priority level select bit 0
|
||
|
||
|
||
.M37905M6C
|
||
; http://www.mitsubishichips.com/Global/content/product/mcu/16bit/7700f/7900s/7905g/e7905um.pdf
|
||
; http://www.infomicom.mesc.co.jp/micom/english/edocs/7900/ds/e7905mxc.pdf
|
||
|
||
|
||
; MEMORY MAP
|
||
area DATA FSR 0x0000:0x0100
|
||
area BSS RESERVED 0x0100:0x0400
|
||
area DATA RAM_ 0x0400:0x1000 Internal RAM
|
||
area BSS RESERVED 0x1000:0x4000
|
||
area DATA ROM_ 0x4000:0xFFB4 Internal ROM
|
||
area DATA USER_VEC 0xFFB4:0x10000
|
||
|
||
|
||
; Interrupt and reset vector assignments (? !!!)
|
||
interrupt __RESET 0xFFFE RESET
|
||
interrupt Zero_ 0xFFFC Zero divide
|
||
interrupt BRK_ 0xFFFA BRK instruction
|
||
interrupt DBC_ 0xFFF8 DBC
|
||
interrupt Watchdog_ 0xFFF6 Watchdog timer
|
||
interrupt INT0_ 0xFFF2 INT0
|
||
interrupt INT1_ 0xFFF0 INT1
|
||
interrupt INT2_ 0xFFEE INT2
|
||
interrupt Timer_A0 0xFFEC Timer A0
|
||
interrupt Timer_A1 0xFFEA Timer A1
|
||
interrupt Timer_A2 0xFFE8 Timer A2
|
||
interrupt Timer_A3 0xFFE6 Timer A3
|
||
interrupt Timer_A4 0xFFE4 Timer A4
|
||
interrupt Timer_B0 0xFFE2 Timer B0
|
||
interrupt Timer_B1 0xFFE0 Timer B1
|
||
interrupt Timer_B2 0xFFDE Timer B2
|
||
interrupt UART0_R 0xFFDC UART0 receive
|
||
interrupt UART0_T 0xFFDA UART0 transmit
|
||
interrupt UART1_R 0xFFD8 UART1 receive
|
||
interrupt UART1_T 0xFFD6 UART1 transmit
|
||
interrupt A_D_CONV 0xFFD4 A-D conversion
|
||
interrupt INT3_ 0xFFD2 INT3
|
||
interrupt INT4_ 0xFFD0 INT4
|
||
interrupt ADR_M_D 0xFFCA Address matching detect
|
||
interrupt INT5_ 0xFFC6 INT5
|
||
interrupt INT6_ 0xFFC4 INT6
|
||
interrupt INT7_ 0xFFC2 INT7
|
||
interrupt Timer_A5 0xFFC0 Timer A5
|
||
interrupt Timer_A6 0xFFBE Timer A6
|
||
interrupt Timer_A7 0xFFBC Timer A7
|
||
interrupt Timer_A8 0xFFBA Timer A8
|
||
interrupt Timer_A9 0xFFB8 Timer A9
|
||
interrupt UART2_R 0xFFB6 UART2 receive
|
||
interrupt UART2_T 0xFFB4 UART2 transmit
|
||
|
||
|
||
; INPUT/ OUTPUT PORTS
|
||
RESERVED0000 0x0000 RESERVED
|
||
RESERVED0001 0x0001 RESERVED
|
||
RESERVED0002 0x0002 RESERVED
|
||
P1 0x0003 Port P1 register
|
||
P1.P1_7 7 Port pin P17
|
||
P1.P1_6 6 Port pin P16
|
||
P1.P1_5 5 Port pin P15
|
||
P1.P1_4 4 Port pin P14
|
||
P1.P1_3 3 Port pin P13
|
||
P1.P1_2 2 Port pin P12
|
||
P1.P1_1 1 Port pin P11
|
||
P1.P1_0 0 Port pin P10
|
||
RESERVED0004 0x0004 RESERVED
|
||
PD1 0x0005 Port P1 direction register
|
||
PD1.PD1_7 7 Port P17 direction bit
|
||
PD1.PD1_6 6 Port P16 direction bit
|
||
PD1.PD1_5 5 Port P15 direction bit
|
||
PD1.PD1_4 4 Port P14 direction bit
|
||
PD1.PD1_3 3 Port P13 direction bit
|
||
PD1.PD1_2 2 Port P12 direction bit
|
||
PD1.PD1_1 1 Port P11 direction bit
|
||
PD1.PD1_0 0 Port P10 direction bit
|
||
P2 0x0006 Port P2 register
|
||
P2.P2_7 7 Port pin P27
|
||
P2.P2_6 6 Port pin P26
|
||
P2.P2_5 5 Port pin P25
|
||
P2.P2_4 4 Port pin P24
|
||
P2.P2_3 3 Port pin P23
|
||
P2.P2_2 2 Port pin P22
|
||
P2.P2_1 1 Port pin P21
|
||
P2.P2_0 0 Port pin P20
|
||
RESERVED0007 0x0007 RESERVED
|
||
PD2 0x0008 Port P2 direction register
|
||
PD2.PD2_7 7 Port P27 direction bit
|
||
PD2.PD2_6 6 Port P26 direction bit
|
||
PD2.PD2_5 5 Port P25 direction bit
|
||
PD2.PD2_4 4 Port P24 direction bit
|
||
PD2.PD2_3 3 Port P23 direction bit
|
||
PD2.PD2_2 2 Port P22 direction bit
|
||
PD2.PD2_1 1 Port P21 direction bit
|
||
PD2.PD2_0 0 Port P20 direction bit
|
||
RESERVED0009 0x0009 RESERVED
|
||
P4 0x000A Port P4 register
|
||
P4.P4_7 7 Port pin P47
|
||
P4.P4_6 6 Port pin P46
|
||
P4.P4_5 5 Port pin P45
|
||
P4.P4_4 4 Port pin P44
|
||
P4.P4_3 3 Port pin P43
|
||
P4.P4_2 2 Port pin P42
|
||
P4.P4_1 1 Port pin P41
|
||
P4.P4_0 0 Port pin P40
|
||
P5 0x000B Port P5 register
|
||
P5.P5_7 7 Port pin P57
|
||
P5.P5_6 6 Port pin P56
|
||
P5.P5_5 5 Port pin P55
|
||
P5.P5_4 4 Port pin P54
|
||
P5.P5_3 3 Port pin P53
|
||
P5.P5_2 2 Port pin P52
|
||
P5.P5_1 1 Port pin P51
|
||
P5.P5_0 0 Port pin P50
|
||
PD4 0x000C Port P4 direction register
|
||
PD4.PD4_7 7 Port P47 direction bit
|
||
PD4.PD4_6 6 Port P46 direction bit
|
||
PD4.PD4_5 5 Port P45 direction bit
|
||
PD4.PD4_4 4 Port P44 direction bit
|
||
PD4.PD4_3 3 Port P43 direction bit
|
||
PD4.PD4_2 2 Port P42 direction bit
|
||
PD4.PD4_1 1 Port P41 direction bit
|
||
PD4.PD4_0 0 Port P40 direction bit
|
||
PD5 0x000D Port P5 direction register
|
||
PD5.PD5_7 7 Port P57 direction bit
|
||
PD5.PD5_6 6 Port P56 direction bit
|
||
PD5.PD5_5 5 Port P55 direction bit
|
||
PD5.PD5_4 4 Port P54 direction bit
|
||
PD5.PD5_3 3 Port P53 direction bit
|
||
PD5.PD5_2 2 Port P52 direction bit
|
||
PD5.PD5_1 1 Port P51 direction bit
|
||
PD5.PD5_0 0 Port P50 direction bit
|
||
P6 0x000E Port P6 register
|
||
P6.P6_7 7 Port pin P67
|
||
P6.P6_6 6 Port pin P66
|
||
P6.P6_5 5 Port pin P65
|
||
P6.P6_4 4 Port pin P64
|
||
P6.P6_3 3 Port pin P63
|
||
P6.P6_2 2 Port pin P62
|
||
P6.P6_1 1 Port pin P61
|
||
P6.P6_0 0 Port pin P60
|
||
P7 0x000F Port P7 register
|
||
P7.P7_7 7 Port pin P77
|
||
P7.P7_6 6 Port pin P76
|
||
P7.P7_5 5 Port pin P75
|
||
P7.P7_4 4 Port pin P74
|
||
P7.P7_3 3 Port pin P73
|
||
P7.P7_2 2 Port pin P72
|
||
P7.P7_1 1 Port pin P71
|
||
P7.P7_0 0 Port pin P70
|
||
PD6 0x0010 Port P6 direction register
|
||
PD6.PD6_7 7 Port P67 direction bit
|
||
PD6.PD6_6 6 Port P66 direction bit
|
||
PD6.PD6_5 5 Port P65 direction bit
|
||
PD6.PD6_4 4 Port P64 direction bit
|
||
PD6.PD6_3 3 Port P63 direction bit
|
||
PD6.PD6_2 2 Port P62 direction bit
|
||
PD6.PD6_1 1 Port P61 direction bit
|
||
PD6.PD6_0 0 Port P60 direction bit
|
||
PD7 0x0011 Port P7 direction register
|
||
PD7.PD7_7 7 Port P77 direction bit
|
||
PD7.PD7_6 6 Port P76 direction bit
|
||
PD7.PD7_5 5 Port P75 direction bit
|
||
PD7.PD7_4 4 Port P74 direction bit
|
||
PD7.PD7_3 3 Port P73 direction bit
|
||
PD7.PD7_2 2 Port P72 direction bit
|
||
PD7.PD7_1 1 Port P71 direction bit
|
||
PD7.PD7_0 0 Port P70 direction bit
|
||
P8 0x0012 Port P8 register
|
||
P8.P8_7 7 Port pin P87
|
||
P8.P8_6 6 Port pin P86
|
||
P8.P8_5 5 Port pin P85
|
||
P8.P8_4 4 Port pin P84
|
||
P8.P8_3 3 Port pin P83
|
||
P8.P8_2 2 Port pin P82
|
||
P8.P8_1 1 Port pin P81
|
||
P8.P8_0 0 Port pin P80
|
||
RESERVED0013 0x0013 RESERVED
|
||
PD8 0x0014 Port P8 direction register
|
||
PD8.PD8_7 7 Port P87 direction bit
|
||
PD8.PD8_6 6 Port P86 direction bit
|
||
PD8.PD8_5 5 Port P85 direction bit
|
||
PD8.PD8_4 4 Port P84 direction bit
|
||
PD8.PD8_3 3 Port P83 direction bit
|
||
PD8.PD8_2 2 Port P82 direction bit
|
||
PD8.PD8_1 1 Port P81 direction bit
|
||
PD8.PD8_0 0 Port P80 direction bit
|
||
RESERVED0015 0x0015 RESERVED
|
||
RESERVED0016 0x0016 RESERVED
|
||
RESERVED0017 0x0017 RESERVED
|
||
RESERVED0018 0x0018 RESERVED
|
||
RESERVED0019 0x0019 RESERVED
|
||
RESERVED001A 0x001A RESERVED
|
||
RESERVED001B 0x001B RESERVED
|
||
RESERVED001C 0x001C RESERVED
|
||
RESERVED001D 0x001D RESERVED
|
||
ADCON0 0x001E A-D control register 0 (***)
|
||
ADCON0.Bit7 7 A-D conversion frequency select bit 0
|
||
ADCON0.Bit6 6 A-D conversion start bit
|
||
ADCON0.Bit4 4 A-D operation mode select bits 0 4
|
||
ADCON0.Bit3 3 A-D operation mode select bits 0 3
|
||
ADCON0.Bit2 2 Analog input pin select bit 2
|
||
ADCON0.Bit1 1 Analog input pin select bit 1
|
||
ADCON0.Bit0 0 Analog input pin select bit 0
|
||
ADCON1 0x001F A-D control register 1 (***)
|
||
ADCON1.Bit6 6 VREF connection select bit
|
||
ADCON1.Bit4 4 A-D conversion frequency select bit 1
|
||
ADCON1.Bit3 3 Resolution select bit
|
||
ADCON1.Bit2 2 A-D operation mode select bit 1
|
||
ADCON1.Bit1 1 A-D sweep pin select bit 1
|
||
ADCON1.Bit0 0 A-D sweep pin select bit 0
|
||
AD0 0x0020 A-D register 0
|
||
AD1 0x0022 A-D register 1
|
||
AD2 0x0024 A-D register 2
|
||
AD3 0x0026 A-D register 3
|
||
AD4 0x0028 A-D register 4
|
||
AD5 0x002A A-D register 5
|
||
AD6 0x002C A-D register 6
|
||
AD7 0x002E A-D register 7
|
||
U0MR 0x0030 UART0 transmit/receive mode register
|
||
U0MR.Bit7 7 Sleep select bit
|
||
U0MR.Bit6 6 Parity enable bit
|
||
U0MR.Bit5 5 Odd/Even parity select bit
|
||
U0MR.Bit4 4 Stop bit length select bit
|
||
U0MR.Bit3 3 Internal/External clock select bit
|
||
U0MR.Bit2 2 Serial I/O mode select bit 2
|
||
U0MR.Bit1 1 Serial I/O mode select bit 1
|
||
U0MR.Bit0 0 Serial I/O mode select bit 0
|
||
BRG0 0x0031 UART0 baud rate register (BRG0) (***)
|
||
U0TB 0x0032 UART0 transmit buffer register
|
||
U0C0 0x0034 UART0 transmit/receive control register 0
|
||
U0C0.Bit7 7 Transfer format select bit
|
||
U0C0.Bit6 6 CLK polarity select bit
|
||
U0C0.Bit5 5 UARTi receive interrupt mode select bit
|
||
U0C0.Bit4 4 CTS/RTS enable bit
|
||
U0C0.Bit3 3 Transmit register empty flag
|
||
U0C0.Bit2 2 CTS/RTS function select bit
|
||
U0C0.Bit1 1 BRG count source select bit 1
|
||
U0C0.Bit0 0 BRG count source select bit 0
|
||
U0C1 0x0035 UART0 transmit/receive control register 1
|
||
U0C1.Bit7 7 Error sum flag
|
||
U0C1.Bit6 6 Parity error flag
|
||
U0C1.Bit5 5 Framing error flag
|
||
U0C1.Bit4 4 Overrun error flag
|
||
U0C1.Bit3 3 Receive complete flag
|
||
U0C1.Bit2 2 Receive enable bit
|
||
U0C1.Bit1 1 Transmit buffer empty flag
|
||
U0C1.Bit0 0 Transmit enable bit
|
||
U0RB 0x0036 UART0 receive buffer register
|
||
U1MR 0x0038 UART1 transmit/receive mode register
|
||
U1MR.Bit7 7 Sleep select bit
|
||
U1MR.Bit6 6 Parity enable bit
|
||
U1MR.Bit5 5 Odd/Even parity select bit
|
||
U1MR.Bit4 4 Stop bit length select bit
|
||
U1MR.Bit3 3 Internal/External clock select bit
|
||
U1MR.Bit2 2 Serial I/O mode select bit 2
|
||
U1MR.Bit1 1 Serial I/O mode select bit 1
|
||
U1MR.Bit0 0 Serial I/O mode select bit 0
|
||
BRG1 0x0039 UART1 baud rate register (BRG1) (***)
|
||
U1TB 0x003A UART1 transmit buffer register
|
||
U1C0 0x003C UART1 transmit/receive control register 0
|
||
U1C0.Bit7 7 Transfer format select bit
|
||
U1C0.Bit6 6 CLK polarity select bit
|
||
U1C0.Bit5 5 UARTi receive interrupt mode select bit
|
||
U1C0.Bit4 4 CTS/RTS enable bit
|
||
U1C0.Bit3 3 Transmit register empty flag
|
||
U1C0.Bit2 2 CTS/RTS function select bit
|
||
U1C0.Bit1 1 BRG count source select bit 1
|
||
U1C0.Bit0 0 BRG count source select bit 0
|
||
U1C1 0x003D UART1 transmit/receive control register 1
|
||
U1C1.Bit7 7 Error sum flag
|
||
U1C1.Bit6 6 Parity error flag
|
||
U1C1.Bit5 5 Framing error flag
|
||
U1C1.Bit4 4 Overrun error flag
|
||
U1C1.Bit3 3 Receive complete flag
|
||
U1C1.Bit2 2 Receive enable bit
|
||
U1C1.Bit1 1 Transmit buffer empty flag
|
||
U1C1.Bit0 0 Transmit enable bit
|
||
U1RB 0x003E UART1 receive buffer register
|
||
CSF0 0x0040 Count start flag 0 (***)
|
||
CSF1 0x0041 Count start flag 1 (***)
|
||
OSSF0 0x0042 One-shot start flag 0 (***)
|
||
OSSF1 0x0043 One-shot start flag 1 (***)
|
||
UDF0 0x0044 Up-down flag 0 (***)
|
||
TACDSR 0x0045 Timer A clock division select register (***)
|
||
TACDSR.Bit1 1 Timer A clock division select bit 1
|
||
TACDSR.Bit0 0 Timer A clock division select bit 0
|
||
TA0 0x0046 Timer A0 register
|
||
TA1 0x0048 Timer A1 register
|
||
TA2 0x004A Timer A2 register
|
||
TA3 0x004C Timer A3 register
|
||
TA4 0x004E Timer A4 register
|
||
TB0 0x0050 Timer B0 register
|
||
TB1 0x0052 Timer B1 register
|
||
TB2 0x0054 Timer B2 register
|
||
TA0MR 0x0056 Timer A0 mode register
|
||
TA0MR.Bit7 7
|
||
TA0MR.Bit6 6
|
||
TA0MR.Bit5 5
|
||
TA0MR.Bit4 4
|
||
TA0MR.Bit3 3
|
||
TA0MR.Bit2 2
|
||
TA0MR.Bit1 1 Operating mode select bit 1
|
||
TA0MR.Bit0 0 Operating mode select bit 0
|
||
TA1MR 0x0057 Timer A1 mode register
|
||
TA1MR.Bit7 7
|
||
TA1MR.Bit6 6
|
||
TA1MR.Bit5 5
|
||
TA1MR.Bit4 4
|
||
TA1MR.Bit3 3
|
||
TA1MR.Bit2 2
|
||
TA1MR.Bit1 1 Operating mode select bit 1
|
||
TA1MR.Bit0 0 Operating mode select bit 0
|
||
TA2MR 0x0058 Timer A2 mode register
|
||
TA2MR.Bit7 7
|
||
TA2MR.Bit6 6
|
||
TA2MR.Bit5 5
|
||
TA2MR.Bit4 4
|
||
TA2MR.Bit3 3
|
||
TA2MR.Bit2 2
|
||
TA2MR.Bit1 1 Operating mode select bit 1
|
||
TA2MR.Bit0 0 Operating mode select bit 0
|
||
TA3MR 0x0059 Timer A3 mode register
|
||
TA3MR.Bit7 7
|
||
TA3MR.Bit6 6
|
||
TA3MR.Bit5 5
|
||
TA3MR.Bit4 4
|
||
TA3MR.Bit3 3
|
||
TA3MR.Bit2 2
|
||
TA3MR.Bit1 1 Operating mode select bit 1
|
||
TA3MR.Bit0 0 Operating mode select bit 0
|
||
TA4MR 0x005A Timer A4 mode register
|
||
TA4MR.Bit7 7
|
||
TA4MR.Bit6 6
|
||
TA4MR.Bit5 5
|
||
TA4MR.Bit4 4
|
||
TA4MR.Bit3 3
|
||
TA4MR.Bit2 2
|
||
TA4MR.Bit1 1 Operating mode select bit 1
|
||
TA4MR.Bit0 0 Operating mode select bit 0
|
||
TB0MR 0x005B Timer B0 mode register
|
||
TB0MR.Bit7 7
|
||
TB0MR.Bit6 6
|
||
TB0MR.Bit5 5
|
||
TB0MR.Bit4 4
|
||
TB0MR.Bit3 3
|
||
TB0MR.Bit2 2
|
||
TB0MR.Bit1 1 Operating mode select bit 1
|
||
TB0MR.Bit0 0 Operating mode select bit 0
|
||
TB1MR 0x005C Timer B1 mode register
|
||
TB1MR.Bit7 7
|
||
TB1MR.Bit6 6
|
||
TB1MR.Bit5 5
|
||
TB1MR.Bit4 4
|
||
TB1MR.Bit3 3
|
||
TB1MR.Bit2 2
|
||
TB1MR.Bit1 1 Operating mode select bit 1
|
||
TB1MR.Bit0 0 Operating mode select bit 0
|
||
TB2MR 0x005D Timer B2 mode register
|
||
TB2MR.Bit7 7
|
||
TB2MR.Bit6 6
|
||
TB2MR.Bit5 5
|
||
TB2MR.Bit4 4
|
||
TB2MR.Bit3 3
|
||
TB2MR.Bit2 2
|
||
TB2MR.Bit1 1 Operating mode select bit 1
|
||
TB2MR.Bit0 0 Operating mode select bit 0
|
||
PM0 0x005E Processor mode register 0
|
||
PM0.Bit6 6 Software reset bit
|
||
PM0.Bit5 5 Interrupt priority detection time select bit 5
|
||
PM0.Bit4 4 Interrupt priority detection time select bit 4
|
||
PM0.Bit1 1 Processor mode bit 1
|
||
PM0.Bit0 0 Processor mode bit 0
|
||
PM1 0x005F Processor mode register 1
|
||
PM1.Bit1 1 Direct page register switch bit
|
||
WDT 0x0060 Watchdog timer register (***)
|
||
WDT.Bit7 7
|
||
WDT.Bit6 6
|
||
WDT.Bit5 5
|
||
WDT.Bit4 4
|
||
WDT.Bit3 3
|
||
WDT.Bit2 2
|
||
WDT.Bit1 1
|
||
WDT.Bit0 0
|
||
WDTFS 0x0061 Watchdog timer frequency select register (***)
|
||
WDTFS.Bit7 7 Watchdog timer clock source select bit at STP termination
|
||
WDTFS.Bit6 6 Watchdog timer clock source select bit at STP termination
|
||
WDTFS.Bit0 0 Watchdog timer frequency select bit
|
||
PFSR0 0x0062 Particular function select register 0 (***)
|
||
PFSR0.Bit1 1 External clcok input select bit
|
||
PFSR0.Bit0 0 STP instruction invalidity select bit
|
||
PFSR1 0x0063 Particular function select register 1 (***)
|
||
PFSR1.Bit6 6 Timer B2 clock source select bit
|
||
PFSR1.Bit3 3 System clock stop select bit at WIT
|
||
PFSR1.Bit1 1 WIT-instruction-execution status bit
|
||
PFSR1.Bit0 0 STP-instruction-execution status bit
|
||
PFSR2 0x0064 Particular function select register 2 (***)
|
||
PFSR2.Bit7 7
|
||
PFSR2.Bit6 6
|
||
PFSR2.Bit5 5
|
||
PFSR2.Bit4 4
|
||
PFSR2.Bit3 3
|
||
PFSR2.Bit2 2
|
||
PFSR2.Bit1 1
|
||
PFSR2.Bit0 0
|
||
RESERVED0065 0x0065 RESERVED
|
||
DCR0 0x0066 Debug control register 0 (***)
|
||
DCR0.Bit5 5 Detect enable bit
|
||
DCR0.Bit2 2 Detect condition select bit 2
|
||
DCR0.Bit1 1 Detect condition select bit 1
|
||
DCR0.Bit0 0 Detect condition select bit 0
|
||
DCR1 0x0067 Debug control register 1 (***)
|
||
DCR1.Bit6 6 Address-matching-detection 2 decision bit
|
||
DCR1.Bit2 2 Address compare register access enable bit
|
||
ACR0 0x0068 Address compare register 0 (***)
|
||
ACR1 0x006B Address compare register 1 (***)
|
||
INT3IC 0x006E INT3 interrupt control register
|
||
INT3IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT3IC.Bit4 4 Polarity select bit
|
||
INT3IC.Bit3 3 Interrupt request bit
|
||
INT3IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT3IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT3IC.Bit0 0 Interrupt priority level select bit 0
|
||
INT4IC 0x006F INT4 interrupt control register
|
||
INT4IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT4IC.Bit4 4 Polarity select bit
|
||
INT4IC.Bit3 3 Interrupt request bit
|
||
INT4IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT4IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT4IC.Bit0 0 Interrupt priority level select bit 0
|
||
ADIC 0x0070 A-D conversion interrupt control register
|
||
ADIC.Bit3 3 Interrupt request bit
|
||
ADIC.Bit2 2 Interrupt priority level select bit 2
|
||
ADIC.Bit1 1 Interrupt priority level select bit 1
|
||
ADIC.Bit0 0 Interrupt priority level select bit 0
|
||
S0TIC 0x0071 UART0 transmit interrupt control register
|
||
S0TIC.Bit3 3 Interrupt request bit
|
||
S0TIC.Bit2 2 Interrupt priority level select bit 2
|
||
S0TIC.Bit1 1 Interrupt priority level select bit 1
|
||
S0TIC.Bit0 0 Interrupt priority level select bit 0
|
||
S0RIC 0x0072 UART0 receive interrupt control register
|
||
S0RIC.Bit3 3 Interrupt request bit
|
||
S0RIC.Bit2 2 Interrupt priority level select bit 2
|
||
S0RIC.Bit1 1 Interrupt priority level select bit 1
|
||
S0RIC.Bit0 0 Interrupt priority level select bit 0
|
||
S1TIC 0x0073 UART1 transmit interrupt control register
|
||
S1TIC.Bit3 3 Interrupt request bit
|
||
S1TIC.Bit2 2 Interrupt priority level select bit 2
|
||
S1TIC.Bit1 1 Interrupt priority level select bit 1
|
||
S1TIC.Bit0 0 Interrupt priority level select bit 0
|
||
S1RIC 0x0074 UART1 receive interrupt control register
|
||
S1RIC.Bit3 3 Interrupt request bit
|
||
S1RIC.Bit2 2 Interrupt priority level select bit 2
|
||
S1RIC.Bit1 1 Interrupt priority level select bit 1
|
||
S1RIC.Bit0 0 Interrupt priority level select bit 0
|
||
TA0IC 0x0075 Timer A0 interrupt control register
|
||
TA0IC.Bit3 3 Interrupt request bit
|
||
TA0IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA0IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA0IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA1IC 0x0076 Timer A1 interrupt control register
|
||
TA1IC.Bit3 3 Interrupt request bit
|
||
TA1IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA1IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA1IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA2IC 0x0077 Timer A2 interrupt control register
|
||
TA2IC.Bit3 3 Interrupt request bit
|
||
TA2IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA2IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA2IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA3IC 0x0078 Timer A3 interrupt control register
|
||
TA3IC.Bit3 3 Interrupt request bit
|
||
TA3IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA3IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA3IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA4IC 0x0079 Timer A4 interrupt control register
|
||
TA4IC.Bit3 3 Interrupt request bit
|
||
TA4IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA4IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA4IC.Bit0 0 Interrupt priority level select bit 0
|
||
TB0IC 0x007A Timer B0 interrupt control register
|
||
TB0IC.Bit3 3 Interrupt request bit
|
||
TB0IC.Bit2 2 Interrupt priority level select bit 2
|
||
TB0IC.Bit1 1 Interrupt priority level select bit 1
|
||
TB0IC.Bit0 0 Interrupt priority level select bit 0
|
||
TB1IC 0x007B Timer B1 interrupt control register
|
||
TB1IC.Bit3 3 Interrupt request bit
|
||
TB1IC.Bit2 2 Interrupt priority level select bit 2
|
||
TB1IC.Bit1 1 Interrupt priority level select bit 1
|
||
TB1IC.Bit0 0 Interrupt priority level select bit 0
|
||
TB2IC 0x007C Timer B2 interrupt control register
|
||
TB2IC.Bit3 3 Interrupt request bit
|
||
TB2IC.Bit2 2 Interrupt priority level select bit 2
|
||
TB2IC.Bit1 1 Interrupt priority level select bit 1
|
||
TB2IC.Bit0 0 Interrupt priority level select bit 0
|
||
INT0IC 0x007D INT0 interrupt control register
|
||
INT0IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT0IC.Bit4 4 Polarity select bit
|
||
INT0IC.Bit3 3 Interrupt request bit
|
||
INT0IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT0IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT0IC.Bit0 0 Interrupt priority level select bit 0
|
||
INT1IC 0x007E INT1 interrupt control register
|
||
INT1IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT1IC.Bit4 4 Polarity select bit
|
||
INT1IC.Bit3 3 Interrupt request bit
|
||
INT1IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT1IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT1IC.Bit0 0 Interrupt priority level select bit 0
|
||
INT2IC 0x007F INT2 interrupt control register
|
||
INT2IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT2IC.Bit4 4 Polarity select bit
|
||
INT2IC.Bit3 3 Interrupt request bit
|
||
INT2IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT2IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT2IC.Bit0 0 Interrupt priority level select bit 0
|
||
RESERVED0080 0x0080 RESERVED
|
||
RESERVED0081 0x0081 RESERVED
|
||
RESERVED0082 0x0082 RESERVED
|
||
RESERVED0083 0x0083 RESERVED
|
||
RESERVED0084 0x0084 RESERVED
|
||
RESERVED0085 0x0085 RESERVED
|
||
RESERVED0086 0x0086 RESERVED
|
||
RESERVED0087 0x0087 RESERVED
|
||
RESERVED0088 0x0088 RESERVED
|
||
RESERVED0089 0x0089 RESERVED
|
||
RESERVED008A 0x008A RESERVED
|
||
RESERVED008B 0x008B RESERVED
|
||
RESERVED008C 0x008C RESERVED
|
||
RESERVED008D 0x008D RESERVED
|
||
RESERVED008E 0x008E RESERVED
|
||
RESERVED008F 0x008F RESERVED
|
||
RESERVED0090 0x0090 RESERVED
|
||
RESERVED0091 0x0091 RESERVED
|
||
RESERVED0092 0x0092 RESERVED
|
||
RESERVED0093 0x0093 RESERVED
|
||
RESERVED0094 0x0094 RESERVED
|
||
EIIRR 0x0095 External interrupt input read register (***)
|
||
EIIRR.Bit7 7 INT7 read out bit
|
||
EIIRR.Bit6 6 INT6 read out bit
|
||
EIIRR.Bit5 5 INT5 read out bit
|
||
EIIRR.Bit4 4 INT4 read out bit
|
||
EIIRR.Bit3 3 INT3 read out bit
|
||
EIIRR.Bit2 2 INT2 read out bit
|
||
EIIRR.Bit1 1 INT1 read out bit
|
||
EIIRR.Bit0 0 INT0 read out bit
|
||
DACR 0x0096 D-A control register
|
||
DACR.Bit1 1 D-A1 output enable bit
|
||
DACR.Bit0 0 D-A0 output enable bit
|
||
RESERVED0097 0x0097 RESERVED
|
||
DAR0 0x0098 D-A register 0 (***)
|
||
DAR1 0x0099 D-A register 1 (***)
|
||
RESERVED009A 0x009A RESERVED
|
||
RESERVED009B 0x009B RESERVED
|
||
RESERVED009C 0x009C RESERVED
|
||
RESERVED009D 0x009D RESERVED
|
||
RESERVED009E 0x009E RESERVED
|
||
RESERVED009F 0x009F RESERVED
|
||
POCR 0x00A0 Pulse output control register (***)
|
||
POCR.Bit7 7 Waveform output control bit 1
|
||
POCR.Bit6 6 Waveform output control bit 0
|
||
POCR.Bit5 5 Pulse width modulation timer select bit 5
|
||
POCR.Bit4 4 Pulse width modulation timer select bit 4
|
||
POCR.Bit3 3 Pulse output mode select bit
|
||
POCR.Bit2 2 Waveform output select bit 2
|
||
POCR.Bit1 1 Waveform output select bit 1
|
||
POCR.Bit0 0 Waveform output select bit 0
|
||
RESERVED00A1 0x00A1 RESERVED
|
||
PODR0 0x00A2 Pulse output data register 0 (***)
|
||
PODR0.Bit7 7 Pulse output trigger select bit 7
|
||
PODR0.Bit6 6 Pulse output trigger select bit 6
|
||
PODR0.Bit5 5 RTP31 pulse output data bit
|
||
PODR0.Bit4 4 RTP30 pulse output data bit
|
||
PODR0.Bit3 3 RTP23 pulse output data bit
|
||
PODR0.Bit2 2 RTP22 pulse output data bit
|
||
PODR0.Bit1 1 RTP21 pulse output data bit
|
||
PODR0.Bit0 0 RTP20 pulse output data bit
|
||
RESERVED00A3 0x00A3 RESERVED
|
||
PODR1 0x00A4 Pulse output data register 1 (***)
|
||
PODR1.Bit7 7 RTP33 pulse output data bit
|
||
PODR1.Bit6 6 RTP32 pulse output data bit
|
||
PODR1.Bit5 5 RTP31 pulse output data bit
|
||
PODR1.Bit4 4 RTP30 pulse output data bit
|
||
PODR1.Bit3 3 Pulse output polarity select bit
|
||
PODR1.Bit2 2 Pulse width modulation enable bit 2
|
||
PODR1.Bit1 1 Pulse width modulation enable bit 1
|
||
PODR1.Bit0 0 Pulse width modulation enable bit 0
|
||
RESERVED00A5 0x00A5 RESERVED
|
||
WOMR 0x00A6 Waveform output mode register (***)
|
||
WOMR.Bit7 7 Waveform output control bit 1
|
||
WOMR.Bit6 6 Waveform output control bit 0
|
||
WOMR.Bit5 5 Pulse width modulation timer select bit 5
|
||
WOMR.Bit4 4 Pulse width modulation timer select bit 4
|
||
WOMR.Bit3 3 Pulse output mode select bit
|
||
WOMR.Bit2 2 Waveform output select bit 2
|
||
WOMR.Bit1 1 Waveform output select bit 1
|
||
WOMR.Bit0 0 Waveform output select bit 0
|
||
DTT 0x00A7 Dead-time timer (***)
|
||
TPODR0 0x00A8 Three-phase output data register 0 (***)
|
||
TPODR0.Bit7 7 Clock-source-of-dead-time-timer select bit 7
|
||
TPODR0.Bit6 6 Clock-source-of-dead-time-timer select bit 6
|
||
TPODR0.Bit3 3 W-phase output polarity set buffer
|
||
TPODR0.Bit2 2 U-phase output fix bit
|
||
TPODR0.Bit1 1 V-phase output fix bit
|
||
TPODR0.Bit0 0 W-phase output fix bit
|
||
TPODR1 0x00A9 Three-phase output data register 1 (***)
|
||
TPODR1.Bit5 5 U-phase output polarity set buffer / Interrupt validity output select bit
|
||
TPODR1.Bit4 4 V-phase output polarity set buffer / Interrupt request interval set bit
|
||
TPODR1.Bit2 2 U-phase fixed outputs polarity set bit
|
||
TPODR1.Bit1 1 V-phase fixed outputs polarity set bit
|
||
TPODR1.Bit0 0 W-phase fixed outputs polarity set bit
|
||
PDRFCR 0x00AA Position-data-retain function control register (***)
|
||
PDRFCR.Bit3 3 Retain-trigger polarity select bit
|
||
PDRFCR.Bit2 2 U-phase position data retain bit
|
||
PDRFCR.Bit1 1 V-phase position data retain bit
|
||
PDRFCR.Bit0 0 W-phase position data retain bit
|
||
RESERVED00AB 0x00AB RESERVED
|
||
SIOPCR 0x00AC Serial I/O pin control register (***)
|
||
SIOPCR.Bit5 5 TxD2 /P83 switch bit
|
||
SIOPCR.Bit4 4 CTS2/RTS2 separate select bit
|
||
SIOPCR.Bit3 3 TxD1/P17 switch bit
|
||
SIOPCR.Bit2 2 TxD0/P13 switch bit
|
||
SIOPCR.Bit1 1 CTS1/RTS1 separate select bit
|
||
SIOPCR.Bit0 0 CTS0/RTS0 separate select bit
|
||
RESERVED00AD 0x00AD RESERVED
|
||
P2PFCR 0x00AE Port P2 pin function control register (***)
|
||
P2PFCR.Bit2 2 Pin TB2IN select bit
|
||
P2PFCR.Bit1 1 Pin TB1IN select bit
|
||
P2PFCR.Bit0 0 Pin TB0IN select bit
|
||
RESERVED00AF 0x00AF RESERVED
|
||
U2MR 0x00B0 UART2 transmit/receive mode register
|
||
U2MR.Bit7 7 Sleep select bit
|
||
U2MR.Bit6 6 Parity enable bit
|
||
U2MR.Bit5 5 Odd/Even parity select bit
|
||
U2MR.Bit4 4 Stop bit length select bit
|
||
U2MR.Bit3 3 Internal/External clock select bit
|
||
U2MR.Bit2 2 Serial I/O mode select bit 2
|
||
U2MR.Bit1 1 Serial I/O mode select bit 1
|
||
U2MR.Bit0 0 Serial I/O mode select bit 0
|
||
BRG2 0x00B1 UART2 baud rate register (BRG2) (***)
|
||
U2TB 0x00B2 UART2 transmit buffer register
|
||
U2C0 0x00B4 UART2 transmit/receive control register 0
|
||
U2C0.Bit7 7 Transfer format select bit
|
||
U2C0.Bit6 6 CLK polarity select bit
|
||
U2C0.Bit5 5 UARTi receive interrupt mode select bit
|
||
U2C0.Bit4 4 CTS/RTS enable bit
|
||
U2C0.Bit3 3 Transmit register empty flag
|
||
U2C0.Bit2 2 CTS/RTS function select bit
|
||
U2C0.Bit1 1 BRG count source select bit 1
|
||
U2C0.Bit0 0 BRG count source select bit 0
|
||
U2C1 0x00B5 UART2 transmit/receive control register 1
|
||
U2C1.Bit7 7 Error sum flag
|
||
U2C1.Bit6 6 Parity error flag
|
||
U2C1.Bit5 5 Framing error flag
|
||
U2C1.Bit4 4 Overrun error flag
|
||
U2C1.Bit3 3 Receive complete flag
|
||
U2C1.Bit2 2 Receive enable bit
|
||
U2C1.Bit1 1 Transmit buffer empty flag
|
||
U2C1.Bit0 0 Transmit enable bit
|
||
U2RB 0x00B6 UART2 receive buffer register
|
||
RESERVED00B8 0x00B8 RESERVED
|
||
RESERVED00B9 0x00B9 RESERVED
|
||
RESERVED00BA 0x00BA RESERVED
|
||
RESERVED00BB 0x00BB RESERVED
|
||
CCR0 0x00BC Clock control register 0 (***)
|
||
CCR0.Bit7 7 Peripheral devices clock select bit 1
|
||
CCR0.Bit6 6 Peripheral devices clock select bit 0
|
||
CCR0.Bit5 5 System clock select bit
|
||
CCR0.Bit3 3 PLL multiplication ratio select bit 3
|
||
CCR0.Bit2 2 PLL multiplication ratio select bit 2
|
||
CCR0.Bit1 1 PLL circuit operation enable bit
|
||
RESERVED00BD 0x00BD RESERVED
|
||
RESERVED00BE 0x00BE RESERVED
|
||
RESERVED00BF 0x00BF RESERVED
|
||
RESERVED00C0 0x00C0 RESERVED
|
||
RESERVED00C1 0x00C1 RESERVED
|
||
RESERVED00C2 0x00C2 RESERVED
|
||
RESERVED00C3 0x00C3 RESERVED
|
||
UDF1 0x00C4 Up-down flag 1 (***)
|
||
RESERVED00C5 0x00C5 RESERVED
|
||
TA5 0x00C6 Timer A5 register
|
||
TA6 0x00C8 Timer A6 register
|
||
TA7 0x00CA Timer A7 register
|
||
TA8 0x00CC Timer A8 register
|
||
TA9 0x00CE Timer A9 register
|
||
TA01 0x00D0 Timer A01 register
|
||
TA11 0x00D2 Timer A11 register
|
||
TA21 0x00D4 Timer A21 register
|
||
TA5MR 0x00D6 Timer A5 mode register
|
||
TA5MR.Bit7 7
|
||
TA5MR.Bit6 6
|
||
TA5MR.Bit5 5
|
||
TA5MR.Bit4 4
|
||
TA5MR.Bit3 3
|
||
TA5MR.Bit2 2
|
||
TA5MR.Bit1 1 Operating mode select bit 1
|
||
TA5MR.Bit0 0 Operating mode select bit 0
|
||
TA6MR 0x00D7 Timer A6 mode register
|
||
TA6MR.Bit7 7
|
||
TA6MR.Bit6 6
|
||
TA6MR.Bit5 5
|
||
TA6MR.Bit4 4
|
||
TA6MR.Bit3 3
|
||
TA6MR.Bit2 2
|
||
TA6MR.Bit1 1 Operating mode select bit 1
|
||
TA6MR.Bit0 0 Operating mode select bit 0
|
||
TA7MR 0x00D8 Timer A7 mode register
|
||
TA7MR.Bit7 7
|
||
TA7MR.Bit6 6
|
||
TA7MR.Bit5 5
|
||
TA7MR.Bit4 4
|
||
TA7MR.Bit3 3
|
||
TA7MR.Bit2 2
|
||
TA7MR.Bit1 1 Operating mode select bit 1
|
||
TA7MR.Bit0 0 Operating mode select bit 0
|
||
TA8MR 0x00D9 Timer A8 mode register
|
||
TA8MR.Bit7 7
|
||
TA8MR.Bit6 6
|
||
TA8MR.Bit5 5
|
||
TA8MR.Bit4 4
|
||
TA8MR.Bit3 3
|
||
TA8MR.Bit2 2
|
||
TA8MR.Bit1 1 Operating mode select bit 1
|
||
TA8MR.Bit0 0 Operating mode select bit 0
|
||
TA9MR 0x00DA Timer A9 mode register
|
||
TA9MR.Bit7 7
|
||
TA9MR.Bit6 6
|
||
TA9MR.Bit5 5
|
||
TA9MR.Bit4 4
|
||
TA9MR.Bit3 3
|
||
TA9MR.Bit2 2
|
||
TA9MR.Bit1 1 Operating mode select bit 1
|
||
TA9MR.Bit0 0 Operating mode select bit 0
|
||
ADCON2 0x00DB A-D control register 2 (***)
|
||
ADCON2.Bit3 3 Analog input pin select bits 1
|
||
ADCON2.Bit2 2 Analog input pin select bits 1
|
||
ADCON2.Bit1 1 Analog input pin select bits 1
|
||
ADCON2.Bit0 0 Analog input pin select bits 1
|
||
CFSR0 0x00DC Comparator function select register 0 (***)
|
||
CFSR0.Bit7 7 AN7 pin comparator function select bit
|
||
CFSR0.Bit6 6 AN6 pin comparator function select bit
|
||
CFSR0.Bit5 5 AN5 pin comparator function select bit
|
||
CFSR0.Bit4 4 AN4 pin comparator function select bit
|
||
CFSR0.Bit3 3 AN3 pin comparator function select bit
|
||
CFSR0.Bit2 2 AN2 pin comparator function select bit
|
||
CFSR0.Bit1 1 AN1 pin comparator function select bit
|
||
CFSR0.Bit0 0 AN0 pin comparator function select bit
|
||
CFSR1 0x00DD Comparator function select register 1 (***)
|
||
CFSR1.Bit3 3 AN11 pin comparator function select bit
|
||
CFSR1.Bit2 2 AN10 pin comparator function select bit
|
||
CFSR1.Bit1 1 AN9 pin comparator function select bit
|
||
CFSR1.Bit0 0 AN8 pin comparator function select bit
|
||
CRR0 0x00DE Comparator result register 0 (***)
|
||
CRR0.Bit7 7 AN7 pin comparator result bit
|
||
CRR0.Bit6 6 AN6 pin comparator result bit
|
||
CRR0.Bit5 5 AN5 pin comparator result bit
|
||
CRR0.Bit4 4 AN4 pin comparator result bit
|
||
CRR0.Bit3 3 AN3 pin comparator result bit
|
||
CRR0.Bit2 2 AN2 pin comparator result bit
|
||
CRR0.Bit1 1 AN1 pin comparator result bit
|
||
CRR0.Bit0 0 AN0 pin comparator result bit
|
||
CRR1 0x00DF Comparator result register 1 (***)
|
||
CRR1.Bit3 3 AN11 pin comparator result bit
|
||
CRR1.Bit2 2 AN10 pin comparator result bit
|
||
CRR1.Bit1 1 AN9 pin comparator result bit
|
||
CRR1.Bit0 0 AN8 pin comparator result bit
|
||
AD8 0x00E0 A-D register 8
|
||
AD9 0x00E2 A-D register 9
|
||
AD10 0x00E4 A-D register 10
|
||
AD11 0x00E6 A-D register 11
|
||
RESERVED00E8 0x00E8 RESERVED
|
||
RESERVED00E9 0x00E9 RESERVED
|
||
RESERVED00EA 0x00EA RESERVED
|
||
RESERVED00EB 0x00EB RESERVED
|
||
RESERVED00EC 0x00EC RESERVED
|
||
RESERVED00ED 0x00ED RESERVED
|
||
RESERVED00EE 0x00EE RESERVED
|
||
RESERVED00EF 0x00EF RESERVED
|
||
RESERVED00F0 0x00F0 RESERVED
|
||
S2TIC 0x00F1 UART2 transmit interrupt control register
|
||
S2TIC.Bit3 3 Interrupt request bit
|
||
S2TIC.Bit2 2 Interrupt priority level select bit 2
|
||
S2TIC.Bit1 1 Interrupt priority level select bit 1
|
||
S2TIC.Bit0 0 Interrupt priority level select bit 0
|
||
S2RIC 0x00F2 UART2 receive interrupt control register
|
||
S2RIC.Bit3 3 Interrupt request bit
|
||
S2RIC.Bit2 2 Interrupt priority level select bit 2
|
||
S2RIC.Bit1 1 Interrupt priority level select bit 1
|
||
S2RIC.Bit0 0 Interrupt priority level select bit 0
|
||
RESERVED00F3 0x00F3 RESERVED
|
||
RESERVED00F4 0x00F4 RESERVED
|
||
TA5IC 0x00F5 Timer A5 interrupt control register
|
||
TA5IC.Bit3 3 Interrupt request bit
|
||
TA5IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA5IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA5IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA6IC 0x00F6 Timer A6 interrupt control register
|
||
TA6IC.Bit3 3 Interrupt request bit
|
||
TA6IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA6IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA6IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA7IC 0x00F7 Timer A7 interrupt control register
|
||
TA7IC.Bit3 3 Interrupt request bit
|
||
TA7IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA7IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA7IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA8IC 0x00F8 Timer A8 interrupt control register
|
||
TA8IC.Bit3 3 Interrupt request bit
|
||
TA8IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA8IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA8IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA9IC 0x00F9 Timer A9 interrupt control register
|
||
TA9IC.Bit3 3 Interrupt request bit
|
||
TA9IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA9IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA9IC.Bit0 0 Interrupt priority level select bit 0
|
||
RESERVED00FA 0x00FA RESERVED
|
||
RESERVED00FB 0x00FB RESERVED
|
||
RESERVED00FC 0x00FC RESERVED
|
||
INT5IC 0x00FD INT5 interrupt control register
|
||
INT5IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT5IC.Bit4 4 Polarity select bit
|
||
INT5IC.Bit3 3 Interrupt request bit
|
||
INT5IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT5IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT5IC.Bit0 0 Interrupt priority level select bit 0
|
||
INT6IC 0x00FE INT6 interrupt control register
|
||
INT6IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT6IC.Bit4 4 Polarity select bit
|
||
INT6IC.Bit3 3 Interrupt request bit
|
||
INT6IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT6IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT6IC.Bit0 0 Interrupt priority level select bit 0
|
||
INT7IC 0x00FF INT7 interrupt control register
|
||
INT7IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT7IC.Bit4 4 Polarity select bit
|
||
INT7IC.Bit3 3 Interrupt request bit
|
||
INT7IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT7IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT7IC.Bit0 0 Interrupt priority level select bit 0
|
||
|
||
|
||
.M37905M8C
|
||
; http://www.mitsubishichips.com/Global/content/product/mcu/16bit/7700f/7900s/7905g/e7905um.pdf
|
||
; http://www.infomicom.mesc.co.jp/micom/english/edocs/7900/ds/e7905mxc.pdf
|
||
|
||
|
||
; MEMORY MAP
|
||
area DATA FSR 0x0000:0x0100
|
||
area BSS RESERVED 0x0100:0x0400
|
||
area DATA RAM_ 0x0400:0x1000 Internal RAM
|
||
area DATA ROM_ 0x1000:0xFFB4 Internal ROM
|
||
area DATA USER_VEC 0xFFB4:0x10000
|
||
|
||
|
||
; Interrupt and reset vector assignments (? !!!)
|
||
interrupt __RESET 0xFFFE RESET
|
||
interrupt Zero_ 0xFFFC Zero divide
|
||
interrupt BRK_ 0xFFFA BRK instruction
|
||
interrupt DBC_ 0xFFF8 DBC
|
||
interrupt Watchdog_ 0xFFF6 Watchdog timer
|
||
interrupt INT0_ 0xFFF2 INT0
|
||
interrupt INT1_ 0xFFF0 INT1
|
||
interrupt INT2_ 0xFFEE INT2
|
||
interrupt Timer_A0 0xFFEC Timer A0
|
||
interrupt Timer_A1 0xFFEA Timer A1
|
||
interrupt Timer_A2 0xFFE8 Timer A2
|
||
interrupt Timer_A3 0xFFE6 Timer A3
|
||
interrupt Timer_A4 0xFFE4 Timer A4
|
||
interrupt Timer_B0 0xFFE2 Timer B0
|
||
interrupt Timer_B1 0xFFE0 Timer B1
|
||
interrupt Timer_B2 0xFFDE Timer B2
|
||
interrupt UART0_R 0xFFDC UART0 receive
|
||
interrupt UART0_T 0xFFDA UART0 transmit
|
||
interrupt UART1_R 0xFFD8 UART1 receive
|
||
interrupt UART1_T 0xFFD6 UART1 transmit
|
||
interrupt A_D_CONV 0xFFD4 A-D conversion
|
||
interrupt INT3_ 0xFFD2 INT3
|
||
interrupt INT4_ 0xFFD0 INT4
|
||
interrupt ADR_M_D 0xFFCA Address matching detect
|
||
interrupt INT5_ 0xFFC6 INT5
|
||
interrupt INT6_ 0xFFC4 INT6
|
||
interrupt INT7_ 0xFFC2 INT7
|
||
interrupt Timer_A5 0xFFC0 Timer A5
|
||
interrupt Timer_A6 0xFFBE Timer A6
|
||
interrupt Timer_A7 0xFFBC Timer A7
|
||
interrupt Timer_A8 0xFFBA Timer A8
|
||
interrupt Timer_A9 0xFFB8 Timer A9
|
||
interrupt UART2_R 0xFFB6 UART2 receive
|
||
interrupt UART2_T 0xFFB4 UART2 transmit
|
||
|
||
|
||
; INPUT/ OUTPUT PORTS
|
||
RESERVED0000 0x0000 RESERVED
|
||
RESERVED0001 0x0001 RESERVED
|
||
RESERVED0002 0x0002 RESERVED
|
||
P1 0x0003 Port P1 register
|
||
P1.P1_7 7 Port pin P17
|
||
P1.P1_6 6 Port pin P16
|
||
P1.P1_5 5 Port pin P15
|
||
P1.P1_4 4 Port pin P14
|
||
P1.P1_3 3 Port pin P13
|
||
P1.P1_2 2 Port pin P12
|
||
P1.P1_1 1 Port pin P11
|
||
P1.P1_0 0 Port pin P10
|
||
RESERVED0004 0x0004 RESERVED
|
||
PD1 0x0005 Port P1 direction register
|
||
PD1.PD1_7 7 Port P17 direction bit
|
||
PD1.PD1_6 6 Port P16 direction bit
|
||
PD1.PD1_5 5 Port P15 direction bit
|
||
PD1.PD1_4 4 Port P14 direction bit
|
||
PD1.PD1_3 3 Port P13 direction bit
|
||
PD1.PD1_2 2 Port P12 direction bit
|
||
PD1.PD1_1 1 Port P11 direction bit
|
||
PD1.PD1_0 0 Port P10 direction bit
|
||
P2 0x0006 Port P2 register
|
||
P2.P2_7 7 Port pin P27
|
||
P2.P2_6 6 Port pin P26
|
||
P2.P2_5 5 Port pin P25
|
||
P2.P2_4 4 Port pin P24
|
||
P2.P2_3 3 Port pin P23
|
||
P2.P2_2 2 Port pin P22
|
||
P2.P2_1 1 Port pin P21
|
||
P2.P2_0 0 Port pin P20
|
||
RESERVED0007 0x0007 RESERVED
|
||
PD2 0x0008 Port P2 direction register
|
||
PD2.PD2_7 7 Port P27 direction bit
|
||
PD2.PD2_6 6 Port P26 direction bit
|
||
PD2.PD2_5 5 Port P25 direction bit
|
||
PD2.PD2_4 4 Port P24 direction bit
|
||
PD2.PD2_3 3 Port P23 direction bit
|
||
PD2.PD2_2 2 Port P22 direction bit
|
||
PD2.PD2_1 1 Port P21 direction bit
|
||
PD2.PD2_0 0 Port P20 direction bit
|
||
RESERVED0009 0x0009 RESERVED
|
||
P4 0x000A Port P4 register
|
||
P4.P4_7 7 Port pin P47
|
||
P4.P4_6 6 Port pin P46
|
||
P4.P4_5 5 Port pin P45
|
||
P4.P4_4 4 Port pin P44
|
||
P4.P4_3 3 Port pin P43
|
||
P4.P4_2 2 Port pin P42
|
||
P4.P4_1 1 Port pin P41
|
||
P4.P4_0 0 Port pin P40
|
||
P5 0x000B Port P5 register
|
||
P5.P5_7 7 Port pin P57
|
||
P5.P5_6 6 Port pin P56
|
||
P5.P5_5 5 Port pin P55
|
||
P5.P5_4 4 Port pin P54
|
||
P5.P5_3 3 Port pin P53
|
||
P5.P5_2 2 Port pin P52
|
||
P5.P5_1 1 Port pin P51
|
||
P5.P5_0 0 Port pin P50
|
||
PD4 0x000C Port P4 direction register
|
||
PD4.PD4_7 7 Port P47 direction bit
|
||
PD4.PD4_6 6 Port P46 direction bit
|
||
PD4.PD4_5 5 Port P45 direction bit
|
||
PD4.PD4_4 4 Port P44 direction bit
|
||
PD4.PD4_3 3 Port P43 direction bit
|
||
PD4.PD4_2 2 Port P42 direction bit
|
||
PD4.PD4_1 1 Port P41 direction bit
|
||
PD4.PD4_0 0 Port P40 direction bit
|
||
PD5 0x000D Port P5 direction register
|
||
PD5.PD5_7 7 Port P57 direction bit
|
||
PD5.PD5_6 6 Port P56 direction bit
|
||
PD5.PD5_5 5 Port P55 direction bit
|
||
PD5.PD5_4 4 Port P54 direction bit
|
||
PD5.PD5_3 3 Port P53 direction bit
|
||
PD5.PD5_2 2 Port P52 direction bit
|
||
PD5.PD5_1 1 Port P51 direction bit
|
||
PD5.PD5_0 0 Port P50 direction bit
|
||
P6 0x000E Port P6 register
|
||
P6.P6_7 7 Port pin P67
|
||
P6.P6_6 6 Port pin P66
|
||
P6.P6_5 5 Port pin P65
|
||
P6.P6_4 4 Port pin P64
|
||
P6.P6_3 3 Port pin P63
|
||
P6.P6_2 2 Port pin P62
|
||
P6.P6_1 1 Port pin P61
|
||
P6.P6_0 0 Port pin P60
|
||
P7 0x000F Port P7 register
|
||
P7.P7_7 7 Port pin P77
|
||
P7.P7_6 6 Port pin P76
|
||
P7.P7_5 5 Port pin P75
|
||
P7.P7_4 4 Port pin P74
|
||
P7.P7_3 3 Port pin P73
|
||
P7.P7_2 2 Port pin P72
|
||
P7.P7_1 1 Port pin P71
|
||
P7.P7_0 0 Port pin P70
|
||
PD6 0x0010 Port P6 direction register
|
||
PD6.PD6_7 7 Port P67 direction bit
|
||
PD6.PD6_6 6 Port P66 direction bit
|
||
PD6.PD6_5 5 Port P65 direction bit
|
||
PD6.PD6_4 4 Port P64 direction bit
|
||
PD6.PD6_3 3 Port P63 direction bit
|
||
PD6.PD6_2 2 Port P62 direction bit
|
||
PD6.PD6_1 1 Port P61 direction bit
|
||
PD6.PD6_0 0 Port P60 direction bit
|
||
PD7 0x0011 Port P7 direction register
|
||
PD7.PD7_7 7 Port P77 direction bit
|
||
PD7.PD7_6 6 Port P76 direction bit
|
||
PD7.PD7_5 5 Port P75 direction bit
|
||
PD7.PD7_4 4 Port P74 direction bit
|
||
PD7.PD7_3 3 Port P73 direction bit
|
||
PD7.PD7_2 2 Port P72 direction bit
|
||
PD7.PD7_1 1 Port P71 direction bit
|
||
PD7.PD7_0 0 Port P70 direction bit
|
||
P8 0x0012 Port P8 register
|
||
P8.P8_7 7 Port pin P87
|
||
P8.P8_6 6 Port pin P86
|
||
P8.P8_5 5 Port pin P85
|
||
P8.P8_4 4 Port pin P84
|
||
P8.P8_3 3 Port pin P83
|
||
P8.P8_2 2 Port pin P82
|
||
P8.P8_1 1 Port pin P81
|
||
P8.P8_0 0 Port pin P80
|
||
RESERVED0013 0x0013 RESERVED
|
||
PD8 0x0014 Port P8 direction register
|
||
PD8.PD8_7 7 Port P87 direction bit
|
||
PD8.PD8_6 6 Port P86 direction bit
|
||
PD8.PD8_5 5 Port P85 direction bit
|
||
PD8.PD8_4 4 Port P84 direction bit
|
||
PD8.PD8_3 3 Port P83 direction bit
|
||
PD8.PD8_2 2 Port P82 direction bit
|
||
PD8.PD8_1 1 Port P81 direction bit
|
||
PD8.PD8_0 0 Port P80 direction bit
|
||
RESERVED0015 0x0015 RESERVED
|
||
RESERVED0016 0x0016 RESERVED
|
||
RESERVED0017 0x0017 RESERVED
|
||
RESERVED0018 0x0018 RESERVED
|
||
RESERVED0019 0x0019 RESERVED
|
||
RESERVED001A 0x001A RESERVED
|
||
RESERVED001B 0x001B RESERVED
|
||
RESERVED001C 0x001C RESERVED
|
||
RESERVED001D 0x001D RESERVED
|
||
ADCON0 0x001E A-D control register 0 (***)
|
||
ADCON0.Bit7 7 A-D conversion frequency select bit 0
|
||
ADCON0.Bit6 6 A-D conversion start bit
|
||
ADCON0.Bit4 4 A-D operation mode select bits 0 4
|
||
ADCON0.Bit3 3 A-D operation mode select bits 0 3
|
||
ADCON0.Bit2 2 Analog input pin select bit 2
|
||
ADCON0.Bit1 1 Analog input pin select bit 1
|
||
ADCON0.Bit0 0 Analog input pin select bit 0
|
||
ADCON1 0x001F A-D control register 1 (***)
|
||
ADCON1.Bit6 6 VREF connection select bit
|
||
ADCON1.Bit4 4 A-D conversion frequency select bit 1
|
||
ADCON1.Bit3 3 Resolution select bit
|
||
ADCON1.Bit2 2 A-D operation mode select bit 1
|
||
ADCON1.Bit1 1 A-D sweep pin select bit 1
|
||
ADCON1.Bit0 0 A-D sweep pin select bit 0
|
||
AD0 0x0020 A-D register 0
|
||
AD1 0x0022 A-D register 1
|
||
AD2 0x0024 A-D register 2
|
||
AD3 0x0026 A-D register 3
|
||
AD4 0x0028 A-D register 4
|
||
AD5 0x002A A-D register 5
|
||
AD6 0x002C A-D register 6
|
||
AD7 0x002E A-D register 7
|
||
U0MR 0x0030 UART0 transmit/receive mode register
|
||
U0MR.Bit7 7 Sleep select bit
|
||
U0MR.Bit6 6 Parity enable bit
|
||
U0MR.Bit5 5 Odd/Even parity select bit
|
||
U0MR.Bit4 4 Stop bit length select bit
|
||
U0MR.Bit3 3 Internal/External clock select bit
|
||
U0MR.Bit2 2 Serial I/O mode select bit 2
|
||
U0MR.Bit1 1 Serial I/O mode select bit 1
|
||
U0MR.Bit0 0 Serial I/O mode select bit 0
|
||
BRG0 0x0031 UART0 baud rate register (BRG0) (***)
|
||
U0TB 0x0032 UART0 transmit buffer register
|
||
U0C0 0x0034 UART0 transmit/receive control register 0
|
||
U0C0.Bit7 7 Transfer format select bit
|
||
U0C0.Bit6 6 CLK polarity select bit
|
||
U0C0.Bit5 5 UARTi receive interrupt mode select bit
|
||
U0C0.Bit4 4 CTS/RTS enable bit
|
||
U0C0.Bit3 3 Transmit register empty flag
|
||
U0C0.Bit2 2 CTS/RTS function select bit
|
||
U0C0.Bit1 1 BRG count source select bit 1
|
||
U0C0.Bit0 0 BRG count source select bit 0
|
||
U0C1 0x0035 UART0 transmit/receive control register 1
|
||
U0C1.Bit7 7 Error sum flag
|
||
U0C1.Bit6 6 Parity error flag
|
||
U0C1.Bit5 5 Framing error flag
|
||
U0C1.Bit4 4 Overrun error flag
|
||
U0C1.Bit3 3 Receive complete flag
|
||
U0C1.Bit2 2 Receive enable bit
|
||
U0C1.Bit1 1 Transmit buffer empty flag
|
||
U0C1.Bit0 0 Transmit enable bit
|
||
U0RB 0x0036 UART0 receive buffer register
|
||
U1MR 0x0038 UART1 transmit/receive mode register
|
||
U1MR.Bit7 7 Sleep select bit
|
||
U1MR.Bit6 6 Parity enable bit
|
||
U1MR.Bit5 5 Odd/Even parity select bit
|
||
U1MR.Bit4 4 Stop bit length select bit
|
||
U1MR.Bit3 3 Internal/External clock select bit
|
||
U1MR.Bit2 2 Serial I/O mode select bit 2
|
||
U1MR.Bit1 1 Serial I/O mode select bit 1
|
||
U1MR.Bit0 0 Serial I/O mode select bit 0
|
||
BRG1 0x0039 UART1 baud rate register (BRG1) (***)
|
||
U1TB 0x003A UART1 transmit buffer register
|
||
U1C0 0x003C UART1 transmit/receive control register 0
|
||
U1C0.Bit7 7 Transfer format select bit
|
||
U1C0.Bit6 6 CLK polarity select bit
|
||
U1C0.Bit5 5 UARTi receive interrupt mode select bit
|
||
U1C0.Bit4 4 CTS/RTS enable bit
|
||
U1C0.Bit3 3 Transmit register empty flag
|
||
U1C0.Bit2 2 CTS/RTS function select bit
|
||
U1C0.Bit1 1 BRG count source select bit 1
|
||
U1C0.Bit0 0 BRG count source select bit 0
|
||
U1C1 0x003D UART1 transmit/receive control register 1
|
||
U1C1.Bit7 7 Error sum flag
|
||
U1C1.Bit6 6 Parity error flag
|
||
U1C1.Bit5 5 Framing error flag
|
||
U1C1.Bit4 4 Overrun error flag
|
||
U1C1.Bit3 3 Receive complete flag
|
||
U1C1.Bit2 2 Receive enable bit
|
||
U1C1.Bit1 1 Transmit buffer empty flag
|
||
U1C1.Bit0 0 Transmit enable bit
|
||
U1RB 0x003E UART1 receive buffer register
|
||
CSF0 0x0040 Count start flag 0 (***)
|
||
CSF1 0x0041 Count start flag 1 (***)
|
||
OSSF0 0x0042 One-shot start flag 0 (***)
|
||
OSSF1 0x0043 One-shot start flag 1 (***)
|
||
UDF0 0x0044 Up-down flag 0 (***)
|
||
TACDSR 0x0045 Timer A clock division select register (***)
|
||
TACDSR.Bit1 1 Timer A clock division select bit 1
|
||
TACDSR.Bit0 0 Timer A clock division select bit 0
|
||
TA0 0x0046 Timer A0 register
|
||
TA1 0x0048 Timer A1 register
|
||
TA2 0x004A Timer A2 register
|
||
TA3 0x004C Timer A3 register
|
||
TA4 0x004E Timer A4 register
|
||
TB0 0x0050 Timer B0 register
|
||
TB1 0x0052 Timer B1 register
|
||
TB2 0x0054 Timer B2 register
|
||
TA0MR 0x0056 Timer A0 mode register
|
||
TA0MR.Bit7 7
|
||
TA0MR.Bit6 6
|
||
TA0MR.Bit5 5
|
||
TA0MR.Bit4 4
|
||
TA0MR.Bit3 3
|
||
TA0MR.Bit2 2
|
||
TA0MR.Bit1 1 Operating mode select bit 1
|
||
TA0MR.Bit0 0 Operating mode select bit 0
|
||
TA1MR 0x0057 Timer A1 mode register
|
||
TA1MR.Bit7 7
|
||
TA1MR.Bit6 6
|
||
TA1MR.Bit5 5
|
||
TA1MR.Bit4 4
|
||
TA1MR.Bit3 3
|
||
TA1MR.Bit2 2
|
||
TA1MR.Bit1 1 Operating mode select bit 1
|
||
TA1MR.Bit0 0 Operating mode select bit 0
|
||
TA2MR 0x0058 Timer A2 mode register
|
||
TA2MR.Bit7 7
|
||
TA2MR.Bit6 6
|
||
TA2MR.Bit5 5
|
||
TA2MR.Bit4 4
|
||
TA2MR.Bit3 3
|
||
TA2MR.Bit2 2
|
||
TA2MR.Bit1 1 Operating mode select bit 1
|
||
TA2MR.Bit0 0 Operating mode select bit 0
|
||
TA3MR 0x0059 Timer A3 mode register
|
||
TA3MR.Bit7 7
|
||
TA3MR.Bit6 6
|
||
TA3MR.Bit5 5
|
||
TA3MR.Bit4 4
|
||
TA3MR.Bit3 3
|
||
TA3MR.Bit2 2
|
||
TA3MR.Bit1 1 Operating mode select bit 1
|
||
TA3MR.Bit0 0 Operating mode select bit 0
|
||
TA4MR 0x005A Timer A4 mode register
|
||
TA4MR.Bit7 7
|
||
TA4MR.Bit6 6
|
||
TA4MR.Bit5 5
|
||
TA4MR.Bit4 4
|
||
TA4MR.Bit3 3
|
||
TA4MR.Bit2 2
|
||
TA4MR.Bit1 1 Operating mode select bit 1
|
||
TA4MR.Bit0 0 Operating mode select bit 0
|
||
TB0MR 0x005B Timer B0 mode register
|
||
TB0MR.Bit7 7
|
||
TB0MR.Bit6 6
|
||
TB0MR.Bit5 5
|
||
TB0MR.Bit4 4
|
||
TB0MR.Bit3 3
|
||
TB0MR.Bit2 2
|
||
TB0MR.Bit1 1 Operating mode select bit 1
|
||
TB0MR.Bit0 0 Operating mode select bit 0
|
||
TB1MR 0x005C Timer B1 mode register
|
||
TB1MR.Bit7 7
|
||
TB1MR.Bit6 6
|
||
TB1MR.Bit5 5
|
||
TB1MR.Bit4 4
|
||
TB1MR.Bit3 3
|
||
TB1MR.Bit2 2
|
||
TB1MR.Bit1 1 Operating mode select bit 1
|
||
TB1MR.Bit0 0 Operating mode select bit 0
|
||
TB2MR 0x005D Timer B2 mode register
|
||
TB2MR.Bit7 7
|
||
TB2MR.Bit6 6
|
||
TB2MR.Bit5 5
|
||
TB2MR.Bit4 4
|
||
TB2MR.Bit3 3
|
||
TB2MR.Bit2 2
|
||
TB2MR.Bit1 1 Operating mode select bit 1
|
||
TB2MR.Bit0 0 Operating mode select bit 0
|
||
PM0 0x005E Processor mode register 0
|
||
PM0.Bit6 6 Software reset bit
|
||
PM0.Bit5 5 Interrupt priority detection time select bit 5
|
||
PM0.Bit4 4 Interrupt priority detection time select bit 4
|
||
PM0.Bit1 1 Processor mode bit 1
|
||
PM0.Bit0 0 Processor mode bit 0
|
||
PM1 0x005F Processor mode register 1
|
||
PM1.Bit1 1 Direct page register switch bit
|
||
WDT 0x0060 Watchdog timer register (***)
|
||
WDT.Bit7 7
|
||
WDT.Bit6 6
|
||
WDT.Bit5 5
|
||
WDT.Bit4 4
|
||
WDT.Bit3 3
|
||
WDT.Bit2 2
|
||
WDT.Bit1 1
|
||
WDT.Bit0 0
|
||
WDTFS 0x0061 Watchdog timer frequency select register (***)
|
||
WDTFS.Bit7 7 Watchdog timer clock source select bit at STP termination
|
||
WDTFS.Bit6 6 Watchdog timer clock source select bit at STP termination
|
||
WDTFS.Bit0 0 Watchdog timer frequency select bit
|
||
PFSR0 0x0062 Particular function select register 0 (***)
|
||
PFSR0.Bit1 1 External clcok input select bit
|
||
PFSR0.Bit0 0 STP instruction invalidity select bit
|
||
PFSR1 0x0063 Particular function select register 1 (***)
|
||
PFSR1.Bit6 6 Timer B2 clock source select bit
|
||
PFSR1.Bit3 3 System clock stop select bit at WIT
|
||
PFSR1.Bit1 1 WIT-instruction-execution status bit
|
||
PFSR1.Bit0 0 STP-instruction-execution status bit
|
||
PFSR2 0x0064 Particular function select register 2 (***)
|
||
PFSR2.Bit7 7
|
||
PFSR2.Bit6 6
|
||
PFSR2.Bit5 5
|
||
PFSR2.Bit4 4
|
||
PFSR2.Bit3 3
|
||
PFSR2.Bit2 2
|
||
PFSR2.Bit1 1
|
||
PFSR2.Bit0 0
|
||
RESERVED0065 0x0065 RESERVED
|
||
DCR0 0x0066 Debug control register 0 (***)
|
||
DCR0.Bit5 5 Detect enable bit
|
||
DCR0.Bit2 2 Detect condition select bit 2
|
||
DCR0.Bit1 1 Detect condition select bit 1
|
||
DCR0.Bit0 0 Detect condition select bit 0
|
||
DCR1 0x0067 Debug control register 1 (***)
|
||
DCR1.Bit6 6 Address-matching-detection 2 decision bit
|
||
DCR1.Bit2 2 Address compare register access enable bit
|
||
ACR0 0x0068 Address compare register 0 (***)
|
||
ACR1 0x006B Address compare register 1 (***)
|
||
INT3IC 0x006E INT3 interrupt control register
|
||
INT3IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT3IC.Bit4 4 Polarity select bit
|
||
INT3IC.Bit3 3 Interrupt request bit
|
||
INT3IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT3IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT3IC.Bit0 0 Interrupt priority level select bit 0
|
||
INT4IC 0x006F INT4 interrupt control register
|
||
INT4IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT4IC.Bit4 4 Polarity select bit
|
||
INT4IC.Bit3 3 Interrupt request bit
|
||
INT4IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT4IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT4IC.Bit0 0 Interrupt priority level select bit 0
|
||
ADIC 0x0070 A-D conversion interrupt control register
|
||
ADIC.Bit3 3 Interrupt request bit
|
||
ADIC.Bit2 2 Interrupt priority level select bit 2
|
||
ADIC.Bit1 1 Interrupt priority level select bit 1
|
||
ADIC.Bit0 0 Interrupt priority level select bit 0
|
||
S0TIC 0x0071 UART0 transmit interrupt control register
|
||
S0TIC.Bit3 3 Interrupt request bit
|
||
S0TIC.Bit2 2 Interrupt priority level select bit 2
|
||
S0TIC.Bit1 1 Interrupt priority level select bit 1
|
||
S0TIC.Bit0 0 Interrupt priority level select bit 0
|
||
S0RIC 0x0072 UART0 receive interrupt control register
|
||
S0RIC.Bit3 3 Interrupt request bit
|
||
S0RIC.Bit2 2 Interrupt priority level select bit 2
|
||
S0RIC.Bit1 1 Interrupt priority level select bit 1
|
||
S0RIC.Bit0 0 Interrupt priority level select bit 0
|
||
S1TIC 0x0073 UART1 transmit interrupt control register
|
||
S1TIC.Bit3 3 Interrupt request bit
|
||
S1TIC.Bit2 2 Interrupt priority level select bit 2
|
||
S1TIC.Bit1 1 Interrupt priority level select bit 1
|
||
S1TIC.Bit0 0 Interrupt priority level select bit 0
|
||
S1RIC 0x0074 UART1 receive interrupt control register
|
||
S1RIC.Bit3 3 Interrupt request bit
|
||
S1RIC.Bit2 2 Interrupt priority level select bit 2
|
||
S1RIC.Bit1 1 Interrupt priority level select bit 1
|
||
S1RIC.Bit0 0 Interrupt priority level select bit 0
|
||
TA0IC 0x0075 Timer A0 interrupt control register
|
||
TA0IC.Bit3 3 Interrupt request bit
|
||
TA0IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA0IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA0IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA1IC 0x0076 Timer A1 interrupt control register
|
||
TA1IC.Bit3 3 Interrupt request bit
|
||
TA1IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA1IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA1IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA2IC 0x0077 Timer A2 interrupt control register
|
||
TA2IC.Bit3 3 Interrupt request bit
|
||
TA2IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA2IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA2IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA3IC 0x0078 Timer A3 interrupt control register
|
||
TA3IC.Bit3 3 Interrupt request bit
|
||
TA3IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA3IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA3IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA4IC 0x0079 Timer A4 interrupt control register
|
||
TA4IC.Bit3 3 Interrupt request bit
|
||
TA4IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA4IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA4IC.Bit0 0 Interrupt priority level select bit 0
|
||
TB0IC 0x007A Timer B0 interrupt control register
|
||
TB0IC.Bit3 3 Interrupt request bit
|
||
TB0IC.Bit2 2 Interrupt priority level select bit 2
|
||
TB0IC.Bit1 1 Interrupt priority level select bit 1
|
||
TB0IC.Bit0 0 Interrupt priority level select bit 0
|
||
TB1IC 0x007B Timer B1 interrupt control register
|
||
TB1IC.Bit3 3 Interrupt request bit
|
||
TB1IC.Bit2 2 Interrupt priority level select bit 2
|
||
TB1IC.Bit1 1 Interrupt priority level select bit 1
|
||
TB1IC.Bit0 0 Interrupt priority level select bit 0
|
||
TB2IC 0x007C Timer B2 interrupt control register
|
||
TB2IC.Bit3 3 Interrupt request bit
|
||
TB2IC.Bit2 2 Interrupt priority level select bit 2
|
||
TB2IC.Bit1 1 Interrupt priority level select bit 1
|
||
TB2IC.Bit0 0 Interrupt priority level select bit 0
|
||
INT0IC 0x007D INT0 interrupt control register
|
||
INT0IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT0IC.Bit4 4 Polarity select bit
|
||
INT0IC.Bit3 3 Interrupt request bit
|
||
INT0IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT0IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT0IC.Bit0 0 Interrupt priority level select bit 0
|
||
INT1IC 0x007E INT1 interrupt control register
|
||
INT1IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT1IC.Bit4 4 Polarity select bit
|
||
INT1IC.Bit3 3 Interrupt request bit
|
||
INT1IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT1IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT1IC.Bit0 0 Interrupt priority level select bit 0
|
||
INT2IC 0x007F INT2 interrupt control register
|
||
INT2IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT2IC.Bit4 4 Polarity select bit
|
||
INT2IC.Bit3 3 Interrupt request bit
|
||
INT2IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT2IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT2IC.Bit0 0 Interrupt priority level select bit 0
|
||
RESERVED0080 0x0080 RESERVED
|
||
RESERVED0081 0x0081 RESERVED
|
||
RESERVED0082 0x0082 RESERVED
|
||
RESERVED0083 0x0083 RESERVED
|
||
RESERVED0084 0x0084 RESERVED
|
||
RESERVED0085 0x0085 RESERVED
|
||
RESERVED0086 0x0086 RESERVED
|
||
RESERVED0087 0x0087 RESERVED
|
||
RESERVED0088 0x0088 RESERVED
|
||
RESERVED0089 0x0089 RESERVED
|
||
RESERVED008A 0x008A RESERVED
|
||
RESERVED008B 0x008B RESERVED
|
||
RESERVED008C 0x008C RESERVED
|
||
RESERVED008D 0x008D RESERVED
|
||
RESERVED008E 0x008E RESERVED
|
||
RESERVED008F 0x008F RESERVED
|
||
RESERVED0090 0x0090 RESERVED
|
||
RESERVED0091 0x0091 RESERVED
|
||
RESERVED0092 0x0092 RESERVED
|
||
RESERVED0093 0x0093 RESERVED
|
||
RESERVED0094 0x0094 RESERVED
|
||
EIIRR 0x0095 External interrupt input read register (***)
|
||
EIIRR.Bit7 7 INT7 read out bit
|
||
EIIRR.Bit6 6 INT6 read out bit
|
||
EIIRR.Bit5 5 INT5 read out bit
|
||
EIIRR.Bit4 4 INT4 read out bit
|
||
EIIRR.Bit3 3 INT3 read out bit
|
||
EIIRR.Bit2 2 INT2 read out bit
|
||
EIIRR.Bit1 1 INT1 read out bit
|
||
EIIRR.Bit0 0 INT0 read out bit
|
||
DACR 0x0096 D-A control register
|
||
DACR.Bit1 1 D-A1 output enable bit
|
||
DACR.Bit0 0 D-A0 output enable bit
|
||
RESERVED0097 0x0097 RESERVED
|
||
DAR0 0x0098 D-A register 0 (***)
|
||
DAR1 0x0099 D-A register 1 (***)
|
||
RESERVED009A 0x009A RESERVED
|
||
RESERVED009B 0x009B RESERVED
|
||
RESERVED009C 0x009C RESERVED
|
||
RESERVED009D 0x009D RESERVED
|
||
RESERVED009E 0x009E RESERVED
|
||
RESERVED009F 0x009F RESERVED
|
||
POCR 0x00A0 Pulse output control register (***)
|
||
POCR.Bit7 7 Waveform output control bit 1
|
||
POCR.Bit6 6 Waveform output control bit 0
|
||
POCR.Bit5 5 Pulse width modulation timer select bit 5
|
||
POCR.Bit4 4 Pulse width modulation timer select bit 4
|
||
POCR.Bit3 3 Pulse output mode select bit
|
||
POCR.Bit2 2 Waveform output select bit 2
|
||
POCR.Bit1 1 Waveform output select bit 1
|
||
POCR.Bit0 0 Waveform output select bit 0
|
||
RESERVED00A1 0x00A1 RESERVED
|
||
PODR0 0x00A2 Pulse output data register 0 (***)
|
||
PODR0.Bit7 7 Pulse output trigger select bit 7
|
||
PODR0.Bit6 6 Pulse output trigger select bit 6
|
||
PODR0.Bit5 5 RTP31 pulse output data bit
|
||
PODR0.Bit4 4 RTP30 pulse output data bit
|
||
PODR0.Bit3 3 RTP23 pulse output data bit
|
||
PODR0.Bit2 2 RTP22 pulse output data bit
|
||
PODR0.Bit1 1 RTP21 pulse output data bit
|
||
PODR0.Bit0 0 RTP20 pulse output data bit
|
||
RESERVED00A3 0x00A3 RESERVED
|
||
PODR1 0x00A4 Pulse output data register 1 (***)
|
||
PODR1.Bit7 7 RTP33 pulse output data bit
|
||
PODR1.Bit6 6 RTP32 pulse output data bit
|
||
PODR1.Bit5 5 RTP31 pulse output data bit
|
||
PODR1.Bit4 4 RTP30 pulse output data bit
|
||
PODR1.Bit3 3 Pulse output polarity select bit
|
||
PODR1.Bit2 2 Pulse width modulation enable bit 2
|
||
PODR1.Bit1 1 Pulse width modulation enable bit 1
|
||
PODR1.Bit0 0 Pulse width modulation enable bit 0
|
||
RESERVED00A5 0x00A5 RESERVED
|
||
WOMR 0x00A6 Waveform output mode register (***)
|
||
WOMR.Bit7 7 Waveform output control bit 1
|
||
WOMR.Bit6 6 Waveform output control bit 0
|
||
WOMR.Bit5 5 Pulse width modulation timer select bit 5
|
||
WOMR.Bit4 4 Pulse width modulation timer select bit 4
|
||
WOMR.Bit3 3 Pulse output mode select bit
|
||
WOMR.Bit2 2 Waveform output select bit 2
|
||
WOMR.Bit1 1 Waveform output select bit 1
|
||
WOMR.Bit0 0 Waveform output select bit 0
|
||
DTT 0x00A7 Dead-time timer (***)
|
||
TPODR0 0x00A8 Three-phase output data register 0 (***)
|
||
TPODR0.Bit7 7 Clock-source-of-dead-time-timer select bit 7
|
||
TPODR0.Bit6 6 Clock-source-of-dead-time-timer select bit 6
|
||
TPODR0.Bit3 3 W-phase output polarity set buffer
|
||
TPODR0.Bit2 2 U-phase output fix bit
|
||
TPODR0.Bit1 1 V-phase output fix bit
|
||
TPODR0.Bit0 0 W-phase output fix bit
|
||
TPODR1 0x00A9 Three-phase output data register 1 (***)
|
||
TPODR1.Bit5 5 U-phase output polarity set buffer / Interrupt validity output select bit
|
||
TPODR1.Bit4 4 V-phase output polarity set buffer / Interrupt request interval set bit
|
||
TPODR1.Bit2 2 U-phase fixed outputs polarity set bit
|
||
TPODR1.Bit1 1 V-phase fixed outputs polarity set bit
|
||
TPODR1.Bit0 0 W-phase fixed outputs polarity set bit
|
||
PDRFCR 0x00AA Position-data-retain function control register (***)
|
||
PDRFCR.Bit3 3 Retain-trigger polarity select bit
|
||
PDRFCR.Bit2 2 U-phase position data retain bit
|
||
PDRFCR.Bit1 1 V-phase position data retain bit
|
||
PDRFCR.Bit0 0 W-phase position data retain bit
|
||
RESERVED00AB 0x00AB RESERVED
|
||
SIOPCR 0x00AC Serial I/O pin control register (***)
|
||
SIOPCR.Bit5 5 TxD2 /P83 switch bit
|
||
SIOPCR.Bit4 4 CTS2/RTS2 separate select bit
|
||
SIOPCR.Bit3 3 TxD1/P17 switch bit
|
||
SIOPCR.Bit2 2 TxD0/P13 switch bit
|
||
SIOPCR.Bit1 1 CTS1/RTS1 separate select bit
|
||
SIOPCR.Bit0 0 CTS0/RTS0 separate select bit
|
||
RESERVED00AD 0x00AD RESERVED
|
||
P2PFCR 0x00AE Port P2 pin function control register (***)
|
||
P2PFCR.Bit2 2 Pin TB2IN select bit
|
||
P2PFCR.Bit1 1 Pin TB1IN select bit
|
||
P2PFCR.Bit0 0 Pin TB0IN select bit
|
||
RESERVED00AF 0x00AF RESERVED
|
||
U2MR 0x00B0 UART2 transmit/receive mode register
|
||
U2MR.Bit7 7 Sleep select bit
|
||
U2MR.Bit6 6 Parity enable bit
|
||
U2MR.Bit5 5 Odd/Even parity select bit
|
||
U2MR.Bit4 4 Stop bit length select bit
|
||
U2MR.Bit3 3 Internal/External clock select bit
|
||
U2MR.Bit2 2 Serial I/O mode select bit 2
|
||
U2MR.Bit1 1 Serial I/O mode select bit 1
|
||
U2MR.Bit0 0 Serial I/O mode select bit 0
|
||
BRG2 0x00B1 UART2 baud rate register (BRG2) (***)
|
||
U2TB 0x00B2 UART2 transmit buffer register
|
||
U2C0 0x00B4 UART2 transmit/receive control register 0
|
||
U2C0.Bit7 7 Transfer format select bit
|
||
U2C0.Bit6 6 CLK polarity select bit
|
||
U2C0.Bit5 5 UARTi receive interrupt mode select bit
|
||
U2C0.Bit4 4 CTS/RTS enable bit
|
||
U2C0.Bit3 3 Transmit register empty flag
|
||
U2C0.Bit2 2 CTS/RTS function select bit
|
||
U2C0.Bit1 1 BRG count source select bit 1
|
||
U2C0.Bit0 0 BRG count source select bit 0
|
||
U2C1 0x00B5 UART2 transmit/receive control register 1
|
||
U2C1.Bit7 7 Error sum flag
|
||
U2C1.Bit6 6 Parity error flag
|
||
U2C1.Bit5 5 Framing error flag
|
||
U2C1.Bit4 4 Overrun error flag
|
||
U2C1.Bit3 3 Receive complete flag
|
||
U2C1.Bit2 2 Receive enable bit
|
||
U2C1.Bit1 1 Transmit buffer empty flag
|
||
U2C1.Bit0 0 Transmit enable bit
|
||
U2RB 0x00B6 UART2 receive buffer register
|
||
RESERVED00B8 0x00B8 RESERVED
|
||
RESERVED00B9 0x00B9 RESERVED
|
||
RESERVED00BA 0x00BA RESERVED
|
||
RESERVED00BB 0x00BB RESERVED
|
||
CCR0 0x00BC Clock control register 0 (***)
|
||
CCR0.Bit7 7 Peripheral devices clock select bit 1
|
||
CCR0.Bit6 6 Peripheral devices clock select bit 0
|
||
CCR0.Bit5 5 System clock select bit
|
||
CCR0.Bit3 3 PLL multiplication ratio select bit 3
|
||
CCR0.Bit2 2 PLL multiplication ratio select bit 2
|
||
CCR0.Bit1 1 PLL circuit operation enable bit
|
||
RESERVED00BD 0x00BD RESERVED
|
||
RESERVED00BE 0x00BE RESERVED
|
||
RESERVED00BF 0x00BF RESERVED
|
||
RESERVED00C0 0x00C0 RESERVED
|
||
RESERVED00C1 0x00C1 RESERVED
|
||
RESERVED00C2 0x00C2 RESERVED
|
||
RESERVED00C3 0x00C3 RESERVED
|
||
UDF1 0x00C4 Up-down flag 1 (***)
|
||
RESERVED00C5 0x00C5 RESERVED
|
||
TA5 0x00C6 Timer A5 register
|
||
TA6 0x00C8 Timer A6 register
|
||
TA7 0x00CA Timer A7 register
|
||
TA8 0x00CC Timer A8 register
|
||
TA9 0x00CE Timer A9 register
|
||
TA01 0x00D0 Timer A01 register
|
||
TA11 0x00D2 Timer A11 register
|
||
TA21 0x00D4 Timer A21 register
|
||
TA5MR 0x00D6 Timer A5 mode register
|
||
TA5MR.Bit7 7
|
||
TA5MR.Bit6 6
|
||
TA5MR.Bit5 5
|
||
TA5MR.Bit4 4
|
||
TA5MR.Bit3 3
|
||
TA5MR.Bit2 2
|
||
TA5MR.Bit1 1 Operating mode select bit 1
|
||
TA5MR.Bit0 0 Operating mode select bit 0
|
||
TA6MR 0x00D7 Timer A6 mode register
|
||
TA6MR.Bit7 7
|
||
TA6MR.Bit6 6
|
||
TA6MR.Bit5 5
|
||
TA6MR.Bit4 4
|
||
TA6MR.Bit3 3
|
||
TA6MR.Bit2 2
|
||
TA6MR.Bit1 1 Operating mode select bit 1
|
||
TA6MR.Bit0 0 Operating mode select bit 0
|
||
TA7MR 0x00D8 Timer A7 mode register
|
||
TA7MR.Bit7 7
|
||
TA7MR.Bit6 6
|
||
TA7MR.Bit5 5
|
||
TA7MR.Bit4 4
|
||
TA7MR.Bit3 3
|
||
TA7MR.Bit2 2
|
||
TA7MR.Bit1 1 Operating mode select bit 1
|
||
TA7MR.Bit0 0 Operating mode select bit 0
|
||
TA8MR 0x00D9 Timer A8 mode register
|
||
TA8MR.Bit7 7
|
||
TA8MR.Bit6 6
|
||
TA8MR.Bit5 5
|
||
TA8MR.Bit4 4
|
||
TA8MR.Bit3 3
|
||
TA8MR.Bit2 2
|
||
TA8MR.Bit1 1 Operating mode select bit 1
|
||
TA8MR.Bit0 0 Operating mode select bit 0
|
||
TA9MR 0x00DA Timer A9 mode register
|
||
TA9MR.Bit7 7
|
||
TA9MR.Bit6 6
|
||
TA9MR.Bit5 5
|
||
TA9MR.Bit4 4
|
||
TA9MR.Bit3 3
|
||
TA9MR.Bit2 2
|
||
TA9MR.Bit1 1 Operating mode select bit 1
|
||
TA9MR.Bit0 0 Operating mode select bit 0
|
||
ADCON2 0x00DB A-D control register 2 (***)
|
||
ADCON2.Bit3 3 Analog input pin select bits 1
|
||
ADCON2.Bit2 2 Analog input pin select bits 1
|
||
ADCON2.Bit1 1 Analog input pin select bits 1
|
||
ADCON2.Bit0 0 Analog input pin select bits 1
|
||
CFSR0 0x00DC Comparator function select register 0 (***)
|
||
CFSR0.Bit7 7 AN7 pin comparator function select bit
|
||
CFSR0.Bit6 6 AN6 pin comparator function select bit
|
||
CFSR0.Bit5 5 AN5 pin comparator function select bit
|
||
CFSR0.Bit4 4 AN4 pin comparator function select bit
|
||
CFSR0.Bit3 3 AN3 pin comparator function select bit
|
||
CFSR0.Bit2 2 AN2 pin comparator function select bit
|
||
CFSR0.Bit1 1 AN1 pin comparator function select bit
|
||
CFSR0.Bit0 0 AN0 pin comparator function select bit
|
||
CFSR1 0x00DD Comparator function select register 1 (***)
|
||
CFSR1.Bit3 3 AN11 pin comparator function select bit
|
||
CFSR1.Bit2 2 AN10 pin comparator function select bit
|
||
CFSR1.Bit1 1 AN9 pin comparator function select bit
|
||
CFSR1.Bit0 0 AN8 pin comparator function select bit
|
||
CRR0 0x00DE Comparator result register 0 (***)
|
||
CRR0.Bit7 7 AN7 pin comparator result bit
|
||
CRR0.Bit6 6 AN6 pin comparator result bit
|
||
CRR0.Bit5 5 AN5 pin comparator result bit
|
||
CRR0.Bit4 4 AN4 pin comparator result bit
|
||
CRR0.Bit3 3 AN3 pin comparator result bit
|
||
CRR0.Bit2 2 AN2 pin comparator result bit
|
||
CRR0.Bit1 1 AN1 pin comparator result bit
|
||
CRR0.Bit0 0 AN0 pin comparator result bit
|
||
CRR1 0x00DF Comparator result register 1 (***)
|
||
CRR1.Bit3 3 AN11 pin comparator result bit
|
||
CRR1.Bit2 2 AN10 pin comparator result bit
|
||
CRR1.Bit1 1 AN9 pin comparator result bit
|
||
CRR1.Bit0 0 AN8 pin comparator result bit
|
||
AD8 0x00E0 A-D register 8
|
||
AD9 0x00E2 A-D register 9
|
||
AD10 0x00E4 A-D register 10
|
||
AD11 0x00E6 A-D register 11
|
||
RESERVED00E8 0x00E8 RESERVED
|
||
RESERVED00E9 0x00E9 RESERVED
|
||
RESERVED00EA 0x00EA RESERVED
|
||
RESERVED00EB 0x00EB RESERVED
|
||
RESERVED00EC 0x00EC RESERVED
|
||
RESERVED00ED 0x00ED RESERVED
|
||
RESERVED00EE 0x00EE RESERVED
|
||
RESERVED00EF 0x00EF RESERVED
|
||
RESERVED00F0 0x00F0 RESERVED
|
||
S2TIC 0x00F1 UART2 transmit interrupt control register
|
||
S2TIC.Bit3 3 Interrupt request bit
|
||
S2TIC.Bit2 2 Interrupt priority level select bit 2
|
||
S2TIC.Bit1 1 Interrupt priority level select bit 1
|
||
S2TIC.Bit0 0 Interrupt priority level select bit 0
|
||
S2RIC 0x00F2 UART2 receive interrupt control register
|
||
S2RIC.Bit3 3 Interrupt request bit
|
||
S2RIC.Bit2 2 Interrupt priority level select bit 2
|
||
S2RIC.Bit1 1 Interrupt priority level select bit 1
|
||
S2RIC.Bit0 0 Interrupt priority level select bit 0
|
||
RESERVED00F3 0x00F3 RESERVED
|
||
RESERVED00F4 0x00F4 RESERVED
|
||
TA5IC 0x00F5 Timer A5 interrupt control register
|
||
TA5IC.Bit3 3 Interrupt request bit
|
||
TA5IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA5IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA5IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA6IC 0x00F6 Timer A6 interrupt control register
|
||
TA6IC.Bit3 3 Interrupt request bit
|
||
TA6IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA6IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA6IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA7IC 0x00F7 Timer A7 interrupt control register
|
||
TA7IC.Bit3 3 Interrupt request bit
|
||
TA7IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA7IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA7IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA8IC 0x00F8 Timer A8 interrupt control register
|
||
TA8IC.Bit3 3 Interrupt request bit
|
||
TA8IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA8IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA8IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA9IC 0x00F9 Timer A9 interrupt control register
|
||
TA9IC.Bit3 3 Interrupt request bit
|
||
TA9IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA9IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA9IC.Bit0 0 Interrupt priority level select bit 0
|
||
RESERVED00FA 0x00FA RESERVED
|
||
RESERVED00FB 0x00FB RESERVED
|
||
RESERVED00FC 0x00FC RESERVED
|
||
INT5IC 0x00FD INT5 interrupt control register
|
||
INT5IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT5IC.Bit4 4 Polarity select bit
|
||
INT5IC.Bit3 3 Interrupt request bit
|
||
INT5IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT5IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT5IC.Bit0 0 Interrupt priority level select bit 0
|
||
INT6IC 0x00FE INT6 interrupt control register
|
||
INT6IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT6IC.Bit4 4 Polarity select bit
|
||
INT6IC.Bit3 3 Interrupt request bit
|
||
INT6IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT6IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT6IC.Bit0 0 Interrupt priority level select bit 0
|
||
INT7IC 0x00FF INT7 interrupt control register
|
||
INT7IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT7IC.Bit4 4 Polarity select bit
|
||
INT7IC.Bit3 3 Interrupt request bit
|
||
INT7IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT7IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT7IC.Bit0 0 Interrupt priority level select bit 0
|
||
|
||
|
||
.M37906F8
|
||
;http://www.mitsubishichips.com/Global/content/product/mcu/16bit/7700f/7900s/7906g/e7906um.pdf
|
||
|
||
|
||
; *** - ᮡ<>⢥<EFBFBD><E2A2A5><EFBFBD><EFBFBD> ᮪<><E1AEAA>饭<EFBFBD><E9A5AD>
|
||
|
||
|
||
; MEMORY MAP
|
||
area DATA FSR 0x0000:0x0100
|
||
area BSS RESERVED 0x0100:0x0400
|
||
area DATA RAM_ 0x0400:0x1000 Internal RAM
|
||
area DATA FLASH_ 0x1000:0xFFB4 Internal flash
|
||
area DATA USER_VEC 0xFFB4:0x10000
|
||
|
||
|
||
; Interrupt and reset vector assignments
|
||
interrupt __RESET 0xFFFE RESET
|
||
interrupt Zero_ 0xFFFC Zero division
|
||
interrupt BRK_ 0xFFFA BRK instruction
|
||
interrupt DBC_ 0xFFF8 DBC
|
||
interrupt Watchdog_ 0xFFF6 Watchdog timer
|
||
interrupt Timer_A0 0xFFEC Timer A0
|
||
interrupt Timer_A1 0xFFEA Timer A1
|
||
interrupt Timer_A2 0xFFE8 Timer A2
|
||
interrupt Timer_A3 0xFFE6 Timer A3
|
||
interrupt Timer_A4 0xFFE4 Timer A4
|
||
interrupt Timer_B0 0xFFE2 Timer B0
|
||
interrupt Timer_B1 0xFFE0 Timer B1
|
||
interrupt Timer_B2 0xFFDE Timer B2
|
||
interrupt UART0_R 0xFFDC UART0 receive
|
||
interrupt UART0_T 0xFFDA UART0 transmit
|
||
interrupt UART1_R 0xFFD8 UART1 receive
|
||
interrupt UART1_T 0xFFD6 UART1 transmit
|
||
interrupt A_D_CONV 0xFFD4 A-D conversion
|
||
interrupt INT3_ 0xFFD2 INT3
|
||
interrupt INT4_ 0xFFD0 INT4
|
||
interrupt ADR_M_D 0xFFCA Address matching detect
|
||
interrupt INT5_ 0xFFC6 INT5
|
||
interrupt INT6_ 0xFFC4 INT6
|
||
interrupt INT7_ 0xFFC2 INT7
|
||
interrupt Timer_A5 0xFFC0 Timer A5
|
||
interrupt Timer_A6 0xFFBE Timer A6
|
||
interrupt Timer_A7 0xFFBC Timer A7
|
||
interrupt Timer_A8 0xFFBA Timer A8
|
||
interrupt Timer_A9 0xFFB8 Timer A9
|
||
|
||
|
||
; INPUT/ OUTPUT PORTS
|
||
RESERVED0000 0x0000 RESERVED
|
||
RESERVED0001 0x0001 RESERVED
|
||
RESERVED0002 0x0002 RESERVED
|
||
P1 0x0003 Port P1 register
|
||
P1.P1_7 7 Port pin P17
|
||
P1.P1_6 6 Port pin P16
|
||
P1.P1_5 5 Port pin P15
|
||
P1.P1_4 4 Port pin P14
|
||
P1.P1_3 3 Port pin P13
|
||
P1.P1_2 2 Port pin P12
|
||
P1.P1_1 1 Port pin P11
|
||
P1.P1_0 0 Port pin P10
|
||
RESERVED0004 0x0004 RESERVED
|
||
PD1 0x0005 Port P1 direction register
|
||
PD1.PD1_7 7 Port P17 direction bit
|
||
PD1.PD1_6 6 Port P16 direction bit
|
||
PD1.PD1_5 5 Port P15 direction bit
|
||
PD1.PD1_4 4 Port P14 direction bit
|
||
PD1.PD1_3 3 Port P13 direction bit
|
||
PD1.PD1_2 2 Port P12 direction bit
|
||
PD1.PD1_1 1 Port P11 direction bit
|
||
PD1.PD1_0 0 Port P10 direction bit
|
||
P2 0x0006 Port P2 register
|
||
P2.P2_7 7 Port pin P27
|
||
P2.P2_6 6 Port pin P26
|
||
P2.P2_5 5 Port pin P25
|
||
P2.P2_4 4 Port pin P24
|
||
P2.P2_3 3 Port pin P23
|
||
P2.P2_2 2 Port pin P22
|
||
P2.P2_1 1 Port pin P21
|
||
P2.P2_0 0 Port pin P20
|
||
RESERVED0007 0x0007 RESERVED
|
||
PD2 0x0008 Port P2 direction register
|
||
PD2.PD2_7 7 Port P27 direction bit
|
||
PD2.PD2_6 6 Port P26 direction bit
|
||
PD2.PD2_5 5 Port P25 direction bit
|
||
PD2.PD2_4 4 Port P24 direction bit
|
||
PD2.PD2_3 3 Port P23 direction bit
|
||
PD2.PD2_2 2 Port P22 direction bit
|
||
PD2.PD2_1 1 Port P21 direction bit
|
||
PD2.PD2_0 0 Port P20 direction bit
|
||
RESERVED0009 0x0009 RESERVED
|
||
RESERVED000A 0x000A RESERVED
|
||
P5 0x000B Port P5 register
|
||
P5.P5_7 7 Port pin P57
|
||
P5.P5_6 6 Port pin P56
|
||
P5.P5_5 5 Port pin P55
|
||
P5.P5_4 4 Port pin P54
|
||
P5.P5_3 3 Port pin P53
|
||
P5.P5_2 2 Port pin P52
|
||
P5.P5_1 1 Port pin P51
|
||
P5.P5_0 0 Port pin P50
|
||
RESERVED000C 0x000C RESERVED
|
||
PD5 0x000D Port P5 direction register
|
||
PD5.PD5_7 7 Port P57 direction bit
|
||
PD5.PD5_6 6 Port P56 direction bit
|
||
PD5.PD5_5 5 Port P55 direction bit
|
||
PD5.PD5_4 4 Port P54 direction bit
|
||
PD5.PD5_3 3 Port P53 direction bit
|
||
PD5.PD5_2 2 Port P52 direction bit
|
||
PD5.PD5_1 1 Port P51 direction bit
|
||
PD5.PD5_0 0 Port P50 direction bit
|
||
P6 0x000E Port P6 register
|
||
P6.P6_7 7 Port pin P67
|
||
P6.P6_6 6 Port pin P66
|
||
P6.P6_5 5 Port pin P65
|
||
P6.P6_4 4 Port pin P64
|
||
P6.P6_3 3 Port pin P63
|
||
P6.P6_2 2 Port pin P62
|
||
P6.P6_1 1 Port pin P61
|
||
P6.P6_0 0 Port pin P60
|
||
P7 0x000F Port P7 register
|
||
P7.P7_7 7 Port pin P77
|
||
P7.P7_6 6 Port pin P76
|
||
P7.P7_5 5 Port pin P75
|
||
P7.P7_4 4 Port pin P74
|
||
P7.P7_3 3 Port pin P73
|
||
P7.P7_2 2 Port pin P72
|
||
P7.P7_1 1 Port pin P71
|
||
P7.P7_0 0 Port pin P70
|
||
PD6 0x0010 Port P6 direction register
|
||
PD6.PD6_7 7 Port P67 direction bit
|
||
PD6.PD6_6 6 Port P66 direction bit
|
||
PD6.PD6_5 5 Port P65 direction bit
|
||
PD6.PD6_4 4 Port P64 direction bit
|
||
PD6.PD6_3 3 Port P63 direction bit
|
||
PD6.PD6_2 2 Port P62 direction bit
|
||
PD6.PD6_1 1 Port P61 direction bit
|
||
PD6.PD6_0 0 Port P60 direction bit
|
||
PD7 0x0011 Port P7 direction register
|
||
PD7.PD7_7 7 Port P77 direction bit
|
||
PD7.PD7_6 6 Port P76 direction bit
|
||
PD7.PD7_5 5 Port P75 direction bit
|
||
PD7.PD7_4 4 Port P74 direction bit
|
||
PD7.PD7_3 3 Port P73 direction bit
|
||
PD7.PD7_2 2 Port P72 direction bit
|
||
PD7.PD7_1 1 Port P71 direction bit
|
||
PD7.PD7_0 0 Port P70 direction bit
|
||
RESERVED0012 0x0012 RESERVED
|
||
RESERVED0013 0x0013 RESERVED
|
||
RESERVED0014 0x0014 RESERVED
|
||
RESERVED0015 0x0015 RESERVED
|
||
RESERVED0016 0x0016 RESERVED
|
||
RESERVED0017 0x0017 RESERVED
|
||
RESERVED0018 0x0018 RESERVED
|
||
RESERVED0019 0x0019 RESERVED
|
||
RESERVED001A 0x001A RESERVED
|
||
RESERVED001B 0x001B RESERVED
|
||
RESERVED001C 0x001C RESERVED
|
||
RESERVED001D 0x001D RESERVED
|
||
ADCON0 0x001E A-D control register 0 (***)
|
||
ADCON0.Bit7 7 A-D conversion frequency select bit 0
|
||
ADCON0.Bit6 6 A-D conversion start bit
|
||
ADCON0.Bit4 4 A-D operation mode select bits 0 4
|
||
ADCON0.Bit3 3 A-D operation mode select bits 0 3
|
||
ADCON0.Bit2 2 Analog input pin select bit 2
|
||
ADCON0.Bit1 1 Analog input pin select bit 1
|
||
ADCON0.Bit0 0 Analog input pin select bit 0
|
||
ADCON1 0x001F A-D control register 1 (***)
|
||
ADCON1.Bit6 6 VREF connection select bit
|
||
ADCON1.Bit4 4 A-D conversion frequency select bit 1
|
||
ADCON1.Bit3 3 Resolution select bit
|
||
ADCON1.Bit1 1 A-D sweep pin select bit 1
|
||
ADCON1.Bit0 0 A-D sweep pin select bit 0
|
||
AD0 0x0020 A-D register 0
|
||
AD1 0x0022 A-D register 1
|
||
AD2 0x0024 A-D register 2
|
||
AD3 0x0026 A-D register 3
|
||
AD4 0x0028 A-D register 4
|
||
RESERVED002A 0x002A RESERVED
|
||
RESERVED002B 0x002B RESERVED
|
||
RESERVED002C 0x002C RESERVED
|
||
RESERVED002D 0x002D RESERVED
|
||
RESERVED002E 0x002E RESERVED
|
||
RESERVED002F 0x002F RESERVED
|
||
U0MR 0x0030 UART0 transmit/receive mode register
|
||
U0MR.Bit7 7 Sleep select bit
|
||
U0MR.Bit6 6 Parity enable bit
|
||
U0MR.Bit5 5 Odd/Even parity select bit
|
||
U0MR.Bit4 4 Stop bit length select bit
|
||
U0MR.Bit3 3 Internal/External clock select bit
|
||
U0MR.Bit2 2 Serial I/O mode select bit 2
|
||
U0MR.Bit1 1 Serial I/O mode select bit 1
|
||
U0MR.Bit0 0 Serial I/O mode select bit 0
|
||
BRG0 0x0031 UART0 baud rate register (BRG0) (***)
|
||
U0TB 0x0032 UART0 transmit buffer register
|
||
U0C0 0x0034 UART0 transmit/receive control register 0
|
||
U0C0.Bit7 7 Transfer format select bit
|
||
U0C0.Bit6 6 CLK polarity select bit
|
||
U0C0.Bit5 5 UART0 receive interrupt mode select bit
|
||
U0C0.Bit4 4 CTS/RTS enable bit
|
||
U0C0.Bit3 3 Transmit register empty flag
|
||
U0C0.Bit2 2 CTS/RTS function select bit
|
||
U0C0.Bit1 1 BRG count source select bit 1
|
||
U0C0.Bit0 0 BRG count source select bit 0
|
||
U0C1 0x0035 UART0 transmit/receive control register 1
|
||
U0C1.Bit7 7 Error sum flag
|
||
U0C1.Bit6 6 Parity error flag
|
||
U0C1.Bit5 5 Framing error flag
|
||
U0C1.Bit4 4 Overrun error flag
|
||
U0C1.Bit3 3 Receive complete flag
|
||
U0C1.Bit2 2 Receive enable bit
|
||
U0C1.Bit1 1 Transmit buffer empty flag
|
||
U0C1.Bit0 0 Transmit enable bit
|
||
U0RB 0x0036 UART0 receive buffer register
|
||
U1MR 0x0038 UART1 transmit/receive mode register
|
||
U1MR.Bit7 7 Sleep select bit
|
||
U1MR.Bit6 6 Parity enable bit
|
||
U1MR.Bit5 5 Odd/Even parity select bit
|
||
U1MR.Bit4 4 Stop bit length select bit
|
||
U1MR.Bit3 3 Internal/External clock select bit
|
||
U1MR.Bit2 2 Serial I/O mode select bit 2
|
||
U1MR.Bit1 1 Serial I/O mode select bit 1
|
||
U1MR.Bit0 0 Serial I/O mode select bit 0
|
||
BRG1 0x0039 UART1 baud rate register (BRG1) (***)
|
||
U1TB 0x003A UART1 transmit buffer register
|
||
U1C0 0x003C UART1 transmit/receive control register 0
|
||
U1C0.Bit7 7 Transfer format select bit
|
||
U1C0.Bit6 6 CLK polarity select bit
|
||
U1C0.Bit5 5 UART1 receive interrupt mode select bit
|
||
U1C0.Bit4 4 CTS/RTS enable bit
|
||
U1C0.Bit3 3 Transmit register empty flag
|
||
U1C0.Bit2 2 CTS/RTS function select bit
|
||
U1C0.Bit1 1 BRG count source select bit 1
|
||
U1C0.Bit0 0 BRG count source select bit 0
|
||
U1C1 0x003D UART1 transmit/receive control register 1
|
||
U1C1.Bit7 7 Error sum flag
|
||
U1C1.Bit6 6 Parity error flag
|
||
U1C1.Bit5 5 Framing error flag
|
||
U1C1.Bit4 4 Overrun error flag
|
||
U1C1.Bit3 3 Receive complete flag
|
||
U1C1.Bit2 2 Receive enable bit
|
||
U1C1.Bit1 1 Transmit buffer empty flag
|
||
U1C1.Bit0 0 Transmit enable bit
|
||
U1RB 0x003E UART1 receive buffer register
|
||
CSF0 0x0040 Count start flag 0 (***)
|
||
CSF1 0x0041 Count start flag 1 (***)
|
||
OSSF0 0x0042 One-shot start flag 0 (***)
|
||
OSSF1 0x0043 One-shot start flag 1 (***)
|
||
UDF0 0x0044 Up-down flag 0 (***)
|
||
TACDSR 0x0045 Timer A clock division select register (***)
|
||
TACDSR.Bit1 1 Timer A clock division select bit 1
|
||
TACDSR.Bit0 0 Timer A clock division select bit 0
|
||
TA0 0x0046 Timer A0 register
|
||
TA1 0x0048 Timer A1 register
|
||
TA2 0x004A Timer A2 register
|
||
TA3 0x004C Timer A3 register
|
||
TA4 0x004E Timer A4 register
|
||
TB0 0x0050 Timer B0 register
|
||
TB1 0x0052 Timer B1 register
|
||
TB2 0x0054 Timer B2 register
|
||
TA0MR 0x0056 Timer A0 mode register
|
||
TA0MR.Bit7 7
|
||
TA0MR.Bit6 6
|
||
TA0MR.Bit5 5
|
||
TA0MR.Bit4 4
|
||
TA0MR.Bit3 3
|
||
TA0MR.Bit2 2
|
||
TA0MR.Bit1 1 Operating mode select bit 1
|
||
TA0MR.Bit0 0 Operating mode select bit 0
|
||
TA1MR 0x0057 Timer A1 mode register
|
||
TA1MR.Bit7 7
|
||
TA1MR.Bit6 6
|
||
TA1MR.Bit5 5
|
||
TA1MR.Bit4 4
|
||
TA1MR.Bit3 3
|
||
TA1MR.Bit2 2
|
||
TA1MR.Bit1 1 Operating mode select bit 1
|
||
TA1MR.Bit0 0 Operating mode select bit 0
|
||
TA2MR 0x0058 Timer A2 mode register
|
||
TA2MR.Bit7 7
|
||
TA2MR.Bit6 6
|
||
TA2MR.Bit5 5
|
||
TA2MR.Bit4 4
|
||
TA2MR.Bit3 3
|
||
TA2MR.Bit2 2
|
||
TA2MR.Bit1 1 Operating mode select bit 1
|
||
TA2MR.Bit0 0 Operating mode select bit 0
|
||
TA3MR 0x0059 Timer A3 mode register
|
||
TA3MR.Bit7 7
|
||
TA3MR.Bit6 6
|
||
TA3MR.Bit5 5
|
||
TA3MR.Bit4 4
|
||
TA3MR.Bit3 3
|
||
TA3MR.Bit2 2
|
||
TA3MR.Bit1 1 Operating mode select bit 1
|
||
TA3MR.Bit0 0 Operating mode select bit 0
|
||
TA4MR 0x005A Timer A4 mode register
|
||
TA4MR.Bit7 7
|
||
TA4MR.Bit6 6
|
||
TA4MR.Bit5 5
|
||
TA4MR.Bit4 4
|
||
TA4MR.Bit3 3
|
||
TA4MR.Bit2 2
|
||
TA4MR.Bit1 1 Operating mode select bit 1
|
||
TA4MR.Bit0 0 Operating mode select bit 0
|
||
TB0MR 0x005B Timer B0 mode register
|
||
TB0MR.Bit7 7
|
||
TB0MR.Bit6 6
|
||
TB0MR.Bit5 5
|
||
TB0MR.Bit4 4
|
||
TB0MR.Bit3 3
|
||
TB0MR.Bit2 2
|
||
TB0MR.Bit1 1 Operating mode select bit 1
|
||
TB0MR.Bit0 0 Operating mode select bit 0
|
||
TB1MR 0x005C Timer B1 mode register
|
||
TB1MR.Bit7 7
|
||
TB1MR.Bit6 6
|
||
TB1MR.Bit5 5
|
||
TB1MR.Bit4 4
|
||
TB1MR.Bit3 3
|
||
TB1MR.Bit2 2
|
||
TB1MR.Bit1 1 Operating mode select bit 1
|
||
TB1MR.Bit0 0 Operating mode select bit 0
|
||
TB2MR 0x005D Timer B2 mode register
|
||
TB2MR.Bit7 7
|
||
TB2MR.Bit6 6
|
||
TB2MR.Bit5 5
|
||
TB2MR.Bit4 4
|
||
TB2MR.Bit3 3
|
||
TB2MR.Bit2 2
|
||
TB2MR.Bit1 1 Operating mode select bit 1
|
||
TB2MR.Bit0 0 Operating mode select bit 0
|
||
PM0 0x005E Processor mode register 0
|
||
PM1 0x005F Processor mode register 1
|
||
PM1.Bit1 1 Direct page register switch bit
|
||
WDT 0x0060 Watchdog timer register (***)
|
||
WDT.Bit7 7
|
||
WDT.Bit6 6
|
||
WDT.Bit5 5
|
||
WDT.Bit4 4
|
||
WDT.Bit3 3
|
||
WDT.Bit2 2
|
||
WDT.Bit1 1
|
||
WDT.Bit0 0
|
||
WDTFS 0x0061 Watchdog timer frequency select register (***)
|
||
WDTFS.Bit7 7 Watchdog timer clock source select bit at STP termination
|
||
WDTFS.Bit6 6 Watchdog timer clock source select bit at STP termination
|
||
WDTFS.Bit0 0 Watchdog timer frequency select bit
|
||
PFSR0 0x0062 Particular function select register 0 (***)
|
||
PFSR0.Bit1 1 External clcok input select bit
|
||
PFSR0.Bit0 0 STP instruction invalidity select bit
|
||
PFSR1 0x0063 Particular function select register 1 (***)
|
||
PFSR1.Bit6 6 Timer B2 clock source select bit
|
||
PFSR1.Bit3 3 System clock stop select bit at WIT
|
||
PFSR1.Bit1 1 WIT-instruction-execution status bit
|
||
PFSR1.Bit0 0 STP-instruction-execution status bit
|
||
PFSR2 0x0064 Particular function select register 2 (***)
|
||
PFSR2.Bit7 7
|
||
PFSR2.Bit6 6
|
||
PFSR2.Bit5 5
|
||
PFSR2.Bit4 4
|
||
PFSR2.Bit3 3
|
||
PFSR2.Bit2 2
|
||
PFSR2.Bit1 1
|
||
PFSR2.Bit0 0
|
||
RESERVED0065 0x0065 RESERVED
|
||
DCR0 0x0066 Debug control register 0 (***)
|
||
DCR0.Bit5 5 Detect enable bit
|
||
DCR0.Bit2 2 Detect condition select bit 2
|
||
DCR0.Bit1 1 Detect condition select bit 1
|
||
DCR0.Bit0 0 Detect condition select bit 0
|
||
DCR1 0x0067 Debug control register 1 (***)
|
||
DCR1.Bit6 6 Address-matching-detection 2 decision bit
|
||
DCR1.Bit2 2 Address compare register access enable bit
|
||
ACR0 0x0068 Address compare register 0 (***)
|
||
ACR1 0x006B Address compare register 1 (***)
|
||
INT3IC 0x006E INT3 interrupt control register
|
||
INT3IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT3IC.Bit4 4 Polarity select bit
|
||
INT3IC.Bit3 3 Interrupt request bit
|
||
INT3IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT3IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT3IC.Bit0 0 Interrupt priority level select bit 0
|
||
INT4IC 0x006F INT4 interrupt control register
|
||
INT4IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT4IC.Bit4 4 Polarity select bit
|
||
INT4IC.Bit3 3 Interrupt request bit
|
||
INT4IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT4IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT4IC.Bit0 0 Interrupt priority level select bit 0
|
||
ADIC 0x0070 A-D conversion interrupt control register
|
||
ADIC.Bit3 3 Interrupt request bit
|
||
ADIC.Bit2 2 Interrupt priority level select bit 2
|
||
ADIC.Bit1 1 Interrupt priority level select bit 1
|
||
ADIC.Bit0 0 Interrupt priority level select bit 0
|
||
S0TIC 0x0071 UART0 transmit interrupt control register
|
||
S0TIC.Bit3 3 Interrupt request bit
|
||
S0TIC.Bit2 2 Interrupt priority level select bit 2
|
||
S0TIC.Bit1 1 Interrupt priority level select bit 1
|
||
S0TIC.Bit0 0 Interrupt priority level select bit 0
|
||
S0RIC 0x0072 UART0 receive interrupt control register
|
||
S0RIC.Bit3 3 Interrupt request bit
|
||
S0RIC.Bit2 2 Interrupt priority level select bit 2
|
||
S0RIC.Bit1 1 Interrupt priority level select bit 1
|
||
S0RIC.Bit0 0 Interrupt priority level select bit 0
|
||
S1TIC 0x0073 UART1 transmit interrupt control register
|
||
S1TIC.Bit3 3 Interrupt request bit
|
||
S1TIC.Bit2 2 Interrupt priority level select bit 2
|
||
S1TIC.Bit1 1 Interrupt priority level select bit 1
|
||
S1TIC.Bit0 0 Interrupt priority level select bit 0
|
||
S1RIC 0x0074 UART1 receive interrupt control register
|
||
S1RIC.Bit3 3 Interrupt request bit
|
||
S1RIC.Bit2 2 Interrupt priority level select bit 2
|
||
S1RIC.Bit1 1 Interrupt priority level select bit 1
|
||
S1RIC.Bit0 0 Interrupt priority level select bit 0
|
||
TA0IC 0x0075 Timer A0 interrupt control register
|
||
TA0IC.Bit3 3 Interrupt request bit
|
||
TA0IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA0IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA0IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA1IC 0x0076 Timer A1 interrupt control register
|
||
TA1IC.Bit3 3 Interrupt request bit
|
||
TA1IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA1IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA1IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA2IC 0x0077 Timer A2 interrupt control register
|
||
TA2IC.Bit3 3 Interrupt request bit
|
||
TA2IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA2IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA2IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA3IC 0x0078 Timer A3 interrupt control register
|
||
TA3IC.Bit3 3 Interrupt request bit
|
||
TA3IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA3IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA3IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA4IC 0x0079 Timer A4 interrupt control register
|
||
TA4IC.Bit3 3 Interrupt request bit
|
||
TA4IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA4IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA4IC.Bit0 0 Interrupt priority level select bit 0
|
||
TB0IC 0x007A Timer B0 interrupt control register
|
||
TB0IC.Bit3 3 Interrupt request bit
|
||
TB0IC.Bit2 2 Interrupt priority level select bit 2
|
||
TB0IC.Bit1 1 Interrupt priority level select bit 1
|
||
TB0IC.Bit0 0 Interrupt priority level select bit 0
|
||
TB1IC 0x007B Timer B1 interrupt control register
|
||
TB1IC.Bit3 3 Interrupt request bit
|
||
TB1IC.Bit2 2 Interrupt priority level select bit 2
|
||
TB1IC.Bit1 1 Interrupt priority level select bit 1
|
||
TB1IC.Bit0 0 Interrupt priority level select bit 0
|
||
TB2IC 0x007C Timer B2 interrupt control register
|
||
TB2IC.Bit3 3 Interrupt request bit
|
||
TB2IC.Bit2 2 Interrupt priority level select bit 2
|
||
TB2IC.Bit1 1 Interrupt priority level select bit 1
|
||
TB2IC.Bit0 0 Interrupt priority level select bit 0
|
||
RESERVED007D 0x007D RESERVED
|
||
RESERVED007E 0x007E RESERVED
|
||
RESERVED007F 0x007F RESERVED
|
||
RESERVED0080 0x0080 RESERVED
|
||
RESERVED0081 0x0081 RESERVED
|
||
RESERVED0082 0x0082 RESERVED
|
||
RESERVED0083 0x0083 RESERVED
|
||
RESERVED0084 0x0084 RESERVED
|
||
RESERVED0085 0x0085 RESERVED
|
||
RESERVED0086 0x0086 RESERVED
|
||
RESERVED0087 0x0087 RESERVED
|
||
RESERVED0088 0x0088 RESERVED
|
||
RESERVED0089 0x0089 RESERVED
|
||
RESERVED008A 0x008A RESERVED
|
||
RESERVED008B 0x008B RESERVED
|
||
RESERVED008C 0x008C RESERVED
|
||
RESERVED008D 0x008D RESERVED
|
||
RESERVED008E 0x008E RESERVED
|
||
RESERVED008F 0x008F RESERVED
|
||
RESERVED0090 0x0090 RESERVED
|
||
RESERVED0091 0x0091 RESERVED
|
||
RESERVED0092 0x0092 RESERVED
|
||
RESERVED0093 0x0093 RESERVED
|
||
RESERVED0094 0x0094 RESERVED
|
||
EIIRR 0x0095 External interrupt input read register (***)
|
||
EIIRR.Bit7 7 INT7 read out bit
|
||
EIIRR.Bit6 6 INT6 read out bit
|
||
EIIRR.Bit5 5 INT5 read out bit
|
||
EIIRR.Bit4 4 INT4 read out bit
|
||
EIIRR.Bit3 3 INT3 read out bit
|
||
DACR 0x0096 D-A control register
|
||
DACR.Bit1 1 D-A1 output enable bit
|
||
DACR.Bit0 0 D-A0 output enable bit
|
||
RESERVED0097 0x0097 RESERVED
|
||
DAR0 0x0098 D-A register 0 (***)
|
||
DAR1 0x0099 D-A register 1 (***)
|
||
RESERVED009A 0x009A RESERVED
|
||
RESERVED009B 0x009B RESERVED
|
||
RESERVED009C 0x009C RESERVED
|
||
RESERVED009D 0x009D RESERVED
|
||
FMCR 0x009E Flash memory control register (***)
|
||
FMCR.Bit5 5 User ROM area select bit
|
||
FMCR.Bit3 3 Flash memory reset bit
|
||
FMCR.Bit1 1 CPU reprogramming mode select bit
|
||
FMCR.Bit0 0 RY/BY status bit
|
||
RESERVED009F 0x009F RESERVED
|
||
RESERVED00A0 0x00A0 RESERVED
|
||
RESERVED00A1 0x00A1 RESERVED
|
||
RESERVED00A2 0x00A2 RESERVED
|
||
RESERVED00A3 0x00A3 RESERVED
|
||
RESERVED00A4 0x00A4 RESERVED
|
||
RESERVED00A5 0x00A5 RESERVED
|
||
WOMR 0x00A6 Waveform output mode register (***)
|
||
WOMR.Bit7 7 Waveform output control bit 1
|
||
WOMR.Bit6 6 Waveform output control bit 0
|
||
WOMR.Bit5 5 Pulse width modulation timer select bit 5
|
||
WOMR.Bit4 4 Pulse width modulation timer select bit 4
|
||
WOMR.Bit3 3 Pulse output mode select bit
|
||
WOMR.Bit2 2 Waveform output select bit 2
|
||
WOMR.Bit1 1 Waveform output select bit 1
|
||
WOMR.Bit0 0 Waveform output select bit 0
|
||
DTT 0x00A7 Dead-time timer (***)
|
||
TPODR0 0x00A8 Three-phase output data register 0 (***)
|
||
TPODR0.Bit7 7 Clock-source-of-dead-time-timer select bit 7
|
||
TPODR0.Bit6 6 Clock-source-of-dead-time-timer select bit 6
|
||
TPODR0.Bit3 3 W-phase output polarity set buffer
|
||
TPODR0.Bit2 2 U-phase output fix bit
|
||
TPODR0.Bit1 1 V-phase output fix bit
|
||
TPODR0.Bit0 0 W-phase output fix bit
|
||
TPODR1 0x00A9 Three-phase output data register 1 (***)
|
||
TPODR1.Bit5 5 U-phase output polarity set buffer / Interrupt validity output select bit
|
||
TPODR1.Bit4 4 V-phase output polarity set buffer / Interrupt request interval set bit
|
||
TPODR1.Bit2 2 U-phase fixed outputs polarity set bit
|
||
TPODR1.Bit1 1 V-phase fixed outputs polarity set bit
|
||
TPODR1.Bit0 0 W-phase fixed outputs polarity set bit
|
||
PDRFCR 0x00AA Position-data-retain function control register (***)
|
||
PDRFCR.Bit3 3 Retain-trigger polarity select bit
|
||
PDRFCR.Bit2 2 U-phase position data retain bit
|
||
PDRFCR.Bit1 1 V-phase position data retain bit
|
||
PDRFCR.Bit0 0 W-phase position data retain bit
|
||
RESERVED00AB 0x00AB RESERVED
|
||
SIOPCR 0x00AC Serial I/O pin control register (***)
|
||
SIOPCR.Bit3 3 TxD1/P17 switch bit
|
||
SIOPCR.Bit2 2 TxD0/P13 switch bit
|
||
SIOPCR.Bit1 1 CTS1/RTS1 separate select bit
|
||
SIOPCR.Bit0 0 CTS0/RTS0 separate select bit
|
||
RESERVED00AD 0x00AD RESERVED
|
||
P2PFCR 0x00AE Port P2 pin function control register (***)
|
||
P2PFCR.Bit3 3 Pin INT3 /RTPTRG0 select bit
|
||
P2PFCR.Bit2 2 Pin TB2IN select bit
|
||
P2PFCR.Bit1 1 Pin TB1IN select bit
|
||
P2PFCR.Bit0 0 Pin TB0IN select bit
|
||
RESERVED00AF 0x00AF RESERVED
|
||
RESERVED00B0 0x00B0 RESERVED
|
||
RESERVED00B1 0x00B1 RESERVED
|
||
RESERVED00B2 0x00B2 RESERVED
|
||
RESERVED00B3 0x00B3 RESERVED
|
||
RESERVED00B4 0x00B4 RESERVED
|
||
RESERVED00B5 0x00B5 RESERVED
|
||
RESERVED00B6 0x00B6 RESERVED
|
||
RESERVED00B7 0x00B7 RESERVED
|
||
RESERVED00B8 0x00B8 RESERVED
|
||
RESERVED00B9 0x00B9 RESERVED
|
||
RESERVED00BA 0x00BA RESERVED
|
||
RESERVED00BB 0x00BB RESERVED
|
||
CCR0 0x00BC Clock control register 0 (***)
|
||
CCR0.Bit7 7 Peripheral devices clock select bit 1
|
||
CCR0.Bit6 6 Peripheral devices clock select bit 0
|
||
CCR0.Bit5 5 System clock select bit
|
||
CCR0.Bit3 3 PLL multiplication ratio select bit 3
|
||
CCR0.Bit2 2 PLL multiplication ratio select bit 2
|
||
CCR0.Bit1 1 PLL circuit operation enable bit
|
||
RESERVED00BD 0x00BD RESERVED
|
||
RESERVED00BE 0x00BE RESERVED
|
||
RESERVED00BF 0x00BF RESERVED
|
||
RESERVED00C0 0x00C0 RESERVED
|
||
RESERVED00C1 0x00C1 RESERVED
|
||
RESERVED00C2 0x00C2 RESERVED
|
||
RESERVED00C3 0x00C3 RESERVED
|
||
UDF1 0x00C4 Up-down flag 1 (***)
|
||
RESERVED00C5 0x00C5 RESERVED
|
||
TA5 0x00C6 Timer A5 register
|
||
TA6 0x00C8 Timer A6 register
|
||
TA7 0x00CA Timer A7 register
|
||
TA8 0x00CC Timer A8 register
|
||
TA9 0x00CE Timer A9 register
|
||
TA01 0x00D0 Timer A01 register
|
||
TA11 0x00D2 Timer A11 register
|
||
TA21 0x00D4 Timer A21 register
|
||
TA5MR 0x00D6 Timer A5 mode register
|
||
TA5MR.Bit7 7
|
||
TA5MR.Bit6 6
|
||
TA5MR.Bit5 5
|
||
TA5MR.Bit4 4
|
||
TA5MR.Bit3 3
|
||
TA5MR.Bit2 2
|
||
TA5MR.Bit1 1 Operating mode select bit 1
|
||
TA5MR.Bit0 0 Operating mode select bit 0
|
||
TA6MR 0x00D7 Timer A6 mode register
|
||
TA6MR.Bit7 7
|
||
TA6MR.Bit6 6
|
||
TA6MR.Bit5 5
|
||
TA6MR.Bit4 4
|
||
TA6MR.Bit3 3
|
||
TA6MR.Bit2 2
|
||
TA6MR.Bit1 1 Operating mode select bit 1
|
||
TA6MR.Bit0 0 Operating mode select bit 0
|
||
TA7MR 0x00D8 Timer A7 mode register
|
||
TA7MR.Bit7 7
|
||
TA7MR.Bit6 6
|
||
TA7MR.Bit5 5
|
||
TA7MR.Bit4 4
|
||
TA7MR.Bit3 3
|
||
TA7MR.Bit2 2
|
||
TA7MR.Bit1 1 Operating mode select bit 1
|
||
TA7MR.Bit0 0 Operating mode select bit 0
|
||
TA8MR 0x00D9 Timer A8 mode register
|
||
TA8MR.Bit7 7
|
||
TA8MR.Bit6 6
|
||
TA8MR.Bit5 5
|
||
TA8MR.Bit4 4
|
||
TA8MR.Bit3 3
|
||
TA8MR.Bit2 2
|
||
TA8MR.Bit1 1 Operating mode select bit 1
|
||
TA8MR.Bit0 0 Operating mode select bit 0
|
||
TA9MR 0x00DA Timer A9 mode register
|
||
TA9MR.Bit7 7
|
||
TA9MR.Bit6 6
|
||
TA9MR.Bit5 5
|
||
TA9MR.Bit4 4
|
||
TA9MR.Bit3 3
|
||
TA9MR.Bit2 2
|
||
TA9MR.Bit1 1 Operating mode select bit 1
|
||
TA9MR.Bit0 0 Operating mode select bit 0
|
||
RESERVED00DB 0x00DB RESERVED
|
||
CFSR0 0x00DC Comparator function select register 0 (***)
|
||
CFSR0.Bit4 4 AN4 pin comparator function select bit
|
||
CFSR0.Bit3 3 AN3 pin comparator function select bit
|
||
CFSR0.Bit2 2 AN2 pin comparator function select bit
|
||
CFSR0.Bit1 1 AN1 pin comparator function select bit
|
||
CFSR0.Bit0 0 AN0 pin comparator function select bit
|
||
RESERVED00DD 0x00DD RESERVED
|
||
CRR0 0x00DE Comparator result register 0 (***)
|
||
CRR0.Bit4 4 AN4 pin comparator result bit
|
||
CRR0.Bit3 3 AN3 pin comparator result bit
|
||
CRR0.Bit2 2 AN2 pin comparator result bit
|
||
CRR0.Bit1 1 AN1 pin comparator result bit
|
||
CRR0.Bit0 0 AN0 pin comparator result bit
|
||
RESERVED00DF 0x00DF RESERVED
|
||
RESERVED00E0 0x00E0 RESERVED
|
||
RESERVED00E1 0x00E1 RESERVED
|
||
RESERVED00E2 0x00E2 RESERVED
|
||
RESERVED00E3 0x00E3 RESERVED
|
||
RESERVED00E4 0x00E4 RESERVED
|
||
RESERVED00E5 0x00E5 RESERVED
|
||
RESERVED00E6 0x00E6 RESERVED
|
||
RESERVED00E7 0x00E7 RESERVED
|
||
RESERVED00E8 0x00E8 RESERVED
|
||
RESERVED00E9 0x00E9 RESERVED
|
||
RESERVED00EA 0x00EA RESERVED
|
||
RESERVED00EB 0x00EB RESERVED
|
||
RESERVED00EC 0x00EC RESERVED
|
||
RESERVED00ED 0x00ED RESERVED
|
||
RESERVED00EE 0x00EE RESERVED
|
||
RESERVED00EF 0x00EF RESERVED
|
||
RESERVED00F0 0x00F0 RESERVED
|
||
RESERVED00F1 0x00F1 RESERVED
|
||
RESERVED00F2 0x00F2 RESERVED
|
||
RESERVED00F3 0x00F3 RESERVED
|
||
RESERVED00F4 0x00F4 RESERVED
|
||
TA5IC 0x00F5 Timer A5 interrupt control register
|
||
TA5IC.Bit3 3 Interrupt request bit
|
||
TA5IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA5IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA5IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA6IC 0x00F6 Timer A6 interrupt control register
|
||
TA6IC.Bit3 3 Interrupt request bit
|
||
TA6IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA6IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA6IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA7IC 0x00F7 Timer A7 interrupt control register
|
||
TA7IC.Bit3 3 Interrupt request bit
|
||
TA7IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA7IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA7IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA8IC 0x00F8 Timer A8 interrupt control register
|
||
TA8IC.Bit3 3 Interrupt request bit
|
||
TA8IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA8IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA8IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA9IC 0x00F9 Timer A9 interrupt control register
|
||
TA9IC.Bit3 3 Interrupt request bit
|
||
TA9IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA9IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA9IC.Bit0 0 Interrupt priority level select bit 0
|
||
RESERVED00FA 0x00FA RESERVED
|
||
RESERVED00FB 0x00FB RESERVED
|
||
RESERVED00FC 0x00FC RESERVED
|
||
INT5IC 0x00FD INT5 interrupt control register
|
||
INT5IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT5IC.Bit4 4 Polarity select bit
|
||
INT5IC.Bit3 3 Interrupt request bit
|
||
INT5IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT5IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT5IC.Bit0 0 Interrupt priority level select bit 0
|
||
INT6IC 0x00FE INT6 interrupt control register
|
||
INT6IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT6IC.Bit4 4 Polarity select bit
|
||
INT6IC.Bit3 3 Interrupt request bit
|
||
INT6IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT6IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT6IC.Bit0 0 Interrupt priority level select bit 0
|
||
INT7IC 0x00FF INT7 interrupt control register
|
||
INT7IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT7IC.Bit4 4 Polarity select bit
|
||
INT7IC.Bit3 3 Interrupt request bit
|
||
INT7IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT7IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT7IC.Bit0 0 Interrupt priority level select bit 0
|
||
|
||
|
||
.M37906M4
|
||
;http://www.mitsubishichips.com/Global/content/product/mcu/16bit/7700f/7900s/7906g/e7906um.pdf
|
||
|
||
; *** - ᮡ<>⢥<EFBFBD><E2A2A5><EFBFBD><EFBFBD> ᮪<><E1AEAA>饭<EFBFBD><E9A5AD>
|
||
|
||
|
||
; MEMORY MAP
|
||
area DATA FSR 0x0000:0x0100
|
||
area BSS RESERVED 0x0100:0x0C00
|
||
area DATA RAM_ 0x0C00:0x1000 Internal RAM
|
||
area BSS RESERVED 0x1000:0x8000
|
||
area DATA ROM_ 0x8000:0xFFB4 Internal ROM
|
||
area DATA USER_VEC 0xFFB4:0x10000
|
||
|
||
|
||
; Interrupt and reset vector assignments
|
||
interrupt __RESET 0xFFFE RESET
|
||
interrupt Zero_ 0xFFFC Zero division
|
||
interrupt BRK_ 0xFFFA BRK instruction
|
||
interrupt DBC_ 0xFFF8 DBC
|
||
interrupt Watchdog_ 0xFFF6 Watchdog timer
|
||
interrupt Timer_A0 0xFFEC Timer A0
|
||
interrupt Timer_A1 0xFFEA Timer A1
|
||
interrupt Timer_A2 0xFFE8 Timer A2
|
||
interrupt Timer_A3 0xFFE6 Timer A3
|
||
interrupt Timer_A4 0xFFE4 Timer A4
|
||
interrupt Timer_B0 0xFFE2 Timer B0
|
||
interrupt Timer_B1 0xFFE0 Timer B1
|
||
interrupt Timer_B2 0xFFDE Timer B2
|
||
interrupt UART0_R 0xFFDC UART0 receive
|
||
interrupt UART0_T 0xFFDA UART0 transmit
|
||
interrupt UART1_R 0xFFD8 UART1 receive
|
||
interrupt UART1_T 0xFFD6 UART1 transmit
|
||
interrupt A_D_CONV 0xFFD4 A-D conversion
|
||
interrupt INT3_ 0xFFD2 INT3
|
||
interrupt INT4_ 0xFFD0 INT4
|
||
interrupt ADR_M_D 0xFFCA Address matching detect
|
||
interrupt INT5_ 0xFFC6 INT5
|
||
interrupt INT6_ 0xFFC4 INT6
|
||
interrupt INT7_ 0xFFC2 INT7
|
||
interrupt Timer_A5 0xFFC0 Timer A5
|
||
interrupt Timer_A6 0xFFBE Timer A6
|
||
interrupt Timer_A7 0xFFBC Timer A7
|
||
interrupt Timer_A8 0xFFBA Timer A8
|
||
interrupt Timer_A9 0xFFB8 Timer A9
|
||
|
||
|
||
; INPUT/ OUTPUT PORTS
|
||
RESERVED0000 0x0000 RESERVED
|
||
RESERVED0001 0x0001 RESERVED
|
||
RESERVED0002 0x0002 RESERVED
|
||
P1 0x0003 Port P1 register
|
||
P1.P1_7 7 Port pin P17
|
||
P1.P1_6 6 Port pin P16
|
||
P1.P1_5 5 Port pin P15
|
||
P1.P1_4 4 Port pin P14
|
||
P1.P1_3 3 Port pin P13
|
||
P1.P1_2 2 Port pin P12
|
||
P1.P1_1 1 Port pin P11
|
||
P1.P1_0 0 Port pin P10
|
||
RESERVED0004 0x0004 RESERVED
|
||
PD1 0x0005 Port P1 direction register
|
||
PD1.PD1_7 7 Port P17 direction bit
|
||
PD1.PD1_6 6 Port P16 direction bit
|
||
PD1.PD1_5 5 Port P15 direction bit
|
||
PD1.PD1_4 4 Port P14 direction bit
|
||
PD1.PD1_3 3 Port P13 direction bit
|
||
PD1.PD1_2 2 Port P12 direction bit
|
||
PD1.PD1_1 1 Port P11 direction bit
|
||
PD1.PD1_0 0 Port P10 direction bit
|
||
P2 0x0006 Port P2 register
|
||
P2.P2_7 7 Port pin P27
|
||
P2.P2_6 6 Port pin P26
|
||
P2.P2_5 5 Port pin P25
|
||
P2.P2_4 4 Port pin P24
|
||
P2.P2_3 3 Port pin P23
|
||
P2.P2_2 2 Port pin P22
|
||
P2.P2_1 1 Port pin P21
|
||
P2.P2_0 0 Port pin P20
|
||
RESERVED0007 0x0007 RESERVED
|
||
PD2 0x0008 Port P2 direction register
|
||
PD2.PD2_7 7 Port P27 direction bit
|
||
PD2.PD2_6 6 Port P26 direction bit
|
||
PD2.PD2_5 5 Port P25 direction bit
|
||
PD2.PD2_4 4 Port P24 direction bit
|
||
PD2.PD2_3 3 Port P23 direction bit
|
||
PD2.PD2_2 2 Port P22 direction bit
|
||
PD2.PD2_1 1 Port P21 direction bit
|
||
PD2.PD2_0 0 Port P20 direction bit
|
||
RESERVED0009 0x0009 RESERVED
|
||
RESERVED000A 0x000A RESERVED
|
||
P5 0x000B Port P5 register
|
||
P5.P5_7 7 Port pin P57
|
||
P5.P5_6 6 Port pin P56
|
||
P5.P5_5 5 Port pin P55
|
||
P5.P5_4 4 Port pin P54
|
||
P5.P5_3 3 Port pin P53
|
||
P5.P5_2 2 Port pin P52
|
||
P5.P5_1 1 Port pin P51
|
||
P5.P5_0 0 Port pin P50
|
||
RESERVED000C 0x000C RESERVED
|
||
PD5 0x000D Port P5 direction register
|
||
PD5.PD5_7 7 Port P57 direction bit
|
||
PD5.PD5_6 6 Port P56 direction bit
|
||
PD5.PD5_5 5 Port P55 direction bit
|
||
PD5.PD5_4 4 Port P54 direction bit
|
||
PD5.PD5_3 3 Port P53 direction bit
|
||
PD5.PD5_2 2 Port P52 direction bit
|
||
PD5.PD5_1 1 Port P51 direction bit
|
||
PD5.PD5_0 0 Port P50 direction bit
|
||
P6 0x000E Port P6 register
|
||
P6.P6_7 7 Port pin P67
|
||
P6.P6_6 6 Port pin P66
|
||
P6.P6_5 5 Port pin P65
|
||
P6.P6_4 4 Port pin P64
|
||
P6.P6_3 3 Port pin P63
|
||
P6.P6_2 2 Port pin P62
|
||
P6.P6_1 1 Port pin P61
|
||
P6.P6_0 0 Port pin P60
|
||
P7 0x000F Port P7 register
|
||
P7.P7_7 7 Port pin P77
|
||
P7.P7_6 6 Port pin P76
|
||
P7.P7_5 5 Port pin P75
|
||
P7.P7_4 4 Port pin P74
|
||
P7.P7_3 3 Port pin P73
|
||
P7.P7_2 2 Port pin P72
|
||
P7.P7_1 1 Port pin P71
|
||
P7.P7_0 0 Port pin P70
|
||
PD6 0x0010 Port P6 direction register
|
||
PD6.PD6_7 7 Port P67 direction bit
|
||
PD6.PD6_6 6 Port P66 direction bit
|
||
PD6.PD6_5 5 Port P65 direction bit
|
||
PD6.PD6_4 4 Port P64 direction bit
|
||
PD6.PD6_3 3 Port P63 direction bit
|
||
PD6.PD6_2 2 Port P62 direction bit
|
||
PD6.PD6_1 1 Port P61 direction bit
|
||
PD6.PD6_0 0 Port P60 direction bit
|
||
PD7 0x0011 Port P7 direction register
|
||
PD7.PD7_7 7 Port P77 direction bit
|
||
PD7.PD7_6 6 Port P76 direction bit
|
||
PD7.PD7_5 5 Port P75 direction bit
|
||
PD7.PD7_4 4 Port P74 direction bit
|
||
PD7.PD7_3 3 Port P73 direction bit
|
||
PD7.PD7_2 2 Port P72 direction bit
|
||
PD7.PD7_1 1 Port P71 direction bit
|
||
PD7.PD7_0 0 Port P70 direction bit
|
||
RESERVED0012 0x0012 RESERVED
|
||
RESERVED0013 0x0013 RESERVED
|
||
RESERVED0014 0x0014 RESERVED
|
||
RESERVED0015 0x0015 RESERVED
|
||
RESERVED0016 0x0016 RESERVED
|
||
RESERVED0017 0x0017 RESERVED
|
||
RESERVED0018 0x0018 RESERVED
|
||
RESERVED0019 0x0019 RESERVED
|
||
RESERVED001A 0x001A RESERVED
|
||
RESERVED001B 0x001B RESERVED
|
||
RESERVED001C 0x001C RESERVED
|
||
RESERVED001D 0x001D RESERVED
|
||
ADCON0 0x001E A-D control register 0 (***)
|
||
ADCON0.Bit7 7 A-D conversion frequency select bit 0
|
||
ADCON0.Bit6 6 A-D conversion start bit
|
||
ADCON0.Bit4 4 A-D operation mode select bits 0 4
|
||
ADCON0.Bit3 3 A-D operation mode select bits 0 3
|
||
ADCON0.Bit2 2 Analog input pin select bit 2
|
||
ADCON0.Bit1 1 Analog input pin select bit 1
|
||
ADCON0.Bit0 0 Analog input pin select bit 0
|
||
ADCON1 0x001F A-D control register 1 (***)
|
||
ADCON1.Bit6 6 VREF connection select bit
|
||
ADCON1.Bit4 4 A-D conversion frequency select bit 1
|
||
ADCON1.Bit3 3 Resolution select bit
|
||
ADCON1.Bit1 1 A-D sweep pin select bit 1
|
||
ADCON1.Bit0 0 A-D sweep pin select bit 0
|
||
AD0 0x0020 A-D register 0
|
||
AD1 0x0022 A-D register 1
|
||
AD2 0x0024 A-D register 2
|
||
AD3 0x0026 A-D register 3
|
||
AD4 0x0028 A-D register 4
|
||
RESERVED002A 0x002A RESERVED
|
||
RESERVED002B 0x002B RESERVED
|
||
RESERVED002C 0x002C RESERVED
|
||
RESERVED002D 0x002D RESERVED
|
||
RESERVED002E 0x002E RESERVED
|
||
RESERVED002F 0x002F RESERVED
|
||
U0MR 0x0030 UART0 transmit/receive mode register
|
||
U0MR.Bit7 7 Sleep select bit
|
||
U0MR.Bit6 6 Parity enable bit
|
||
U0MR.Bit5 5 Odd/Even parity select bit
|
||
U0MR.Bit4 4 Stop bit length select bit
|
||
U0MR.Bit3 3 Internal/External clock select bit
|
||
U0MR.Bit2 2 Serial I/O mode select bit 2
|
||
U0MR.Bit1 1 Serial I/O mode select bit 1
|
||
U0MR.Bit0 0 Serial I/O mode select bit 0
|
||
BRG0 0x0031 UART0 baud rate register (BRG0) (***)
|
||
U0TB 0x0032 UART0 transmit buffer register
|
||
U0C0 0x0034 UART0 transmit/receive control register 0
|
||
U0C0.Bit7 7 Transfer format select bit
|
||
U0C0.Bit6 6 CLK polarity select bit
|
||
U0C0.Bit5 5 UART0 receive interrupt mode select bit
|
||
U0C0.Bit4 4 CTS/RTS enable bit
|
||
U0C0.Bit3 3 Transmit register empty flag
|
||
U0C0.Bit2 2 CTS/RTS function select bit
|
||
U0C0.Bit1 1 BRG count source select bit 1
|
||
U0C0.Bit0 0 BRG count source select bit 0
|
||
U0C1 0x0035 UART0 transmit/receive control register 1
|
||
U0C1.Bit7 7 Error sum flag
|
||
U0C1.Bit6 6 Parity error flag
|
||
U0C1.Bit5 5 Framing error flag
|
||
U0C1.Bit4 4 Overrun error flag
|
||
U0C1.Bit3 3 Receive complete flag
|
||
U0C1.Bit2 2 Receive enable bit
|
||
U0C1.Bit1 1 Transmit buffer empty flag
|
||
U0C1.Bit0 0 Transmit enable bit
|
||
U0RB 0x0036 UART0 receive buffer register
|
||
U1MR 0x0038 UART1 transmit/receive mode register
|
||
U1MR.Bit7 7 Sleep select bit
|
||
U1MR.Bit6 6 Parity enable bit
|
||
U1MR.Bit5 5 Odd/Even parity select bit
|
||
U1MR.Bit4 4 Stop bit length select bit
|
||
U1MR.Bit3 3 Internal/External clock select bit
|
||
U1MR.Bit2 2 Serial I/O mode select bit 2
|
||
U1MR.Bit1 1 Serial I/O mode select bit 1
|
||
U1MR.Bit0 0 Serial I/O mode select bit 0
|
||
BRG1 0x0039 UART1 baud rate register (BRG1) (***)
|
||
U1TB 0x003A UART1 transmit buffer register
|
||
U1C0 0x003C UART1 transmit/receive control register 0
|
||
U1C0.Bit7 7 Transfer format select bit
|
||
U1C0.Bit6 6 CLK polarity select bit
|
||
U1C0.Bit5 5 UART1 receive interrupt mode select bit
|
||
U1C0.Bit4 4 CTS/RTS enable bit
|
||
U1C0.Bit3 3 Transmit register empty flag
|
||
U1C0.Bit2 2 CTS/RTS function select bit
|
||
U1C0.Bit1 1 BRG count source select bit 1
|
||
U1C0.Bit0 0 BRG count source select bit 0
|
||
U1C1 0x003D UART1 transmit/receive control register 1
|
||
U1C1.Bit7 7 Error sum flag
|
||
U1C1.Bit6 6 Parity error flag
|
||
U1C1.Bit5 5 Framing error flag
|
||
U1C1.Bit4 4 Overrun error flag
|
||
U1C1.Bit3 3 Receive complete flag
|
||
U1C1.Bit2 2 Receive enable bit
|
||
U1C1.Bit1 1 Transmit buffer empty flag
|
||
U1C1.Bit0 0 Transmit enable bit
|
||
U1RB 0x003E UART1 receive buffer register
|
||
CSF0 0x0040 Count start flag 0 (***)
|
||
CSF1 0x0041 Count start flag 1 (***)
|
||
OSSF0 0x0042 One-shot start flag 0 (***)
|
||
OSSF1 0x0043 One-shot start flag 1 (***)
|
||
UDF0 0x0044 Up-down flag 0 (***)
|
||
TACDSR 0x0045 Timer A clock division select register (***)
|
||
TACDSR.Bit1 1 Timer A clock division select bit 1
|
||
TACDSR.Bit0 0 Timer A clock division select bit 0
|
||
TA0 0x0046 Timer A0 register
|
||
TA1 0x0048 Timer A1 register
|
||
TA2 0x004A Timer A2 register
|
||
TA3 0x004C Timer A3 register
|
||
TA4 0x004E Timer A4 register
|
||
TB0 0x0050 Timer B0 register
|
||
TB1 0x0052 Timer B1 register
|
||
TB2 0x0054 Timer B2 register
|
||
TA0MR 0x0056 Timer A0 mode register
|
||
TA0MR.Bit7 7
|
||
TA0MR.Bit6 6
|
||
TA0MR.Bit5 5
|
||
TA0MR.Bit4 4
|
||
TA0MR.Bit3 3
|
||
TA0MR.Bit2 2
|
||
TA0MR.Bit1 1 Operating mode select bit 1
|
||
TA0MR.Bit0 0 Operating mode select bit 0
|
||
TA1MR 0x0057 Timer A1 mode register
|
||
TA1MR.Bit7 7
|
||
TA1MR.Bit6 6
|
||
TA1MR.Bit5 5
|
||
TA1MR.Bit4 4
|
||
TA1MR.Bit3 3
|
||
TA1MR.Bit2 2
|
||
TA1MR.Bit1 1 Operating mode select bit 1
|
||
TA1MR.Bit0 0 Operating mode select bit 0
|
||
TA2MR 0x0058 Timer A2 mode register
|
||
TA2MR.Bit7 7
|
||
TA2MR.Bit6 6
|
||
TA2MR.Bit5 5
|
||
TA2MR.Bit4 4
|
||
TA2MR.Bit3 3
|
||
TA2MR.Bit2 2
|
||
TA2MR.Bit1 1 Operating mode select bit 1
|
||
TA2MR.Bit0 0 Operating mode select bit 0
|
||
TA3MR 0x0059 Timer A3 mode register
|
||
TA3MR.Bit7 7
|
||
TA3MR.Bit6 6
|
||
TA3MR.Bit5 5
|
||
TA3MR.Bit4 4
|
||
TA3MR.Bit3 3
|
||
TA3MR.Bit2 2
|
||
TA3MR.Bit1 1 Operating mode select bit 1
|
||
TA3MR.Bit0 0 Operating mode select bit 0
|
||
TA4MR 0x005A Timer A4 mode register
|
||
TA4MR.Bit7 7
|
||
TA4MR.Bit6 6
|
||
TA4MR.Bit5 5
|
||
TA4MR.Bit4 4
|
||
TA4MR.Bit3 3
|
||
TA4MR.Bit2 2
|
||
TA4MR.Bit1 1 Operating mode select bit 1
|
||
TA4MR.Bit0 0 Operating mode select bit 0
|
||
TB0MR 0x005B Timer B0 mode register
|
||
TB0MR.Bit7 7
|
||
TB0MR.Bit6 6
|
||
TB0MR.Bit5 5
|
||
TB0MR.Bit4 4
|
||
TB0MR.Bit3 3
|
||
TB0MR.Bit2 2
|
||
TB0MR.Bit1 1 Operating mode select bit 1
|
||
TB0MR.Bit0 0 Operating mode select bit 0
|
||
TB1MR 0x005C Timer B1 mode register
|
||
TB1MR.Bit7 7
|
||
TB1MR.Bit6 6
|
||
TB1MR.Bit5 5
|
||
TB1MR.Bit4 4
|
||
TB1MR.Bit3 3
|
||
TB1MR.Bit2 2
|
||
TB1MR.Bit1 1 Operating mode select bit 1
|
||
TB1MR.Bit0 0 Operating mode select bit 0
|
||
TB2MR 0x005D Timer B2 mode register
|
||
TB2MR.Bit7 7
|
||
TB2MR.Bit6 6
|
||
TB2MR.Bit5 5
|
||
TB2MR.Bit4 4
|
||
TB2MR.Bit3 3
|
||
TB2MR.Bit2 2
|
||
TB2MR.Bit1 1 Operating mode select bit 1
|
||
TB2MR.Bit0 0 Operating mode select bit 0
|
||
PM0 0x005E Processor mode register 0
|
||
PM1 0x005F Processor mode register 1
|
||
PM1.Bit1 1 Direct page register switch bit
|
||
WDT 0x0060 Watchdog timer register (***)
|
||
WDT.Bit7 7
|
||
WDT.Bit6 6
|
||
WDT.Bit5 5
|
||
WDT.Bit4 4
|
||
WDT.Bit3 3
|
||
WDT.Bit2 2
|
||
WDT.Bit1 1
|
||
WDT.Bit0 0
|
||
WDTFS 0x0061 Watchdog timer frequency select register (***)
|
||
WDTFS.Bit7 7 Watchdog timer clock source select bit at STP termination
|
||
WDTFS.Bit6 6 Watchdog timer clock source select bit at STP termination
|
||
WDTFS.Bit0 0 Watchdog timer frequency select bit
|
||
PFSR0 0x0062 Particular function select register 0 (***)
|
||
PFSR0.Bit1 1 External clcok input select bit
|
||
PFSR0.Bit0 0 STP instruction invalidity select bit
|
||
PFSR1 0x0063 Particular function select register 1 (***)
|
||
PFSR1.Bit6 6 Timer B2 clock source select bit
|
||
PFSR1.Bit3 3 System clock stop select bit at WIT
|
||
PFSR1.Bit1 1 WIT-instruction-execution status bit
|
||
PFSR1.Bit0 0 STP-instruction-execution status bit
|
||
PFSR2 0x0064 Particular function select register 2 (***)
|
||
PFSR2.Bit7 7
|
||
PFSR2.Bit6 6
|
||
PFSR2.Bit5 5
|
||
PFSR2.Bit4 4
|
||
PFSR2.Bit3 3
|
||
PFSR2.Bit2 2
|
||
PFSR2.Bit1 1
|
||
PFSR2.Bit0 0
|
||
RESERVED0065 0x0065 RESERVED
|
||
DCR0 0x0066 Debug control register 0 (***)
|
||
DCR0.Bit5 5 Detect enable bit
|
||
DCR0.Bit2 2 Detect condition select bit 2
|
||
DCR0.Bit1 1 Detect condition select bit 1
|
||
DCR0.Bit0 0 Detect condition select bit 0
|
||
DCR1 0x0067 Debug control register 1 (***)
|
||
DCR1.Bit6 6 Address-matching-detection 2 decision bit
|
||
DCR1.Bit2 2 Address compare register access enable bit
|
||
ACR0 0x0068 Address compare register 0 (***)
|
||
ACR1 0x006B Address compare register 1 (***)
|
||
INT3IC 0x006E INT3 interrupt control register
|
||
INT3IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT3IC.Bit4 4 Polarity select bit
|
||
INT3IC.Bit3 3 Interrupt request bit
|
||
INT3IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT3IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT3IC.Bit0 0 Interrupt priority level select bit 0
|
||
INT4IC 0x006F INT4 interrupt control register
|
||
INT4IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT4IC.Bit4 4 Polarity select bit
|
||
INT4IC.Bit3 3 Interrupt request bit
|
||
INT4IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT4IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT4IC.Bit0 0 Interrupt priority level select bit 0
|
||
ADIC 0x0070 A-D conversion interrupt control register
|
||
ADIC.Bit3 3 Interrupt request bit
|
||
ADIC.Bit2 2 Interrupt priority level select bit 2
|
||
ADIC.Bit1 1 Interrupt priority level select bit 1
|
||
ADIC.Bit0 0 Interrupt priority level select bit 0
|
||
S0TIC 0x0071 UART0 transmit interrupt control register
|
||
S0TIC.Bit3 3 Interrupt request bit
|
||
S0TIC.Bit2 2 Interrupt priority level select bit 2
|
||
S0TIC.Bit1 1 Interrupt priority level select bit 1
|
||
S0TIC.Bit0 0 Interrupt priority level select bit 0
|
||
S0RIC 0x0072 UART0 receive interrupt control register
|
||
S0RIC.Bit3 3 Interrupt request bit
|
||
S0RIC.Bit2 2 Interrupt priority level select bit 2
|
||
S0RIC.Bit1 1 Interrupt priority level select bit 1
|
||
S0RIC.Bit0 0 Interrupt priority level select bit 0
|
||
S1TIC 0x0073 UART1 transmit interrupt control register
|
||
S1TIC.Bit3 3 Interrupt request bit
|
||
S1TIC.Bit2 2 Interrupt priority level select bit 2
|
||
S1TIC.Bit1 1 Interrupt priority level select bit 1
|
||
S1TIC.Bit0 0 Interrupt priority level select bit 0
|
||
S1RIC 0x0074 UART1 receive interrupt control register
|
||
S1RIC.Bit3 3 Interrupt request bit
|
||
S1RIC.Bit2 2 Interrupt priority level select bit 2
|
||
S1RIC.Bit1 1 Interrupt priority level select bit 1
|
||
S1RIC.Bit0 0 Interrupt priority level select bit 0
|
||
TA0IC 0x0075 Timer A0 interrupt control register
|
||
TA0IC.Bit3 3 Interrupt request bit
|
||
TA0IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA0IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA0IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA1IC 0x0076 Timer A1 interrupt control register
|
||
TA1IC.Bit3 3 Interrupt request bit
|
||
TA1IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA1IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA1IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA2IC 0x0077 Timer A2 interrupt control register
|
||
TA2IC.Bit3 3 Interrupt request bit
|
||
TA2IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA2IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA2IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA3IC 0x0078 Timer A3 interrupt control register
|
||
TA3IC.Bit3 3 Interrupt request bit
|
||
TA3IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA3IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA3IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA4IC 0x0079 Timer A4 interrupt control register
|
||
TA4IC.Bit3 3 Interrupt request bit
|
||
TA4IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA4IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA4IC.Bit0 0 Interrupt priority level select bit 0
|
||
TB0IC 0x007A Timer B0 interrupt control register
|
||
TB0IC.Bit3 3 Interrupt request bit
|
||
TB0IC.Bit2 2 Interrupt priority level select bit 2
|
||
TB0IC.Bit1 1 Interrupt priority level select bit 1
|
||
TB0IC.Bit0 0 Interrupt priority level select bit 0
|
||
TB1IC 0x007B Timer B1 interrupt control register
|
||
TB1IC.Bit3 3 Interrupt request bit
|
||
TB1IC.Bit2 2 Interrupt priority level select bit 2
|
||
TB1IC.Bit1 1 Interrupt priority level select bit 1
|
||
TB1IC.Bit0 0 Interrupt priority level select bit 0
|
||
TB2IC 0x007C Timer B2 interrupt control register
|
||
TB2IC.Bit3 3 Interrupt request bit
|
||
TB2IC.Bit2 2 Interrupt priority level select bit 2
|
||
TB2IC.Bit1 1 Interrupt priority level select bit 1
|
||
TB2IC.Bit0 0 Interrupt priority level select bit 0
|
||
RESERVED007D 0x007D RESERVED
|
||
RESERVED007E 0x007E RESERVED
|
||
RESERVED007F 0x007F RESERVED
|
||
RESERVED0080 0x0080 RESERVED
|
||
RESERVED0081 0x0081 RESERVED
|
||
RESERVED0082 0x0082 RESERVED
|
||
RESERVED0083 0x0083 RESERVED
|
||
RESERVED0084 0x0084 RESERVED
|
||
RESERVED0085 0x0085 RESERVED
|
||
RESERVED0086 0x0086 RESERVED
|
||
RESERVED0087 0x0087 RESERVED
|
||
RESERVED0088 0x0088 RESERVED
|
||
RESERVED0089 0x0089 RESERVED
|
||
RESERVED008A 0x008A RESERVED
|
||
RESERVED008B 0x008B RESERVED
|
||
RESERVED008C 0x008C RESERVED
|
||
RESERVED008D 0x008D RESERVED
|
||
RESERVED008E 0x008E RESERVED
|
||
RESERVED008F 0x008F RESERVED
|
||
RESERVED0090 0x0090 RESERVED
|
||
RESERVED0091 0x0091 RESERVED
|
||
RESERVED0092 0x0092 RESERVED
|
||
RESERVED0093 0x0093 RESERVED
|
||
RESERVED0094 0x0094 RESERVED
|
||
EIIRR 0x0095 External interrupt input read register (***)
|
||
EIIRR.Bit7 7 INT7 read out bit
|
||
EIIRR.Bit6 6 INT6 read out bit
|
||
EIIRR.Bit5 5 INT5 read out bit
|
||
EIIRR.Bit4 4 INT4 read out bit
|
||
EIIRR.Bit3 3 INT3 read out bit
|
||
DACR 0x0096 D-A control register
|
||
DACR.Bit1 1 D-A1 output enable bit
|
||
DACR.Bit0 0 D-A0 output enable bit
|
||
RESERVED0097 0x0097 RESERVED
|
||
DAR0 0x0098 D-A register 0 (***)
|
||
DAR1 0x0099 D-A register 1 (***)
|
||
RESERVED009A 0x009A RESERVED
|
||
RESERVED009B 0x009B RESERVED
|
||
RESERVED009C 0x009C RESERVED
|
||
RESERVED009D 0x009D RESERVED
|
||
RESERVED009E 0x009E RESERVED
|
||
RESERVED009F 0x009F RESERVED
|
||
RESERVED00A0 0x00A0 RESERVED
|
||
RESERVED00A1 0x00A1 RESERVED
|
||
RESERVED00A2 0x00A2 RESERVED
|
||
RESERVED00A3 0x00A3 RESERVED
|
||
RESERVED00A4 0x00A4 RESERVED
|
||
RESERVED00A5 0x00A5 RESERVED
|
||
WOMR 0x00A6 Waveform output mode register (***)
|
||
WOMR.Bit7 7 Waveform output control bit 1
|
||
WOMR.Bit6 6 Waveform output control bit 0
|
||
WOMR.Bit5 5 Pulse width modulation timer select bit 5
|
||
WOMR.Bit4 4 Pulse width modulation timer select bit 4
|
||
WOMR.Bit3 3 Pulse output mode select bit
|
||
WOMR.Bit2 2 Waveform output select bit 2
|
||
WOMR.Bit1 1 Waveform output select bit 1
|
||
WOMR.Bit0 0 Waveform output select bit 0
|
||
DTT 0x00A7 Dead-time timer (***)
|
||
TPODR0 0x00A8 Three-phase output data register 0 (***)
|
||
TPODR0.Bit7 7 Clock-source-of-dead-time-timer select bit 7
|
||
TPODR0.Bit6 6 Clock-source-of-dead-time-timer select bit 6
|
||
TPODR0.Bit3 3 W-phase output polarity set buffer
|
||
TPODR0.Bit2 2 U-phase output fix bit
|
||
TPODR0.Bit1 1 V-phase output fix bit
|
||
TPODR0.Bit0 0 W-phase output fix bit
|
||
TPODR1 0x00A9 Three-phase output data register 1 (***)
|
||
TPODR1.Bit5 5 U-phase output polarity set buffer / Interrupt validity output select bit
|
||
TPODR1.Bit4 4 V-phase output polarity set buffer / Interrupt request interval set bit
|
||
TPODR1.Bit2 2 U-phase fixed outputs polarity set bit
|
||
TPODR1.Bit1 1 V-phase fixed outputs polarity set bit
|
||
TPODR1.Bit0 0 W-phase fixed outputs polarity set bit
|
||
PDRFCR 0x00AA Position-data-retain function control register (***)
|
||
PDRFCR.Bit3 3 Retain-trigger polarity select bit
|
||
PDRFCR.Bit2 2 U-phase position data retain bit
|
||
PDRFCR.Bit1 1 V-phase position data retain bit
|
||
PDRFCR.Bit0 0 W-phase position data retain bit
|
||
RESERVED00AB 0x00AB RESERVED
|
||
SIOPCR 0x00AC Serial I/O pin control register (***)
|
||
SIOPCR.Bit3 3 TxD1/P17 switch bit
|
||
SIOPCR.Bit2 2 TxD0/P13 switch bit
|
||
SIOPCR.Bit1 1 CTS1/RTS1 separate select bit
|
||
SIOPCR.Bit0 0 CTS0/RTS0 separate select bit
|
||
RESERVED00AD 0x00AD RESERVED
|
||
P2PFCR 0x00AE Port P2 pin function control register (***)
|
||
P2PFCR.Bit3 3 Pin INT3 /RTPTRG0 select bit
|
||
P2PFCR.Bit2 2 Pin TB2IN select bit
|
||
P2PFCR.Bit1 1 Pin TB1IN select bit
|
||
P2PFCR.Bit0 0 Pin TB0IN select bit
|
||
RESERVED00AF 0x00AF RESERVED
|
||
RESERVED00B0 0x00B0 RESERVED
|
||
RESERVED00B1 0x00B1 RESERVED
|
||
RESERVED00B2 0x00B2 RESERVED
|
||
RESERVED00B3 0x00B3 RESERVED
|
||
RESERVED00B4 0x00B4 RESERVED
|
||
RESERVED00B5 0x00B5 RESERVED
|
||
RESERVED00B6 0x00B6 RESERVED
|
||
RESERVED00B7 0x00B7 RESERVED
|
||
RESERVED00B8 0x00B8 RESERVED
|
||
RESERVED00B9 0x00B9 RESERVED
|
||
RESERVED00BA 0x00BA RESERVED
|
||
RESERVED00BB 0x00BB RESERVED
|
||
CCR0 0x00BC Clock control register 0 (***)
|
||
CCR0.Bit7 7 Peripheral devices clock select bit 1
|
||
CCR0.Bit6 6 Peripheral devices clock select bit 0
|
||
CCR0.Bit5 5 System clock select bit
|
||
CCR0.Bit3 3 PLL multiplication ratio select bit 3
|
||
CCR0.Bit2 2 PLL multiplication ratio select bit 2
|
||
CCR0.Bit1 1 PLL circuit operation enable bit
|
||
RESERVED00BD 0x00BD RESERVED
|
||
RESERVED00BE 0x00BE RESERVED
|
||
RESERVED00BF 0x00BF RESERVED
|
||
RESERVED00C0 0x00C0 RESERVED
|
||
RESERVED00C1 0x00C1 RESERVED
|
||
RESERVED00C2 0x00C2 RESERVED
|
||
RESERVED00C3 0x00C3 RESERVED
|
||
UDF1 0x00C4 Up-down flag 1 (***)
|
||
RESERVED00C5 0x00C5 RESERVED
|
||
TA5 0x00C6 Timer A5 register
|
||
TA6 0x00C8 Timer A6 register
|
||
TA7 0x00CA Timer A7 register
|
||
TA8 0x00CC Timer A8 register
|
||
TA9 0x00CE Timer A9 register
|
||
TA01 0x00D0 Timer A01 register
|
||
TA11 0x00D2 Timer A11 register
|
||
TA21 0x00D4 Timer A21 register
|
||
TA5MR 0x00D6 Timer A5 mode register
|
||
TA5MR.Bit7 7
|
||
TA5MR.Bit6 6
|
||
TA5MR.Bit5 5
|
||
TA5MR.Bit4 4
|
||
TA5MR.Bit3 3
|
||
TA5MR.Bit2 2
|
||
TA5MR.Bit1 1 Operating mode select bit 1
|
||
TA5MR.Bit0 0 Operating mode select bit 0
|
||
TA6MR 0x00D7 Timer A6 mode register
|
||
TA6MR.Bit7 7
|
||
TA6MR.Bit6 6
|
||
TA6MR.Bit5 5
|
||
TA6MR.Bit4 4
|
||
TA6MR.Bit3 3
|
||
TA6MR.Bit2 2
|
||
TA6MR.Bit1 1 Operating mode select bit 1
|
||
TA6MR.Bit0 0 Operating mode select bit 0
|
||
TA7MR 0x00D8 Timer A7 mode register
|
||
TA7MR.Bit7 7
|
||
TA7MR.Bit6 6
|
||
TA7MR.Bit5 5
|
||
TA7MR.Bit4 4
|
||
TA7MR.Bit3 3
|
||
TA7MR.Bit2 2
|
||
TA7MR.Bit1 1 Operating mode select bit 1
|
||
TA7MR.Bit0 0 Operating mode select bit 0
|
||
TA8MR 0x00D9 Timer A8 mode register
|
||
TA8MR.Bit7 7
|
||
TA8MR.Bit6 6
|
||
TA8MR.Bit5 5
|
||
TA8MR.Bit4 4
|
||
TA8MR.Bit3 3
|
||
TA8MR.Bit2 2
|
||
TA8MR.Bit1 1 Operating mode select bit 1
|
||
TA8MR.Bit0 0 Operating mode select bit 0
|
||
TA9MR 0x00DA Timer A9 mode register
|
||
TA9MR.Bit7 7
|
||
TA9MR.Bit6 6
|
||
TA9MR.Bit5 5
|
||
TA9MR.Bit4 4
|
||
TA9MR.Bit3 3
|
||
TA9MR.Bit2 2
|
||
TA9MR.Bit1 1 Operating mode select bit 1
|
||
TA9MR.Bit0 0 Operating mode select bit 0
|
||
RESERVED00DB 0x00DB RESERVED
|
||
CFSR0 0x00DC Comparator function select register 0 (***)
|
||
CFSR0.Bit4 4 AN4 pin comparator function select bit
|
||
CFSR0.Bit3 3 AN3 pin comparator function select bit
|
||
CFSR0.Bit2 2 AN2 pin comparator function select bit
|
||
CFSR0.Bit1 1 AN1 pin comparator function select bit
|
||
CFSR0.Bit0 0 AN0 pin comparator function select bit
|
||
RESERVED00DD 0x00DD RESERVED
|
||
CRR0 0x00DE Comparator result register 0 (***)
|
||
CRR0.Bit4 4 AN4 pin comparator result bit
|
||
CRR0.Bit3 3 AN3 pin comparator result bit
|
||
CRR0.Bit2 2 AN2 pin comparator result bit
|
||
CRR0.Bit1 1 AN1 pin comparator result bit
|
||
CRR0.Bit0 0 AN0 pin comparator result bit
|
||
RESERVED00DF 0x00DF RESERVED
|
||
RESERVED00E0 0x00E0 RESERVED
|
||
RESERVED00E1 0x00E1 RESERVED
|
||
RESERVED00E2 0x00E2 RESERVED
|
||
RESERVED00E3 0x00E3 RESERVED
|
||
RESERVED00E4 0x00E4 RESERVED
|
||
RESERVED00E5 0x00E5 RESERVED
|
||
RESERVED00E6 0x00E6 RESERVED
|
||
RESERVED00E7 0x00E7 RESERVED
|
||
RESERVED00E8 0x00E8 RESERVED
|
||
RESERVED00E9 0x00E9 RESERVED
|
||
RESERVED00EA 0x00EA RESERVED
|
||
RESERVED00EB 0x00EB RESERVED
|
||
RESERVED00EC 0x00EC RESERVED
|
||
RESERVED00ED 0x00ED RESERVED
|
||
RESERVED00EE 0x00EE RESERVED
|
||
RESERVED00EF 0x00EF RESERVED
|
||
RESERVED00F0 0x00F0 RESERVED
|
||
RESERVED00F1 0x00F1 RESERVED
|
||
RESERVED00F2 0x00F2 RESERVED
|
||
RESERVED00F3 0x00F3 RESERVED
|
||
RESERVED00F4 0x00F4 RESERVED
|
||
TA5IC 0x00F5 Timer A5 interrupt control register
|
||
TA5IC.Bit3 3 Interrupt request bit
|
||
TA5IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA5IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA5IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA6IC 0x00F6 Timer A6 interrupt control register
|
||
TA6IC.Bit3 3 Interrupt request bit
|
||
TA6IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA6IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA6IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA7IC 0x00F7 Timer A7 interrupt control register
|
||
TA7IC.Bit3 3 Interrupt request bit
|
||
TA7IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA7IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA7IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA8IC 0x00F8 Timer A8 interrupt control register
|
||
TA8IC.Bit3 3 Interrupt request bit
|
||
TA8IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA8IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA8IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA9IC 0x00F9 Timer A9 interrupt control register
|
||
TA9IC.Bit3 3 Interrupt request bit
|
||
TA9IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA9IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA9IC.Bit0 0 Interrupt priority level select bit 0
|
||
RESERVED00FA 0x00FA RESERVED
|
||
RESERVED00FB 0x00FB RESERVED
|
||
RESERVED00FC 0x00FC RESERVED
|
||
INT5IC 0x00FD INT5 interrupt control register
|
||
INT5IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT5IC.Bit4 4 Polarity select bit
|
||
INT5IC.Bit3 3 Interrupt request bit
|
||
INT5IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT5IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT5IC.Bit0 0 Interrupt priority level select bit 0
|
||
INT6IC 0x00FE INT6 interrupt control register
|
||
INT6IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT6IC.Bit4 4 Polarity select bit
|
||
INT6IC.Bit3 3 Interrupt request bit
|
||
INT6IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT6IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT6IC.Bit0 0 Interrupt priority level select bit 0
|
||
INT7IC 0x00FF INT7 interrupt control register
|
||
INT7IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT7IC.Bit4 4 Polarity select bit
|
||
INT7IC.Bit3 3 Interrupt request bit
|
||
INT7IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT7IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT7IC.Bit0 0 Interrupt priority level select bit 0
|
||
|
||
|
||
.M37906M6
|
||
;http://www.mitsubishichips.com/Global/content/product/mcu/16bit/7700f/7900s/7906g/e7906um.pdf
|
||
|
||
; *** - ᮡ<>⢥<EFBFBD><E2A2A5><EFBFBD><EFBFBD> ᮪<><E1AEAA>饭<EFBFBD><E9A5AD>
|
||
|
||
|
||
; MEMORY MAP
|
||
area DATA FSR 0x0000:0x0100
|
||
area BSS RESERVED 0x0100:0x0400
|
||
area DATA RAM_ 0x0400:0x1000 Internal RAM
|
||
area BSS RESERVED 0x1000:0x4000
|
||
area DATA ROM_ 0x4000:0xFFB4 Internal ROM
|
||
area DATA USER_VEC 0xFFB4:0x10000
|
||
|
||
|
||
; Interrupt and reset vector assignments
|
||
interrupt __RESET 0xFFFE RESET
|
||
interrupt Zero_ 0xFFFC Zero division
|
||
interrupt BRK_ 0xFFFA BRK instruction
|
||
interrupt DBC_ 0xFFF8 DBC
|
||
interrupt Watchdog_ 0xFFF6 Watchdog timer
|
||
interrupt Timer_A0 0xFFEC Timer A0
|
||
interrupt Timer_A1 0xFFEA Timer A1
|
||
interrupt Timer_A2 0xFFE8 Timer A2
|
||
interrupt Timer_A3 0xFFE6 Timer A3
|
||
interrupt Timer_A4 0xFFE4 Timer A4
|
||
interrupt Timer_B0 0xFFE2 Timer B0
|
||
interrupt Timer_B1 0xFFE0 Timer B1
|
||
interrupt Timer_B2 0xFFDE Timer B2
|
||
interrupt UART0_R 0xFFDC UART0 receive
|
||
interrupt UART0_T 0xFFDA UART0 transmit
|
||
interrupt UART1_R 0xFFD8 UART1 receive
|
||
interrupt UART1_T 0xFFD6 UART1 transmit
|
||
interrupt A_D_CONV 0xFFD4 A-D conversion
|
||
interrupt INT3_ 0xFFD2 INT3
|
||
interrupt INT4_ 0xFFD0 INT4
|
||
interrupt ADR_M_D 0xFFCA Address matching detect
|
||
interrupt INT5_ 0xFFC6 INT5
|
||
interrupt INT6_ 0xFFC4 INT6
|
||
interrupt INT7_ 0xFFC2 INT7
|
||
interrupt Timer_A5 0xFFC0 Timer A5
|
||
interrupt Timer_A6 0xFFBE Timer A6
|
||
interrupt Timer_A7 0xFFBC Timer A7
|
||
interrupt Timer_A8 0xFFBA Timer A8
|
||
interrupt Timer_A9 0xFFB8 Timer A9
|
||
|
||
|
||
; INPUT/ OUTPUT PORTS
|
||
RESERVED0000 0x0000 RESERVED
|
||
RESERVED0001 0x0001 RESERVED
|
||
RESERVED0002 0x0002 RESERVED
|
||
P1 0x0003 Port P1 register
|
||
P1.P1_7 7 Port pin P17
|
||
P1.P1_6 6 Port pin P16
|
||
P1.P1_5 5 Port pin P15
|
||
P1.P1_4 4 Port pin P14
|
||
P1.P1_3 3 Port pin P13
|
||
P1.P1_2 2 Port pin P12
|
||
P1.P1_1 1 Port pin P11
|
||
P1.P1_0 0 Port pin P10
|
||
RESERVED0004 0x0004 RESERVED
|
||
PD1 0x0005 Port P1 direction register
|
||
PD1.PD1_7 7 Port P17 direction bit
|
||
PD1.PD1_6 6 Port P16 direction bit
|
||
PD1.PD1_5 5 Port P15 direction bit
|
||
PD1.PD1_4 4 Port P14 direction bit
|
||
PD1.PD1_3 3 Port P13 direction bit
|
||
PD1.PD1_2 2 Port P12 direction bit
|
||
PD1.PD1_1 1 Port P11 direction bit
|
||
PD1.PD1_0 0 Port P10 direction bit
|
||
P2 0x0006 Port P2 register
|
||
P2.P2_7 7 Port pin P27
|
||
P2.P2_6 6 Port pin P26
|
||
P2.P2_5 5 Port pin P25
|
||
P2.P2_4 4 Port pin P24
|
||
P2.P2_3 3 Port pin P23
|
||
P2.P2_2 2 Port pin P22
|
||
P2.P2_1 1 Port pin P21
|
||
P2.P2_0 0 Port pin P20
|
||
RESERVED0007 0x0007 RESERVED
|
||
PD2 0x0008 Port P2 direction register
|
||
PD2.PD2_7 7 Port P27 direction bit
|
||
PD2.PD2_6 6 Port P26 direction bit
|
||
PD2.PD2_5 5 Port P25 direction bit
|
||
PD2.PD2_4 4 Port P24 direction bit
|
||
PD2.PD2_3 3 Port P23 direction bit
|
||
PD2.PD2_2 2 Port P22 direction bit
|
||
PD2.PD2_1 1 Port P21 direction bit
|
||
PD2.PD2_0 0 Port P20 direction bit
|
||
RESERVED0009 0x0009 RESERVED
|
||
RESERVED000A 0x000A RESERVED
|
||
P5 0x000B Port P5 register
|
||
P5.P5_7 7 Port pin P57
|
||
P5.P5_6 6 Port pin P56
|
||
P5.P5_5 5 Port pin P55
|
||
P5.P5_4 4 Port pin P54
|
||
P5.P5_3 3 Port pin P53
|
||
P5.P5_2 2 Port pin P52
|
||
P5.P5_1 1 Port pin P51
|
||
P5.P5_0 0 Port pin P50
|
||
RESERVED000C 0x000C RESERVED
|
||
PD5 0x000D Port P5 direction register
|
||
PD5.PD5_7 7 Port P57 direction bit
|
||
PD5.PD5_6 6 Port P56 direction bit
|
||
PD5.PD5_5 5 Port P55 direction bit
|
||
PD5.PD5_4 4 Port P54 direction bit
|
||
PD5.PD5_3 3 Port P53 direction bit
|
||
PD5.PD5_2 2 Port P52 direction bit
|
||
PD5.PD5_1 1 Port P51 direction bit
|
||
PD5.PD5_0 0 Port P50 direction bit
|
||
P6 0x000E Port P6 register
|
||
P6.P6_7 7 Port pin P67
|
||
P6.P6_6 6 Port pin P66
|
||
P6.P6_5 5 Port pin P65
|
||
P6.P6_4 4 Port pin P64
|
||
P6.P6_3 3 Port pin P63
|
||
P6.P6_2 2 Port pin P62
|
||
P6.P6_1 1 Port pin P61
|
||
P6.P6_0 0 Port pin P60
|
||
P7 0x000F Port P7 register
|
||
P7.P7_7 7 Port pin P77
|
||
P7.P7_6 6 Port pin P76
|
||
P7.P7_5 5 Port pin P75
|
||
P7.P7_4 4 Port pin P74
|
||
P7.P7_3 3 Port pin P73
|
||
P7.P7_2 2 Port pin P72
|
||
P7.P7_1 1 Port pin P71
|
||
P7.P7_0 0 Port pin P70
|
||
PD6 0x0010 Port P6 direction register
|
||
PD6.PD6_7 7 Port P67 direction bit
|
||
PD6.PD6_6 6 Port P66 direction bit
|
||
PD6.PD6_5 5 Port P65 direction bit
|
||
PD6.PD6_4 4 Port P64 direction bit
|
||
PD6.PD6_3 3 Port P63 direction bit
|
||
PD6.PD6_2 2 Port P62 direction bit
|
||
PD6.PD6_1 1 Port P61 direction bit
|
||
PD6.PD6_0 0 Port P60 direction bit
|
||
PD7 0x0011 Port P7 direction register
|
||
PD7.PD7_7 7 Port P77 direction bit
|
||
PD7.PD7_6 6 Port P76 direction bit
|
||
PD7.PD7_5 5 Port P75 direction bit
|
||
PD7.PD7_4 4 Port P74 direction bit
|
||
PD7.PD7_3 3 Port P73 direction bit
|
||
PD7.PD7_2 2 Port P72 direction bit
|
||
PD7.PD7_1 1 Port P71 direction bit
|
||
PD7.PD7_0 0 Port P70 direction bit
|
||
RESERVED0012 0x0012 RESERVED
|
||
RESERVED0013 0x0013 RESERVED
|
||
RESERVED0014 0x0014 RESERVED
|
||
RESERVED0015 0x0015 RESERVED
|
||
RESERVED0016 0x0016 RESERVED
|
||
RESERVED0017 0x0017 RESERVED
|
||
RESERVED0018 0x0018 RESERVED
|
||
RESERVED0019 0x0019 RESERVED
|
||
RESERVED001A 0x001A RESERVED
|
||
RESERVED001B 0x001B RESERVED
|
||
RESERVED001C 0x001C RESERVED
|
||
RESERVED001D 0x001D RESERVED
|
||
ADCON0 0x001E A-D control register 0 (***)
|
||
ADCON0.Bit7 7 A-D conversion frequency select bit 0
|
||
ADCON0.Bit6 6 A-D conversion start bit
|
||
ADCON0.Bit4 4 A-D operation mode select bits 0 4
|
||
ADCON0.Bit3 3 A-D operation mode select bits 0 3
|
||
ADCON0.Bit2 2 Analog input pin select bit 2
|
||
ADCON0.Bit1 1 Analog input pin select bit 1
|
||
ADCON0.Bit0 0 Analog input pin select bit 0
|
||
ADCON1 0x001F A-D control register 1 (***)
|
||
ADCON1.Bit6 6 VREF connection select bit
|
||
ADCON1.Bit4 4 A-D conversion frequency select bit 1
|
||
ADCON1.Bit3 3 Resolution select bit
|
||
ADCON1.Bit1 1 A-D sweep pin select bit 1
|
||
ADCON1.Bit0 0 A-D sweep pin select bit 0
|
||
AD0 0x0020 A-D register 0
|
||
AD1 0x0022 A-D register 1
|
||
AD2 0x0024 A-D register 2
|
||
AD3 0x0026 A-D register 3
|
||
AD4 0x0028 A-D register 4
|
||
RESERVED002A 0x002A RESERVED
|
||
RESERVED002B 0x002B RESERVED
|
||
RESERVED002C 0x002C RESERVED
|
||
RESERVED002D 0x002D RESERVED
|
||
RESERVED002E 0x002E RESERVED
|
||
RESERVED002F 0x002F RESERVED
|
||
U0MR 0x0030 UART0 transmit/receive mode register
|
||
U0MR.Bit7 7 Sleep select bit
|
||
U0MR.Bit6 6 Parity enable bit
|
||
U0MR.Bit5 5 Odd/Even parity select bit
|
||
U0MR.Bit4 4 Stop bit length select bit
|
||
U0MR.Bit3 3 Internal/External clock select bit
|
||
U0MR.Bit2 2 Serial I/O mode select bit 2
|
||
U0MR.Bit1 1 Serial I/O mode select bit 1
|
||
U0MR.Bit0 0 Serial I/O mode select bit 0
|
||
BRG0 0x0031 UART0 baud rate register (BRG0) (***)
|
||
U0TB 0x0032 UART0 transmit buffer register
|
||
U0C0 0x0034 UART0 transmit/receive control register 0
|
||
U0C0.Bit7 7 Transfer format select bit
|
||
U0C0.Bit6 6 CLK polarity select bit
|
||
U0C0.Bit5 5 UART0 receive interrupt mode select bit
|
||
U0C0.Bit4 4 CTS/RTS enable bit
|
||
U0C0.Bit3 3 Transmit register empty flag
|
||
U0C0.Bit2 2 CTS/RTS function select bit
|
||
U0C0.Bit1 1 BRG count source select bit 1
|
||
U0C0.Bit0 0 BRG count source select bit 0
|
||
U0C1 0x0035 UART0 transmit/receive control register 1
|
||
U0C1.Bit7 7 Error sum flag
|
||
U0C1.Bit6 6 Parity error flag
|
||
U0C1.Bit5 5 Framing error flag
|
||
U0C1.Bit4 4 Overrun error flag
|
||
U0C1.Bit3 3 Receive complete flag
|
||
U0C1.Bit2 2 Receive enable bit
|
||
U0C1.Bit1 1 Transmit buffer empty flag
|
||
U0C1.Bit0 0 Transmit enable bit
|
||
U0RB 0x0036 UART0 receive buffer register
|
||
U1MR 0x0038 UART1 transmit/receive mode register
|
||
U1MR.Bit7 7 Sleep select bit
|
||
U1MR.Bit6 6 Parity enable bit
|
||
U1MR.Bit5 5 Odd/Even parity select bit
|
||
U1MR.Bit4 4 Stop bit length select bit
|
||
U1MR.Bit3 3 Internal/External clock select bit
|
||
U1MR.Bit2 2 Serial I/O mode select bit 2
|
||
U1MR.Bit1 1 Serial I/O mode select bit 1
|
||
U1MR.Bit0 0 Serial I/O mode select bit 0
|
||
BRG1 0x0039 UART1 baud rate register (BRG1) (***)
|
||
U1TB 0x003A UART1 transmit buffer register
|
||
U1C0 0x003C UART1 transmit/receive control register 0
|
||
U1C0.Bit7 7 Transfer format select bit
|
||
U1C0.Bit6 6 CLK polarity select bit
|
||
U1C0.Bit5 5 UART1 receive interrupt mode select bit
|
||
U1C0.Bit4 4 CTS/RTS enable bit
|
||
U1C0.Bit3 3 Transmit register empty flag
|
||
U1C0.Bit2 2 CTS/RTS function select bit
|
||
U1C0.Bit1 1 BRG count source select bit 1
|
||
U1C0.Bit0 0 BRG count source select bit 0
|
||
U1C1 0x003D UART1 transmit/receive control register 1
|
||
U1C1.Bit7 7 Error sum flag
|
||
U1C1.Bit6 6 Parity error flag
|
||
U1C1.Bit5 5 Framing error flag
|
||
U1C1.Bit4 4 Overrun error flag
|
||
U1C1.Bit3 3 Receive complete flag
|
||
U1C1.Bit2 2 Receive enable bit
|
||
U1C1.Bit1 1 Transmit buffer empty flag
|
||
U1C1.Bit0 0 Transmit enable bit
|
||
U1RB 0x003E UART1 receive buffer register
|
||
CSF0 0x0040 Count start flag 0 (***)
|
||
CSF1 0x0041 Count start flag 1 (***)
|
||
OSSF0 0x0042 One-shot start flag 0 (***)
|
||
OSSF1 0x0043 One-shot start flag 1 (***)
|
||
UDF0 0x0044 Up-down flag 0 (***)
|
||
TACDSR 0x0045 Timer A clock division select register (***)
|
||
TACDSR.Bit1 1 Timer A clock division select bit 1
|
||
TACDSR.Bit0 0 Timer A clock division select bit 0
|
||
TA0 0x0046 Timer A0 register
|
||
TA1 0x0048 Timer A1 register
|
||
TA2 0x004A Timer A2 register
|
||
TA3 0x004C Timer A3 register
|
||
TA4 0x004E Timer A4 register
|
||
TB0 0x0050 Timer B0 register
|
||
TB1 0x0052 Timer B1 register
|
||
TB2 0x0054 Timer B2 register
|
||
TA0MR 0x0056 Timer A0 mode register
|
||
TA0MR.Bit7 7
|
||
TA0MR.Bit6 6
|
||
TA0MR.Bit5 5
|
||
TA0MR.Bit4 4
|
||
TA0MR.Bit3 3
|
||
TA0MR.Bit2 2
|
||
TA0MR.Bit1 1 Operating mode select bit 1
|
||
TA0MR.Bit0 0 Operating mode select bit 0
|
||
TA1MR 0x0057 Timer A1 mode register
|
||
TA1MR.Bit7 7
|
||
TA1MR.Bit6 6
|
||
TA1MR.Bit5 5
|
||
TA1MR.Bit4 4
|
||
TA1MR.Bit3 3
|
||
TA1MR.Bit2 2
|
||
TA1MR.Bit1 1 Operating mode select bit 1
|
||
TA1MR.Bit0 0 Operating mode select bit 0
|
||
TA2MR 0x0058 Timer A2 mode register
|
||
TA2MR.Bit7 7
|
||
TA2MR.Bit6 6
|
||
TA2MR.Bit5 5
|
||
TA2MR.Bit4 4
|
||
TA2MR.Bit3 3
|
||
TA2MR.Bit2 2
|
||
TA2MR.Bit1 1 Operating mode select bit 1
|
||
TA2MR.Bit0 0 Operating mode select bit 0
|
||
TA3MR 0x0059 Timer A3 mode register
|
||
TA3MR.Bit7 7
|
||
TA3MR.Bit6 6
|
||
TA3MR.Bit5 5
|
||
TA3MR.Bit4 4
|
||
TA3MR.Bit3 3
|
||
TA3MR.Bit2 2
|
||
TA3MR.Bit1 1 Operating mode select bit 1
|
||
TA3MR.Bit0 0 Operating mode select bit 0
|
||
TA4MR 0x005A Timer A4 mode register
|
||
TA4MR.Bit7 7
|
||
TA4MR.Bit6 6
|
||
TA4MR.Bit5 5
|
||
TA4MR.Bit4 4
|
||
TA4MR.Bit3 3
|
||
TA4MR.Bit2 2
|
||
TA4MR.Bit1 1 Operating mode select bit 1
|
||
TA4MR.Bit0 0 Operating mode select bit 0
|
||
TB0MR 0x005B Timer B0 mode register
|
||
TB0MR.Bit7 7
|
||
TB0MR.Bit6 6
|
||
TB0MR.Bit5 5
|
||
TB0MR.Bit4 4
|
||
TB0MR.Bit3 3
|
||
TB0MR.Bit2 2
|
||
TB0MR.Bit1 1 Operating mode select bit 1
|
||
TB0MR.Bit0 0 Operating mode select bit 0
|
||
TB1MR 0x005C Timer B1 mode register
|
||
TB1MR.Bit7 7
|
||
TB1MR.Bit6 6
|
||
TB1MR.Bit5 5
|
||
TB1MR.Bit4 4
|
||
TB1MR.Bit3 3
|
||
TB1MR.Bit2 2
|
||
TB1MR.Bit1 1 Operating mode select bit 1
|
||
TB1MR.Bit0 0 Operating mode select bit 0
|
||
TB2MR 0x005D Timer B2 mode register
|
||
TB2MR.Bit7 7
|
||
TB2MR.Bit6 6
|
||
TB2MR.Bit5 5
|
||
TB2MR.Bit4 4
|
||
TB2MR.Bit3 3
|
||
TB2MR.Bit2 2
|
||
TB2MR.Bit1 1 Operating mode select bit 1
|
||
TB2MR.Bit0 0 Operating mode select bit 0
|
||
PM0 0x005E Processor mode register 0
|
||
PM1 0x005F Processor mode register 1
|
||
PM1.Bit1 1 Direct page register switch bit
|
||
WDT 0x0060 Watchdog timer register (***)
|
||
WDT.Bit7 7
|
||
WDT.Bit6 6
|
||
WDT.Bit5 5
|
||
WDT.Bit4 4
|
||
WDT.Bit3 3
|
||
WDT.Bit2 2
|
||
WDT.Bit1 1
|
||
WDT.Bit0 0
|
||
WDTFS 0x0061 Watchdog timer frequency select register (***)
|
||
WDTFS.Bit7 7 Watchdog timer clock source select bit at STP termination
|
||
WDTFS.Bit6 6 Watchdog timer clock source select bit at STP termination
|
||
WDTFS.Bit0 0 Watchdog timer frequency select bit
|
||
PFSR0 0x0062 Particular function select register 0 (***)
|
||
PFSR0.Bit1 1 External clcok input select bit
|
||
PFSR0.Bit0 0 STP instruction invalidity select bit
|
||
PFSR1 0x0063 Particular function select register 1 (***)
|
||
PFSR1.Bit6 6 Timer B2 clock source select bit
|
||
PFSR1.Bit3 3 System clock stop select bit at WIT
|
||
PFSR1.Bit1 1 WIT-instruction-execution status bit
|
||
PFSR1.Bit0 0 STP-instruction-execution status bit
|
||
PFSR2 0x0064 Particular function select register 2 (***)
|
||
PFSR2.Bit7 7
|
||
PFSR2.Bit6 6
|
||
PFSR2.Bit5 5
|
||
PFSR2.Bit4 4
|
||
PFSR2.Bit3 3
|
||
PFSR2.Bit2 2
|
||
PFSR2.Bit1 1
|
||
PFSR2.Bit0 0
|
||
RESERVED0065 0x0065 RESERVED
|
||
DCR0 0x0066 Debug control register 0 (***)
|
||
DCR0.Bit5 5 Detect enable bit
|
||
DCR0.Bit2 2 Detect condition select bit 2
|
||
DCR0.Bit1 1 Detect condition select bit 1
|
||
DCR0.Bit0 0 Detect condition select bit 0
|
||
DCR1 0x0067 Debug control register 1 (***)
|
||
DCR1.Bit6 6 Address-matching-detection 2 decision bit
|
||
DCR1.Bit2 2 Address compare register access enable bit
|
||
ACR0 0x0068 Address compare register 0 (***)
|
||
ACR1 0x006B Address compare register 1 (***)
|
||
INT3IC 0x006E INT3 interrupt control register
|
||
INT3IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT3IC.Bit4 4 Polarity select bit
|
||
INT3IC.Bit3 3 Interrupt request bit
|
||
INT3IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT3IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT3IC.Bit0 0 Interrupt priority level select bit 0
|
||
INT4IC 0x006F INT4 interrupt control register
|
||
INT4IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT4IC.Bit4 4 Polarity select bit
|
||
INT4IC.Bit3 3 Interrupt request bit
|
||
INT4IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT4IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT4IC.Bit0 0 Interrupt priority level select bit 0
|
||
ADIC 0x0070 A-D conversion interrupt control register
|
||
ADIC.Bit3 3 Interrupt request bit
|
||
ADIC.Bit2 2 Interrupt priority level select bit 2
|
||
ADIC.Bit1 1 Interrupt priority level select bit 1
|
||
ADIC.Bit0 0 Interrupt priority level select bit 0
|
||
S0TIC 0x0071 UART0 transmit interrupt control register
|
||
S0TIC.Bit3 3 Interrupt request bit
|
||
S0TIC.Bit2 2 Interrupt priority level select bit 2
|
||
S0TIC.Bit1 1 Interrupt priority level select bit 1
|
||
S0TIC.Bit0 0 Interrupt priority level select bit 0
|
||
S0RIC 0x0072 UART0 receive interrupt control register
|
||
S0RIC.Bit3 3 Interrupt request bit
|
||
S0RIC.Bit2 2 Interrupt priority level select bit 2
|
||
S0RIC.Bit1 1 Interrupt priority level select bit 1
|
||
S0RIC.Bit0 0 Interrupt priority level select bit 0
|
||
S1TIC 0x0073 UART1 transmit interrupt control register
|
||
S1TIC.Bit3 3 Interrupt request bit
|
||
S1TIC.Bit2 2 Interrupt priority level select bit 2
|
||
S1TIC.Bit1 1 Interrupt priority level select bit 1
|
||
S1TIC.Bit0 0 Interrupt priority level select bit 0
|
||
S1RIC 0x0074 UART1 receive interrupt control register
|
||
S1RIC.Bit3 3 Interrupt request bit
|
||
S1RIC.Bit2 2 Interrupt priority level select bit 2
|
||
S1RIC.Bit1 1 Interrupt priority level select bit 1
|
||
S1RIC.Bit0 0 Interrupt priority level select bit 0
|
||
TA0IC 0x0075 Timer A0 interrupt control register
|
||
TA0IC.Bit3 3 Interrupt request bit
|
||
TA0IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA0IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA0IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA1IC 0x0076 Timer A1 interrupt control register
|
||
TA1IC.Bit3 3 Interrupt request bit
|
||
TA1IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA1IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA1IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA2IC 0x0077 Timer A2 interrupt control register
|
||
TA2IC.Bit3 3 Interrupt request bit
|
||
TA2IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA2IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA2IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA3IC 0x0078 Timer A3 interrupt control register
|
||
TA3IC.Bit3 3 Interrupt request bit
|
||
TA3IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA3IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA3IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA4IC 0x0079 Timer A4 interrupt control register
|
||
TA4IC.Bit3 3 Interrupt request bit
|
||
TA4IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA4IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA4IC.Bit0 0 Interrupt priority level select bit 0
|
||
TB0IC 0x007A Timer B0 interrupt control register
|
||
TB0IC.Bit3 3 Interrupt request bit
|
||
TB0IC.Bit2 2 Interrupt priority level select bit 2
|
||
TB0IC.Bit1 1 Interrupt priority level select bit 1
|
||
TB0IC.Bit0 0 Interrupt priority level select bit 0
|
||
TB1IC 0x007B Timer B1 interrupt control register
|
||
TB1IC.Bit3 3 Interrupt request bit
|
||
TB1IC.Bit2 2 Interrupt priority level select bit 2
|
||
TB1IC.Bit1 1 Interrupt priority level select bit 1
|
||
TB1IC.Bit0 0 Interrupt priority level select bit 0
|
||
TB2IC 0x007C Timer B2 interrupt control register
|
||
TB2IC.Bit3 3 Interrupt request bit
|
||
TB2IC.Bit2 2 Interrupt priority level select bit 2
|
||
TB2IC.Bit1 1 Interrupt priority level select bit 1
|
||
TB2IC.Bit0 0 Interrupt priority level select bit 0
|
||
RESERVED007D 0x007D RESERVED
|
||
RESERVED007E 0x007E RESERVED
|
||
RESERVED007F 0x007F RESERVED
|
||
RESERVED0080 0x0080 RESERVED
|
||
RESERVED0081 0x0081 RESERVED
|
||
RESERVED0082 0x0082 RESERVED
|
||
RESERVED0083 0x0083 RESERVED
|
||
RESERVED0084 0x0084 RESERVED
|
||
RESERVED0085 0x0085 RESERVED
|
||
RESERVED0086 0x0086 RESERVED
|
||
RESERVED0087 0x0087 RESERVED
|
||
RESERVED0088 0x0088 RESERVED
|
||
RESERVED0089 0x0089 RESERVED
|
||
RESERVED008A 0x008A RESERVED
|
||
RESERVED008B 0x008B RESERVED
|
||
RESERVED008C 0x008C RESERVED
|
||
RESERVED008D 0x008D RESERVED
|
||
RESERVED008E 0x008E RESERVED
|
||
RESERVED008F 0x008F RESERVED
|
||
RESERVED0090 0x0090 RESERVED
|
||
RESERVED0091 0x0091 RESERVED
|
||
RESERVED0092 0x0092 RESERVED
|
||
RESERVED0093 0x0093 RESERVED
|
||
RESERVED0094 0x0094 RESERVED
|
||
EIIRR 0x0095 External interrupt input read register (***)
|
||
EIIRR.Bit7 7 INT7 read out bit
|
||
EIIRR.Bit6 6 INT6 read out bit
|
||
EIIRR.Bit5 5 INT5 read out bit
|
||
EIIRR.Bit4 4 INT4 read out bit
|
||
EIIRR.Bit3 3 INT3 read out bit
|
||
DACR 0x0096 D-A control register
|
||
DACR.Bit1 1 D-A1 output enable bit
|
||
DACR.Bit0 0 D-A0 output enable bit
|
||
RESERVED0097 0x0097 RESERVED
|
||
DAR0 0x0098 D-A register 0 (***)
|
||
DAR1 0x0099 D-A register 1 (***)
|
||
RESERVED009A 0x009A RESERVED
|
||
RESERVED009B 0x009B RESERVED
|
||
RESERVED009C 0x009C RESERVED
|
||
RESERVED009D 0x009D RESERVED
|
||
RESERVED009E 0x009E RESERVED
|
||
RESERVED009F 0x009F RESERVED
|
||
RESERVED00A0 0x00A0 RESERVED
|
||
RESERVED00A1 0x00A1 RESERVED
|
||
RESERVED00A2 0x00A2 RESERVED
|
||
RESERVED00A3 0x00A3 RESERVED
|
||
RESERVED00A4 0x00A4 RESERVED
|
||
RESERVED00A5 0x00A5 RESERVED
|
||
WOMR 0x00A6 Waveform output mode register (***)
|
||
WOMR.Bit7 7 Waveform output control bit 1
|
||
WOMR.Bit6 6 Waveform output control bit 0
|
||
WOMR.Bit5 5 Pulse width modulation timer select bit 5
|
||
WOMR.Bit4 4 Pulse width modulation timer select bit 4
|
||
WOMR.Bit3 3 Pulse output mode select bit
|
||
WOMR.Bit2 2 Waveform output select bit 2
|
||
WOMR.Bit1 1 Waveform output select bit 1
|
||
WOMR.Bit0 0 Waveform output select bit 0
|
||
DTT 0x00A7 Dead-time timer (***)
|
||
TPODR0 0x00A8 Three-phase output data register 0 (***)
|
||
TPODR0.Bit7 7 Clock-source-of-dead-time-timer select bit 7
|
||
TPODR0.Bit6 6 Clock-source-of-dead-time-timer select bit 6
|
||
TPODR0.Bit3 3 W-phase output polarity set buffer
|
||
TPODR0.Bit2 2 U-phase output fix bit
|
||
TPODR0.Bit1 1 V-phase output fix bit
|
||
TPODR0.Bit0 0 W-phase output fix bit
|
||
TPODR1 0x00A9 Three-phase output data register 1 (***)
|
||
TPODR1.Bit5 5 U-phase output polarity set buffer / Interrupt validity output select bit
|
||
TPODR1.Bit4 4 V-phase output polarity set buffer / Interrupt request interval set bit
|
||
TPODR1.Bit2 2 U-phase fixed outputs polarity set bit
|
||
TPODR1.Bit1 1 V-phase fixed outputs polarity set bit
|
||
TPODR1.Bit0 0 W-phase fixed outputs polarity set bit
|
||
PDRFCR 0x00AA Position-data-retain function control register (***)
|
||
PDRFCR.Bit3 3 Retain-trigger polarity select bit
|
||
PDRFCR.Bit2 2 U-phase position data retain bit
|
||
PDRFCR.Bit1 1 V-phase position data retain bit
|
||
PDRFCR.Bit0 0 W-phase position data retain bit
|
||
RESERVED00AB 0x00AB RESERVED
|
||
SIOPCR 0x00AC Serial I/O pin control register (***)
|
||
SIOPCR.Bit3 3 TxD1/P17 switch bit
|
||
SIOPCR.Bit2 2 TxD0/P13 switch bit
|
||
SIOPCR.Bit1 1 CTS1/RTS1 separate select bit
|
||
SIOPCR.Bit0 0 CTS0/RTS0 separate select bit
|
||
RESERVED00AD 0x00AD RESERVED
|
||
P2PFCR 0x00AE Port P2 pin function control register (***)
|
||
P2PFCR.Bit3 3 Pin INT3 /RTPTRG0 select bit
|
||
P2PFCR.Bit2 2 Pin TB2IN select bit
|
||
P2PFCR.Bit1 1 Pin TB1IN select bit
|
||
P2PFCR.Bit0 0 Pin TB0IN select bit
|
||
RESERVED00AF 0x00AF RESERVED
|
||
RESERVED00B0 0x00B0 RESERVED
|
||
RESERVED00B1 0x00B1 RESERVED
|
||
RESERVED00B2 0x00B2 RESERVED
|
||
RESERVED00B3 0x00B3 RESERVED
|
||
RESERVED00B4 0x00B4 RESERVED
|
||
RESERVED00B5 0x00B5 RESERVED
|
||
RESERVED00B6 0x00B6 RESERVED
|
||
RESERVED00B7 0x00B7 RESERVED
|
||
RESERVED00B8 0x00B8 RESERVED
|
||
RESERVED00B9 0x00B9 RESERVED
|
||
RESERVED00BA 0x00BA RESERVED
|
||
RESERVED00BB 0x00BB RESERVED
|
||
CCR0 0x00BC Clock control register 0 (***)
|
||
CCR0.Bit7 7 Peripheral devices clock select bit 1
|
||
CCR0.Bit6 6 Peripheral devices clock select bit 0
|
||
CCR0.Bit5 5 System clock select bit
|
||
CCR0.Bit3 3 PLL multiplication ratio select bit 3
|
||
CCR0.Bit2 2 PLL multiplication ratio select bit 2
|
||
CCR0.Bit1 1 PLL circuit operation enable bit
|
||
RESERVED00BD 0x00BD RESERVED
|
||
RESERVED00BE 0x00BE RESERVED
|
||
RESERVED00BF 0x00BF RESERVED
|
||
RESERVED00C0 0x00C0 RESERVED
|
||
RESERVED00C1 0x00C1 RESERVED
|
||
RESERVED00C2 0x00C2 RESERVED
|
||
RESERVED00C3 0x00C3 RESERVED
|
||
UDF1 0x00C4 Up-down flag 1 (***)
|
||
RESERVED00C5 0x00C5 RESERVED
|
||
TA5 0x00C6 Timer A5 register
|
||
TA6 0x00C8 Timer A6 register
|
||
TA7 0x00CA Timer A7 register
|
||
TA8 0x00CC Timer A8 register
|
||
TA9 0x00CE Timer A9 register
|
||
TA01 0x00D0 Timer A01 register
|
||
TA11 0x00D2 Timer A11 register
|
||
TA21 0x00D4 Timer A21 register
|
||
TA5MR 0x00D6 Timer A5 mode register
|
||
TA5MR.Bit7 7
|
||
TA5MR.Bit6 6
|
||
TA5MR.Bit5 5
|
||
TA5MR.Bit4 4
|
||
TA5MR.Bit3 3
|
||
TA5MR.Bit2 2
|
||
TA5MR.Bit1 1 Operating mode select bit 1
|
||
TA5MR.Bit0 0 Operating mode select bit 0
|
||
TA6MR 0x00D7 Timer A6 mode register
|
||
TA6MR.Bit7 7
|
||
TA6MR.Bit6 6
|
||
TA6MR.Bit5 5
|
||
TA6MR.Bit4 4
|
||
TA6MR.Bit3 3
|
||
TA6MR.Bit2 2
|
||
TA6MR.Bit1 1 Operating mode select bit 1
|
||
TA6MR.Bit0 0 Operating mode select bit 0
|
||
TA7MR 0x00D8 Timer A7 mode register
|
||
TA7MR.Bit7 7
|
||
TA7MR.Bit6 6
|
||
TA7MR.Bit5 5
|
||
TA7MR.Bit4 4
|
||
TA7MR.Bit3 3
|
||
TA7MR.Bit2 2
|
||
TA7MR.Bit1 1 Operating mode select bit 1
|
||
TA7MR.Bit0 0 Operating mode select bit 0
|
||
TA8MR 0x00D9 Timer A8 mode register
|
||
TA8MR.Bit7 7
|
||
TA8MR.Bit6 6
|
||
TA8MR.Bit5 5
|
||
TA8MR.Bit4 4
|
||
TA8MR.Bit3 3
|
||
TA8MR.Bit2 2
|
||
TA8MR.Bit1 1 Operating mode select bit 1
|
||
TA8MR.Bit0 0 Operating mode select bit 0
|
||
TA9MR 0x00DA Timer A9 mode register
|
||
TA9MR.Bit7 7
|
||
TA9MR.Bit6 6
|
||
TA9MR.Bit5 5
|
||
TA9MR.Bit4 4
|
||
TA9MR.Bit3 3
|
||
TA9MR.Bit2 2
|
||
TA9MR.Bit1 1 Operating mode select bit 1
|
||
TA9MR.Bit0 0 Operating mode select bit 0
|
||
RESERVED00DB 0x00DB RESERVED
|
||
CFSR0 0x00DC Comparator function select register 0 (***)
|
||
CFSR0.Bit4 4 AN4 pin comparator function select bit
|
||
CFSR0.Bit3 3 AN3 pin comparator function select bit
|
||
CFSR0.Bit2 2 AN2 pin comparator function select bit
|
||
CFSR0.Bit1 1 AN1 pin comparator function select bit
|
||
CFSR0.Bit0 0 AN0 pin comparator function select bit
|
||
RESERVED00DD 0x00DD RESERVED
|
||
CRR0 0x00DE Comparator result register 0 (***)
|
||
CRR0.Bit4 4 AN4 pin comparator result bit
|
||
CRR0.Bit3 3 AN3 pin comparator result bit
|
||
CRR0.Bit2 2 AN2 pin comparator result bit
|
||
CRR0.Bit1 1 AN1 pin comparator result bit
|
||
CRR0.Bit0 0 AN0 pin comparator result bit
|
||
RESERVED00DF 0x00DF RESERVED
|
||
RESERVED00E0 0x00E0 RESERVED
|
||
RESERVED00E1 0x00E1 RESERVED
|
||
RESERVED00E2 0x00E2 RESERVED
|
||
RESERVED00E3 0x00E3 RESERVED
|
||
RESERVED00E4 0x00E4 RESERVED
|
||
RESERVED00E5 0x00E5 RESERVED
|
||
RESERVED00E6 0x00E6 RESERVED
|
||
RESERVED00E7 0x00E7 RESERVED
|
||
RESERVED00E8 0x00E8 RESERVED
|
||
RESERVED00E9 0x00E9 RESERVED
|
||
RESERVED00EA 0x00EA RESERVED
|
||
RESERVED00EB 0x00EB RESERVED
|
||
RESERVED00EC 0x00EC RESERVED
|
||
RESERVED00ED 0x00ED RESERVED
|
||
RESERVED00EE 0x00EE RESERVED
|
||
RESERVED00EF 0x00EF RESERVED
|
||
RESERVED00F0 0x00F0 RESERVED
|
||
RESERVED00F1 0x00F1 RESERVED
|
||
RESERVED00F2 0x00F2 RESERVED
|
||
RESERVED00F3 0x00F3 RESERVED
|
||
RESERVED00F4 0x00F4 RESERVED
|
||
TA5IC 0x00F5 Timer A5 interrupt control register
|
||
TA5IC.Bit3 3 Interrupt request bit
|
||
TA5IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA5IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA5IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA6IC 0x00F6 Timer A6 interrupt control register
|
||
TA6IC.Bit3 3 Interrupt request bit
|
||
TA6IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA6IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA6IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA7IC 0x00F7 Timer A7 interrupt control register
|
||
TA7IC.Bit3 3 Interrupt request bit
|
||
TA7IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA7IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA7IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA8IC 0x00F8 Timer A8 interrupt control register
|
||
TA8IC.Bit3 3 Interrupt request bit
|
||
TA8IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA8IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA8IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA9IC 0x00F9 Timer A9 interrupt control register
|
||
TA9IC.Bit3 3 Interrupt request bit
|
||
TA9IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA9IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA9IC.Bit0 0 Interrupt priority level select bit 0
|
||
RESERVED00FA 0x00FA RESERVED
|
||
RESERVED00FB 0x00FB RESERVED
|
||
RESERVED00FC 0x00FC RESERVED
|
||
INT5IC 0x00FD INT5 interrupt control register
|
||
INT5IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT5IC.Bit4 4 Polarity select bit
|
||
INT5IC.Bit3 3 Interrupt request bit
|
||
INT5IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT5IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT5IC.Bit0 0 Interrupt priority level select bit 0
|
||
INT6IC 0x00FE INT6 interrupt control register
|
||
INT6IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT6IC.Bit4 4 Polarity select bit
|
||
INT6IC.Bit3 3 Interrupt request bit
|
||
INT6IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT6IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT6IC.Bit0 0 Interrupt priority level select bit 0
|
||
INT7IC 0x00FF INT7 interrupt control register
|
||
INT7IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT7IC.Bit4 4 Polarity select bit
|
||
INT7IC.Bit3 3 Interrupt request bit
|
||
INT7IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT7IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT7IC.Bit0 0 Interrupt priority level select bit 0
|
||
|
||
|
||
.M37906M8
|
||
;http://www.mitsubishichips.com/Global/content/product/mcu/16bit/7700f/7900s/7906g/e7906um.pdf
|
||
|
||
; *** - ᮡ<>⢥<EFBFBD><E2A2A5><EFBFBD><EFBFBD> ᮪<><E1AEAA>饭<EFBFBD><E9A5AD>
|
||
|
||
|
||
; MEMORY MAP
|
||
area DATA FSR 0x0000:0x0100
|
||
area BSS RESERVED 0x0100:0x0400
|
||
area DATA RAM_ 0x0400:0x1000 Internal RAM
|
||
area DATA ROM_ 0x1000:0xFFB4 Internal ROM
|
||
area DATA USER_VEC 0xFFB4:0x10000
|
||
|
||
|
||
; Interrupt and reset vector assignments
|
||
interrupt __RESET 0xFFFE RESET
|
||
interrupt Zero_ 0xFFFC Zero division
|
||
interrupt BRK_ 0xFFFA BRK instruction
|
||
interrupt DBC_ 0xFFF8 DBC
|
||
interrupt Watchdog_ 0xFFF6 Watchdog timer
|
||
interrupt Timer_A0 0xFFEC Timer A0
|
||
interrupt Timer_A1 0xFFEA Timer A1
|
||
interrupt Timer_A2 0xFFE8 Timer A2
|
||
interrupt Timer_A3 0xFFE6 Timer A3
|
||
interrupt Timer_A4 0xFFE4 Timer A4
|
||
interrupt Timer_B0 0xFFE2 Timer B0
|
||
interrupt Timer_B1 0xFFE0 Timer B1
|
||
interrupt Timer_B2 0xFFDE Timer B2
|
||
interrupt UART0_R 0xFFDC UART0 receive
|
||
interrupt UART0_T 0xFFDA UART0 transmit
|
||
interrupt UART1_R 0xFFD8 UART1 receive
|
||
interrupt UART1_T 0xFFD6 UART1 transmit
|
||
interrupt A_D_CONV 0xFFD4 A-D conversion
|
||
interrupt INT3_ 0xFFD2 INT3
|
||
interrupt INT4_ 0xFFD0 INT4
|
||
interrupt ADR_M_D 0xFFCA Address matching detect
|
||
interrupt INT5_ 0xFFC6 INT5
|
||
interrupt INT6_ 0xFFC4 INT6
|
||
interrupt INT7_ 0xFFC2 INT7
|
||
interrupt Timer_A5 0xFFC0 Timer A5
|
||
interrupt Timer_A6 0xFFBE Timer A6
|
||
interrupt Timer_A7 0xFFBC Timer A7
|
||
interrupt Timer_A8 0xFFBA Timer A8
|
||
interrupt Timer_A9 0xFFB8 Timer A9
|
||
|
||
|
||
; INPUT/ OUTPUT PORTS
|
||
RESERVED0000 0x0000 RESERVED
|
||
RESERVED0001 0x0001 RESERVED
|
||
RESERVED0002 0x0002 RESERVED
|
||
P1 0x0003 Port P1 register
|
||
P1.P1_7 7 Port pin P17
|
||
P1.P1_6 6 Port pin P16
|
||
P1.P1_5 5 Port pin P15
|
||
P1.P1_4 4 Port pin P14
|
||
P1.P1_3 3 Port pin P13
|
||
P1.P1_2 2 Port pin P12
|
||
P1.P1_1 1 Port pin P11
|
||
P1.P1_0 0 Port pin P10
|
||
RESERVED0004 0x0004 RESERVED
|
||
PD1 0x0005 Port P1 direction register
|
||
PD1.PD1_7 7 Port P17 direction bit
|
||
PD1.PD1_6 6 Port P16 direction bit
|
||
PD1.PD1_5 5 Port P15 direction bit
|
||
PD1.PD1_4 4 Port P14 direction bit
|
||
PD1.PD1_3 3 Port P13 direction bit
|
||
PD1.PD1_2 2 Port P12 direction bit
|
||
PD1.PD1_1 1 Port P11 direction bit
|
||
PD1.PD1_0 0 Port P10 direction bit
|
||
P2 0x0006 Port P2 register
|
||
P2.P2_7 7 Port pin P27
|
||
P2.P2_6 6 Port pin P26
|
||
P2.P2_5 5 Port pin P25
|
||
P2.P2_4 4 Port pin P24
|
||
P2.P2_3 3 Port pin P23
|
||
P2.P2_2 2 Port pin P22
|
||
P2.P2_1 1 Port pin P21
|
||
P2.P2_0 0 Port pin P20
|
||
RESERVED0007 0x0007 RESERVED
|
||
PD2 0x0008 Port P2 direction register
|
||
PD2.PD2_7 7 Port P27 direction bit
|
||
PD2.PD2_6 6 Port P26 direction bit
|
||
PD2.PD2_5 5 Port P25 direction bit
|
||
PD2.PD2_4 4 Port P24 direction bit
|
||
PD2.PD2_3 3 Port P23 direction bit
|
||
PD2.PD2_2 2 Port P22 direction bit
|
||
PD2.PD2_1 1 Port P21 direction bit
|
||
PD2.PD2_0 0 Port P20 direction bit
|
||
RESERVED0009 0x0009 RESERVED
|
||
RESERVED000A 0x000A RESERVED
|
||
P5 0x000B Port P5 register
|
||
P5.P5_7 7 Port pin P57
|
||
P5.P5_6 6 Port pin P56
|
||
P5.P5_5 5 Port pin P55
|
||
P5.P5_4 4 Port pin P54
|
||
P5.P5_3 3 Port pin P53
|
||
P5.P5_2 2 Port pin P52
|
||
P5.P5_1 1 Port pin P51
|
||
P5.P5_0 0 Port pin P50
|
||
RESERVED000C 0x000C RESERVED
|
||
PD5 0x000D Port P5 direction register
|
||
PD5.PD5_7 7 Port P57 direction bit
|
||
PD5.PD5_6 6 Port P56 direction bit
|
||
PD5.PD5_5 5 Port P55 direction bit
|
||
PD5.PD5_4 4 Port P54 direction bit
|
||
PD5.PD5_3 3 Port P53 direction bit
|
||
PD5.PD5_2 2 Port P52 direction bit
|
||
PD5.PD5_1 1 Port P51 direction bit
|
||
PD5.PD5_0 0 Port P50 direction bit
|
||
P6 0x000E Port P6 register
|
||
P6.P6_7 7 Port pin P67
|
||
P6.P6_6 6 Port pin P66
|
||
P6.P6_5 5 Port pin P65
|
||
P6.P6_4 4 Port pin P64
|
||
P6.P6_3 3 Port pin P63
|
||
P6.P6_2 2 Port pin P62
|
||
P6.P6_1 1 Port pin P61
|
||
P6.P6_0 0 Port pin P60
|
||
P7 0x000F Port P7 register
|
||
P7.P7_7 7 Port pin P77
|
||
P7.P7_6 6 Port pin P76
|
||
P7.P7_5 5 Port pin P75
|
||
P7.P7_4 4 Port pin P74
|
||
P7.P7_3 3 Port pin P73
|
||
P7.P7_2 2 Port pin P72
|
||
P7.P7_1 1 Port pin P71
|
||
P7.P7_0 0 Port pin P70
|
||
PD6 0x0010 Port P6 direction register
|
||
PD6.PD6_7 7 Port P67 direction bit
|
||
PD6.PD6_6 6 Port P66 direction bit
|
||
PD6.PD6_5 5 Port P65 direction bit
|
||
PD6.PD6_4 4 Port P64 direction bit
|
||
PD6.PD6_3 3 Port P63 direction bit
|
||
PD6.PD6_2 2 Port P62 direction bit
|
||
PD6.PD6_1 1 Port P61 direction bit
|
||
PD6.PD6_0 0 Port P60 direction bit
|
||
PD7 0x0011 Port P7 direction register
|
||
PD7.PD7_7 7 Port P77 direction bit
|
||
PD7.PD7_6 6 Port P76 direction bit
|
||
PD7.PD7_5 5 Port P75 direction bit
|
||
PD7.PD7_4 4 Port P74 direction bit
|
||
PD7.PD7_3 3 Port P73 direction bit
|
||
PD7.PD7_2 2 Port P72 direction bit
|
||
PD7.PD7_1 1 Port P71 direction bit
|
||
PD7.PD7_0 0 Port P70 direction bit
|
||
RESERVED0012 0x0012 RESERVED
|
||
RESERVED0013 0x0013 RESERVED
|
||
RESERVED0014 0x0014 RESERVED
|
||
RESERVED0015 0x0015 RESERVED
|
||
RESERVED0016 0x0016 RESERVED
|
||
RESERVED0017 0x0017 RESERVED
|
||
RESERVED0018 0x0018 RESERVED
|
||
RESERVED0019 0x0019 RESERVED
|
||
RESERVED001A 0x001A RESERVED
|
||
RESERVED001B 0x001B RESERVED
|
||
RESERVED001C 0x001C RESERVED
|
||
RESERVED001D 0x001D RESERVED
|
||
ADCON0 0x001E A-D control register 0 (***)
|
||
ADCON0.Bit7 7 A-D conversion frequency select bit 0
|
||
ADCON0.Bit6 6 A-D conversion start bit
|
||
ADCON0.Bit4 4 A-D operation mode select bits 0 4
|
||
ADCON0.Bit3 3 A-D operation mode select bits 0 3
|
||
ADCON0.Bit2 2 Analog input pin select bit 2
|
||
ADCON0.Bit1 1 Analog input pin select bit 1
|
||
ADCON0.Bit0 0 Analog input pin select bit 0
|
||
ADCON1 0x001F A-D control register 1 (***)
|
||
ADCON1.Bit6 6 VREF connection select bit
|
||
ADCON1.Bit4 4 A-D conversion frequency select bit 1
|
||
ADCON1.Bit3 3 Resolution select bit
|
||
ADCON1.Bit1 1 A-D sweep pin select bit 1
|
||
ADCON1.Bit0 0 A-D sweep pin select bit 0
|
||
AD0 0x0020 A-D register 0
|
||
AD1 0x0022 A-D register 1
|
||
AD2 0x0024 A-D register 2
|
||
AD3 0x0026 A-D register 3
|
||
AD4 0x0028 A-D register 4
|
||
RESERVED002A 0x002A RESERVED
|
||
RESERVED002B 0x002B RESERVED
|
||
RESERVED002C 0x002C RESERVED
|
||
RESERVED002D 0x002D RESERVED
|
||
RESERVED002E 0x002E RESERVED
|
||
RESERVED002F 0x002F RESERVED
|
||
U0MR 0x0030 UART0 transmit/receive mode register
|
||
U0MR.Bit7 7 Sleep select bit
|
||
U0MR.Bit6 6 Parity enable bit
|
||
U0MR.Bit5 5 Odd/Even parity select bit
|
||
U0MR.Bit4 4 Stop bit length select bit
|
||
U0MR.Bit3 3 Internal/External clock select bit
|
||
U0MR.Bit2 2 Serial I/O mode select bit 2
|
||
U0MR.Bit1 1 Serial I/O mode select bit 1
|
||
U0MR.Bit0 0 Serial I/O mode select bit 0
|
||
BRG0 0x0031 UART0 baud rate register (BRG0) (***)
|
||
U0TB 0x0032 UART0 transmit buffer register
|
||
U0C0 0x0034 UART0 transmit/receive control register 0
|
||
U0C0.Bit7 7 Transfer format select bit
|
||
U0C0.Bit6 6 CLK polarity select bit
|
||
U0C0.Bit5 5 UART0 receive interrupt mode select bit
|
||
U0C0.Bit4 4 CTS/RTS enable bit
|
||
U0C0.Bit3 3 Transmit register empty flag
|
||
U0C0.Bit2 2 CTS/RTS function select bit
|
||
U0C0.Bit1 1 BRG count source select bit 1
|
||
U0C0.Bit0 0 BRG count source select bit 0
|
||
U0C1 0x0035 UART0 transmit/receive control register 1
|
||
U0C1.Bit7 7 Error sum flag
|
||
U0C1.Bit6 6 Parity error flag
|
||
U0C1.Bit5 5 Framing error flag
|
||
U0C1.Bit4 4 Overrun error flag
|
||
U0C1.Bit3 3 Receive complete flag
|
||
U0C1.Bit2 2 Receive enable bit
|
||
U0C1.Bit1 1 Transmit buffer empty flag
|
||
U0C1.Bit0 0 Transmit enable bit
|
||
U0RB 0x0036 UART0 receive buffer register
|
||
U1MR 0x0038 UART1 transmit/receive mode register
|
||
U1MR.Bit7 7 Sleep select bit
|
||
U1MR.Bit6 6 Parity enable bit
|
||
U1MR.Bit5 5 Odd/Even parity select bit
|
||
U1MR.Bit4 4 Stop bit length select bit
|
||
U1MR.Bit3 3 Internal/External clock select bit
|
||
U1MR.Bit2 2 Serial I/O mode select bit 2
|
||
U1MR.Bit1 1 Serial I/O mode select bit 1
|
||
U1MR.Bit0 0 Serial I/O mode select bit 0
|
||
BRG1 0x0039 UART1 baud rate register (BRG1) (***)
|
||
U1TB 0x003A UART1 transmit buffer register
|
||
U1C0 0x003C UART1 transmit/receive control register 0
|
||
U1C0.Bit7 7 Transfer format select bit
|
||
U1C0.Bit6 6 CLK polarity select bit
|
||
U1C0.Bit5 5 UART1 receive interrupt mode select bit
|
||
U1C0.Bit4 4 CTS/RTS enable bit
|
||
U1C0.Bit3 3 Transmit register empty flag
|
||
U1C0.Bit2 2 CTS/RTS function select bit
|
||
U1C0.Bit1 1 BRG count source select bit 1
|
||
U1C0.Bit0 0 BRG count source select bit 0
|
||
U1C1 0x003D UART1 transmit/receive control register 1
|
||
U1C1.Bit7 7 Error sum flag
|
||
U1C1.Bit6 6 Parity error flag
|
||
U1C1.Bit5 5 Framing error flag
|
||
U1C1.Bit4 4 Overrun error flag
|
||
U1C1.Bit3 3 Receive complete flag
|
||
U1C1.Bit2 2 Receive enable bit
|
||
U1C1.Bit1 1 Transmit buffer empty flag
|
||
U1C1.Bit0 0 Transmit enable bit
|
||
U1RB 0x003E UART1 receive buffer register
|
||
CSF0 0x0040 Count start flag 0 (***)
|
||
CSF1 0x0041 Count start flag 1 (***)
|
||
OSSF0 0x0042 One-shot start flag 0 (***)
|
||
OSSF1 0x0043 One-shot start flag 1 (***)
|
||
UDF0 0x0044 Up-down flag 0 (***)
|
||
TACDSR 0x0045 Timer A clock division select register (***)
|
||
TACDSR.Bit1 1 Timer A clock division select bit 1
|
||
TACDSR.Bit0 0 Timer A clock division select bit 0
|
||
TA0 0x0046 Timer A0 register
|
||
TA1 0x0048 Timer A1 register
|
||
TA2 0x004A Timer A2 register
|
||
TA3 0x004C Timer A3 register
|
||
TA4 0x004E Timer A4 register
|
||
TB0 0x0050 Timer B0 register
|
||
TB1 0x0052 Timer B1 register
|
||
TB2 0x0054 Timer B2 register
|
||
TA0MR 0x0056 Timer A0 mode register
|
||
TA0MR.Bit7 7
|
||
TA0MR.Bit6 6
|
||
TA0MR.Bit5 5
|
||
TA0MR.Bit4 4
|
||
TA0MR.Bit3 3
|
||
TA0MR.Bit2 2
|
||
TA0MR.Bit1 1 Operating mode select bit 1
|
||
TA0MR.Bit0 0 Operating mode select bit 0
|
||
TA1MR 0x0057 Timer A1 mode register
|
||
TA1MR.Bit7 7
|
||
TA1MR.Bit6 6
|
||
TA1MR.Bit5 5
|
||
TA1MR.Bit4 4
|
||
TA1MR.Bit3 3
|
||
TA1MR.Bit2 2
|
||
TA1MR.Bit1 1 Operating mode select bit 1
|
||
TA1MR.Bit0 0 Operating mode select bit 0
|
||
TA2MR 0x0058 Timer A2 mode register
|
||
TA2MR.Bit7 7
|
||
TA2MR.Bit6 6
|
||
TA2MR.Bit5 5
|
||
TA2MR.Bit4 4
|
||
TA2MR.Bit3 3
|
||
TA2MR.Bit2 2
|
||
TA2MR.Bit1 1 Operating mode select bit 1
|
||
TA2MR.Bit0 0 Operating mode select bit 0
|
||
TA3MR 0x0059 Timer A3 mode register
|
||
TA3MR.Bit7 7
|
||
TA3MR.Bit6 6
|
||
TA3MR.Bit5 5
|
||
TA3MR.Bit4 4
|
||
TA3MR.Bit3 3
|
||
TA3MR.Bit2 2
|
||
TA3MR.Bit1 1 Operating mode select bit 1
|
||
TA3MR.Bit0 0 Operating mode select bit 0
|
||
TA4MR 0x005A Timer A4 mode register
|
||
TA4MR.Bit7 7
|
||
TA4MR.Bit6 6
|
||
TA4MR.Bit5 5
|
||
TA4MR.Bit4 4
|
||
TA4MR.Bit3 3
|
||
TA4MR.Bit2 2
|
||
TA4MR.Bit1 1 Operating mode select bit 1
|
||
TA4MR.Bit0 0 Operating mode select bit 0
|
||
TB0MR 0x005B Timer B0 mode register
|
||
TB0MR.Bit7 7
|
||
TB0MR.Bit6 6
|
||
TB0MR.Bit5 5
|
||
TB0MR.Bit4 4
|
||
TB0MR.Bit3 3
|
||
TB0MR.Bit2 2
|
||
TB0MR.Bit1 1 Operating mode select bit 1
|
||
TB0MR.Bit0 0 Operating mode select bit 0
|
||
TB1MR 0x005C Timer B1 mode register
|
||
TB1MR.Bit7 7
|
||
TB1MR.Bit6 6
|
||
TB1MR.Bit5 5
|
||
TB1MR.Bit4 4
|
||
TB1MR.Bit3 3
|
||
TB1MR.Bit2 2
|
||
TB1MR.Bit1 1 Operating mode select bit 1
|
||
TB1MR.Bit0 0 Operating mode select bit 0
|
||
TB2MR 0x005D Timer B2 mode register
|
||
TB2MR.Bit7 7
|
||
TB2MR.Bit6 6
|
||
TB2MR.Bit5 5
|
||
TB2MR.Bit4 4
|
||
TB2MR.Bit3 3
|
||
TB2MR.Bit2 2
|
||
TB2MR.Bit1 1 Operating mode select bit 1
|
||
TB2MR.Bit0 0 Operating mode select bit 0
|
||
PM0 0x005E Processor mode register 0
|
||
PM1 0x005F Processor mode register 1
|
||
PM1.Bit1 1 Direct page register switch bit
|
||
WDT 0x0060 Watchdog timer register (***)
|
||
WDT.Bit7 7
|
||
WDT.Bit6 6
|
||
WDT.Bit5 5
|
||
WDT.Bit4 4
|
||
WDT.Bit3 3
|
||
WDT.Bit2 2
|
||
WDT.Bit1 1
|
||
WDT.Bit0 0
|
||
WDTFS 0x0061 Watchdog timer frequency select register (***)
|
||
WDTFS.Bit7 7 Watchdog timer clock source select bit at STP termination
|
||
WDTFS.Bit6 6 Watchdog timer clock source select bit at STP termination
|
||
WDTFS.Bit0 0 Watchdog timer frequency select bit
|
||
PFSR0 0x0062 Particular function select register 0 (***)
|
||
PFSR0.Bit1 1 External clcok input select bit
|
||
PFSR0.Bit0 0 STP instruction invalidity select bit
|
||
PFSR1 0x0063 Particular function select register 1 (***)
|
||
PFSR1.Bit6 6 Timer B2 clock source select bit
|
||
PFSR1.Bit3 3 System clock stop select bit at WIT
|
||
PFSR1.Bit1 1 WIT-instruction-execution status bit
|
||
PFSR1.Bit0 0 STP-instruction-execution status bit
|
||
PFSR2 0x0064 Particular function select register 2 (***)
|
||
PFSR2.Bit7 7
|
||
PFSR2.Bit6 6
|
||
PFSR2.Bit5 5
|
||
PFSR2.Bit4 4
|
||
PFSR2.Bit3 3
|
||
PFSR2.Bit2 2
|
||
PFSR2.Bit1 1
|
||
PFSR2.Bit0 0
|
||
RESERVED0065 0x0065 RESERVED
|
||
DCR0 0x0066 Debug control register 0 (***)
|
||
DCR0.Bit5 5 Detect enable bit
|
||
DCR0.Bit2 2 Detect condition select bit 2
|
||
DCR0.Bit1 1 Detect condition select bit 1
|
||
DCR0.Bit0 0 Detect condition select bit 0
|
||
DCR1 0x0067 Debug control register 1 (***)
|
||
DCR1.Bit6 6 Address-matching-detection 2 decision bit
|
||
DCR1.Bit2 2 Address compare register access enable bit
|
||
ACR0 0x0068 Address compare register 0 (***)
|
||
ACR1 0x006B Address compare register 1 (***)
|
||
INT3IC 0x006E INT3 interrupt control register
|
||
INT3IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT3IC.Bit4 4 Polarity select bit
|
||
INT3IC.Bit3 3 Interrupt request bit
|
||
INT3IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT3IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT3IC.Bit0 0 Interrupt priority level select bit 0
|
||
INT4IC 0x006F INT4 interrupt control register
|
||
INT4IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT4IC.Bit4 4 Polarity select bit
|
||
INT4IC.Bit3 3 Interrupt request bit
|
||
INT4IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT4IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT4IC.Bit0 0 Interrupt priority level select bit 0
|
||
ADIC 0x0070 A-D conversion interrupt control register
|
||
ADIC.Bit3 3 Interrupt request bit
|
||
ADIC.Bit2 2 Interrupt priority level select bit 2
|
||
ADIC.Bit1 1 Interrupt priority level select bit 1
|
||
ADIC.Bit0 0 Interrupt priority level select bit 0
|
||
S0TIC 0x0071 UART0 transmit interrupt control register
|
||
S0TIC.Bit3 3 Interrupt request bit
|
||
S0TIC.Bit2 2 Interrupt priority level select bit 2
|
||
S0TIC.Bit1 1 Interrupt priority level select bit 1
|
||
S0TIC.Bit0 0 Interrupt priority level select bit 0
|
||
S0RIC 0x0072 UART0 receive interrupt control register
|
||
S0RIC.Bit3 3 Interrupt request bit
|
||
S0RIC.Bit2 2 Interrupt priority level select bit 2
|
||
S0RIC.Bit1 1 Interrupt priority level select bit 1
|
||
S0RIC.Bit0 0 Interrupt priority level select bit 0
|
||
S1TIC 0x0073 UART1 transmit interrupt control register
|
||
S1TIC.Bit3 3 Interrupt request bit
|
||
S1TIC.Bit2 2 Interrupt priority level select bit 2
|
||
S1TIC.Bit1 1 Interrupt priority level select bit 1
|
||
S1TIC.Bit0 0 Interrupt priority level select bit 0
|
||
S1RIC 0x0074 UART1 receive interrupt control register
|
||
S1RIC.Bit3 3 Interrupt request bit
|
||
S1RIC.Bit2 2 Interrupt priority level select bit 2
|
||
S1RIC.Bit1 1 Interrupt priority level select bit 1
|
||
S1RIC.Bit0 0 Interrupt priority level select bit 0
|
||
TA0IC 0x0075 Timer A0 interrupt control register
|
||
TA0IC.Bit3 3 Interrupt request bit
|
||
TA0IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA0IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA0IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA1IC 0x0076 Timer A1 interrupt control register
|
||
TA1IC.Bit3 3 Interrupt request bit
|
||
TA1IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA1IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA1IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA2IC 0x0077 Timer A2 interrupt control register
|
||
TA2IC.Bit3 3 Interrupt request bit
|
||
TA2IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA2IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA2IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA3IC 0x0078 Timer A3 interrupt control register
|
||
TA3IC.Bit3 3 Interrupt request bit
|
||
TA3IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA3IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA3IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA4IC 0x0079 Timer A4 interrupt control register
|
||
TA4IC.Bit3 3 Interrupt request bit
|
||
TA4IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA4IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA4IC.Bit0 0 Interrupt priority level select bit 0
|
||
TB0IC 0x007A Timer B0 interrupt control register
|
||
TB0IC.Bit3 3 Interrupt request bit
|
||
TB0IC.Bit2 2 Interrupt priority level select bit 2
|
||
TB0IC.Bit1 1 Interrupt priority level select bit 1
|
||
TB0IC.Bit0 0 Interrupt priority level select bit 0
|
||
TB1IC 0x007B Timer B1 interrupt control register
|
||
TB1IC.Bit3 3 Interrupt request bit
|
||
TB1IC.Bit2 2 Interrupt priority level select bit 2
|
||
TB1IC.Bit1 1 Interrupt priority level select bit 1
|
||
TB1IC.Bit0 0 Interrupt priority level select bit 0
|
||
TB2IC 0x007C Timer B2 interrupt control register
|
||
TB2IC.Bit3 3 Interrupt request bit
|
||
TB2IC.Bit2 2 Interrupt priority level select bit 2
|
||
TB2IC.Bit1 1 Interrupt priority level select bit 1
|
||
TB2IC.Bit0 0 Interrupt priority level select bit 0
|
||
RESERVED007D 0x007D RESERVED
|
||
RESERVED007E 0x007E RESERVED
|
||
RESERVED007F 0x007F RESERVED
|
||
RESERVED0080 0x0080 RESERVED
|
||
RESERVED0081 0x0081 RESERVED
|
||
RESERVED0082 0x0082 RESERVED
|
||
RESERVED0083 0x0083 RESERVED
|
||
RESERVED0084 0x0084 RESERVED
|
||
RESERVED0085 0x0085 RESERVED
|
||
RESERVED0086 0x0086 RESERVED
|
||
RESERVED0087 0x0087 RESERVED
|
||
RESERVED0088 0x0088 RESERVED
|
||
RESERVED0089 0x0089 RESERVED
|
||
RESERVED008A 0x008A RESERVED
|
||
RESERVED008B 0x008B RESERVED
|
||
RESERVED008C 0x008C RESERVED
|
||
RESERVED008D 0x008D RESERVED
|
||
RESERVED008E 0x008E RESERVED
|
||
RESERVED008F 0x008F RESERVED
|
||
RESERVED0090 0x0090 RESERVED
|
||
RESERVED0091 0x0091 RESERVED
|
||
RESERVED0092 0x0092 RESERVED
|
||
RESERVED0093 0x0093 RESERVED
|
||
RESERVED0094 0x0094 RESERVED
|
||
EIIRR 0x0095 External interrupt input read register (***)
|
||
EIIRR.Bit7 7 INT7 read out bit
|
||
EIIRR.Bit6 6 INT6 read out bit
|
||
EIIRR.Bit5 5 INT5 read out bit
|
||
EIIRR.Bit4 4 INT4 read out bit
|
||
EIIRR.Bit3 3 INT3 read out bit
|
||
DACR 0x0096 D-A control register
|
||
DACR.Bit1 1 D-A1 output enable bit
|
||
DACR.Bit0 0 D-A0 output enable bit
|
||
RESERVED0097 0x0097 RESERVED
|
||
DAR0 0x0098 D-A register 0 (***)
|
||
DAR1 0x0099 D-A register 1 (***)
|
||
RESERVED009A 0x009A RESERVED
|
||
RESERVED009B 0x009B RESERVED
|
||
RESERVED009C 0x009C RESERVED
|
||
RESERVED009D 0x009D RESERVED
|
||
RESERVED009E 0x009E RESERVED
|
||
RESERVED009F 0x009F RESERVED
|
||
RESERVED00A0 0x00A0 RESERVED
|
||
RESERVED00A1 0x00A1 RESERVED
|
||
RESERVED00A2 0x00A2 RESERVED
|
||
RESERVED00A3 0x00A3 RESERVED
|
||
RESERVED00A4 0x00A4 RESERVED
|
||
RESERVED00A5 0x00A5 RESERVED
|
||
WOMR 0x00A6 Waveform output mode register (***)
|
||
WOMR.Bit7 7 Waveform output control bit 1
|
||
WOMR.Bit6 6 Waveform output control bit 0
|
||
WOMR.Bit5 5 Pulse width modulation timer select bit 5
|
||
WOMR.Bit4 4 Pulse width modulation timer select bit 4
|
||
WOMR.Bit3 3 Pulse output mode select bit
|
||
WOMR.Bit2 2 Waveform output select bit 2
|
||
WOMR.Bit1 1 Waveform output select bit 1
|
||
WOMR.Bit0 0 Waveform output select bit 0
|
||
DTT 0x00A7 Dead-time timer (***)
|
||
TPODR0 0x00A8 Three-phase output data register 0 (***)
|
||
TPODR0.Bit7 7 Clock-source-of-dead-time-timer select bit 7
|
||
TPODR0.Bit6 6 Clock-source-of-dead-time-timer select bit 6
|
||
TPODR0.Bit3 3 W-phase output polarity set buffer
|
||
TPODR0.Bit2 2 U-phase output fix bit
|
||
TPODR0.Bit1 1 V-phase output fix bit
|
||
TPODR0.Bit0 0 W-phase output fix bit
|
||
TPODR1 0x00A9 Three-phase output data register 1 (***)
|
||
TPODR1.Bit5 5 U-phase output polarity set buffer / Interrupt validity output select bit
|
||
TPODR1.Bit4 4 V-phase output polarity set buffer / Interrupt request interval set bit
|
||
TPODR1.Bit2 2 U-phase fixed outputs polarity set bit
|
||
TPODR1.Bit1 1 V-phase fixed outputs polarity set bit
|
||
TPODR1.Bit0 0 W-phase fixed outputs polarity set bit
|
||
PDRFCR 0x00AA Position-data-retain function control register (***)
|
||
PDRFCR.Bit3 3 Retain-trigger polarity select bit
|
||
PDRFCR.Bit2 2 U-phase position data retain bit
|
||
PDRFCR.Bit1 1 V-phase position data retain bit
|
||
PDRFCR.Bit0 0 W-phase position data retain bit
|
||
RESERVED00AB 0x00AB RESERVED
|
||
SIOPCR 0x00AC Serial I/O pin control register (***)
|
||
SIOPCR.Bit3 3 TxD1/P17 switch bit
|
||
SIOPCR.Bit2 2 TxD0/P13 switch bit
|
||
SIOPCR.Bit1 1 CTS1/RTS1 separate select bit
|
||
SIOPCR.Bit0 0 CTS0/RTS0 separate select bit
|
||
RESERVED00AD 0x00AD RESERVED
|
||
P2PFCR 0x00AE Port P2 pin function control register (***)
|
||
P2PFCR.Bit3 3 Pin INT3 /RTPTRG0 select bit
|
||
P2PFCR.Bit2 2 Pin TB2IN select bit
|
||
P2PFCR.Bit1 1 Pin TB1IN select bit
|
||
P2PFCR.Bit0 0 Pin TB0IN select bit
|
||
RESERVED00AF 0x00AF RESERVED
|
||
RESERVED00B0 0x00B0 RESERVED
|
||
RESERVED00B1 0x00B1 RESERVED
|
||
RESERVED00B2 0x00B2 RESERVED
|
||
RESERVED00B3 0x00B3 RESERVED
|
||
RESERVED00B4 0x00B4 RESERVED
|
||
RESERVED00B5 0x00B5 RESERVED
|
||
RESERVED00B6 0x00B6 RESERVED
|
||
RESERVED00B7 0x00B7 RESERVED
|
||
RESERVED00B8 0x00B8 RESERVED
|
||
RESERVED00B9 0x00B9 RESERVED
|
||
RESERVED00BA 0x00BA RESERVED
|
||
RESERVED00BB 0x00BB RESERVED
|
||
CCR0 0x00BC Clock control register 0 (***)
|
||
CCR0.Bit7 7 Peripheral devices clock select bit 1
|
||
CCR0.Bit6 6 Peripheral devices clock select bit 0
|
||
CCR0.Bit5 5 System clock select bit
|
||
CCR0.Bit3 3 PLL multiplication ratio select bit 3
|
||
CCR0.Bit2 2 PLL multiplication ratio select bit 2
|
||
CCR0.Bit1 1 PLL circuit operation enable bit
|
||
RESERVED00BD 0x00BD RESERVED
|
||
RESERVED00BE 0x00BE RESERVED
|
||
RESERVED00BF 0x00BF RESERVED
|
||
RESERVED00C0 0x00C0 RESERVED
|
||
RESERVED00C1 0x00C1 RESERVED
|
||
RESERVED00C2 0x00C2 RESERVED
|
||
RESERVED00C3 0x00C3 RESERVED
|
||
UDF1 0x00C4 Up-down flag 1 (***)
|
||
RESERVED00C5 0x00C5 RESERVED
|
||
TA5 0x00C6 Timer A5 register
|
||
TA6 0x00C8 Timer A6 register
|
||
TA7 0x00CA Timer A7 register
|
||
TA8 0x00CC Timer A8 register
|
||
TA9 0x00CE Timer A9 register
|
||
TA01 0x00D0 Timer A01 register
|
||
TA11 0x00D2 Timer A11 register
|
||
TA21 0x00D4 Timer A21 register
|
||
TA5MR 0x00D6 Timer A5 mode register
|
||
TA5MR.Bit7 7
|
||
TA5MR.Bit6 6
|
||
TA5MR.Bit5 5
|
||
TA5MR.Bit4 4
|
||
TA5MR.Bit3 3
|
||
TA5MR.Bit2 2
|
||
TA5MR.Bit1 1 Operating mode select bit 1
|
||
TA5MR.Bit0 0 Operating mode select bit 0
|
||
TA6MR 0x00D7 Timer A6 mode register
|
||
TA6MR.Bit7 7
|
||
TA6MR.Bit6 6
|
||
TA6MR.Bit5 5
|
||
TA6MR.Bit4 4
|
||
TA6MR.Bit3 3
|
||
TA6MR.Bit2 2
|
||
TA6MR.Bit1 1 Operating mode select bit 1
|
||
TA6MR.Bit0 0 Operating mode select bit 0
|
||
TA7MR 0x00D8 Timer A7 mode register
|
||
TA7MR.Bit7 7
|
||
TA7MR.Bit6 6
|
||
TA7MR.Bit5 5
|
||
TA7MR.Bit4 4
|
||
TA7MR.Bit3 3
|
||
TA7MR.Bit2 2
|
||
TA7MR.Bit1 1 Operating mode select bit 1
|
||
TA7MR.Bit0 0 Operating mode select bit 0
|
||
TA8MR 0x00D9 Timer A8 mode register
|
||
TA8MR.Bit7 7
|
||
TA8MR.Bit6 6
|
||
TA8MR.Bit5 5
|
||
TA8MR.Bit4 4
|
||
TA8MR.Bit3 3
|
||
TA8MR.Bit2 2
|
||
TA8MR.Bit1 1 Operating mode select bit 1
|
||
TA8MR.Bit0 0 Operating mode select bit 0
|
||
TA9MR 0x00DA Timer A9 mode register
|
||
TA9MR.Bit7 7
|
||
TA9MR.Bit6 6
|
||
TA9MR.Bit5 5
|
||
TA9MR.Bit4 4
|
||
TA9MR.Bit3 3
|
||
TA9MR.Bit2 2
|
||
TA9MR.Bit1 1 Operating mode select bit 1
|
||
TA9MR.Bit0 0 Operating mode select bit 0
|
||
RESERVED00DB 0x00DB RESERVED
|
||
CFSR0 0x00DC Comparator function select register 0 (***)
|
||
CFSR0.Bit4 4 AN4 pin comparator function select bit
|
||
CFSR0.Bit3 3 AN3 pin comparator function select bit
|
||
CFSR0.Bit2 2 AN2 pin comparator function select bit
|
||
CFSR0.Bit1 1 AN1 pin comparator function select bit
|
||
CFSR0.Bit0 0 AN0 pin comparator function select bit
|
||
RESERVED00DD 0x00DD RESERVED
|
||
CRR0 0x00DE Comparator result register 0 (***)
|
||
CRR0.Bit4 4 AN4 pin comparator result bit
|
||
CRR0.Bit3 3 AN3 pin comparator result bit
|
||
CRR0.Bit2 2 AN2 pin comparator result bit
|
||
CRR0.Bit1 1 AN1 pin comparator result bit
|
||
CRR0.Bit0 0 AN0 pin comparator result bit
|
||
RESERVED00DF 0x00DF RESERVED
|
||
RESERVED00E0 0x00E0 RESERVED
|
||
RESERVED00E1 0x00E1 RESERVED
|
||
RESERVED00E2 0x00E2 RESERVED
|
||
RESERVED00E3 0x00E3 RESERVED
|
||
RESERVED00E4 0x00E4 RESERVED
|
||
RESERVED00E5 0x00E5 RESERVED
|
||
RESERVED00E6 0x00E6 RESERVED
|
||
RESERVED00E7 0x00E7 RESERVED
|
||
RESERVED00E8 0x00E8 RESERVED
|
||
RESERVED00E9 0x00E9 RESERVED
|
||
RESERVED00EA 0x00EA RESERVED
|
||
RESERVED00EB 0x00EB RESERVED
|
||
RESERVED00EC 0x00EC RESERVED
|
||
RESERVED00ED 0x00ED RESERVED
|
||
RESERVED00EE 0x00EE RESERVED
|
||
RESERVED00EF 0x00EF RESERVED
|
||
RESERVED00F0 0x00F0 RESERVED
|
||
RESERVED00F1 0x00F1 RESERVED
|
||
RESERVED00F2 0x00F2 RESERVED
|
||
RESERVED00F3 0x00F3 RESERVED
|
||
RESERVED00F4 0x00F4 RESERVED
|
||
TA5IC 0x00F5 Timer A5 interrupt control register
|
||
TA5IC.Bit3 3 Interrupt request bit
|
||
TA5IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA5IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA5IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA6IC 0x00F6 Timer A6 interrupt control register
|
||
TA6IC.Bit3 3 Interrupt request bit
|
||
TA6IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA6IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA6IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA7IC 0x00F7 Timer A7 interrupt control register
|
||
TA7IC.Bit3 3 Interrupt request bit
|
||
TA7IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA7IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA7IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA8IC 0x00F8 Timer A8 interrupt control register
|
||
TA8IC.Bit3 3 Interrupt request bit
|
||
TA8IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA8IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA8IC.Bit0 0 Interrupt priority level select bit 0
|
||
TA9IC 0x00F9 Timer A9 interrupt control register
|
||
TA9IC.Bit3 3 Interrupt request bit
|
||
TA9IC.Bit2 2 Interrupt priority level select bit 2
|
||
TA9IC.Bit1 1 Interrupt priority level select bit 1
|
||
TA9IC.Bit0 0 Interrupt priority level select bit 0
|
||
RESERVED00FA 0x00FA RESERVED
|
||
RESERVED00FB 0x00FB RESERVED
|
||
RESERVED00FC 0x00FC RESERVED
|
||
INT5IC 0x00FD INT5 interrupt control register
|
||
INT5IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT5IC.Bit4 4 Polarity select bit
|
||
INT5IC.Bit3 3 Interrupt request bit
|
||
INT5IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT5IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT5IC.Bit0 0 Interrupt priority level select bit 0
|
||
INT6IC 0x00FE INT6 interrupt control register
|
||
INT6IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT6IC.Bit4 4 Polarity select bit
|
||
INT6IC.Bit3 3 Interrupt request bit
|
||
INT6IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT6IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT6IC.Bit0 0 Interrupt priority level select bit 0
|
||
INT7IC 0x00FF INT7 interrupt control register
|
||
INT7IC.Bit5 5 Level sense/Edge sense select bit
|
||
INT7IC.Bit4 4 Polarity select bit
|
||
INT7IC.Bit3 3 Interrupt request bit
|
||
INT7IC.Bit2 2 Interrupt priority level select bit 2
|
||
INT7IC.Bit1 1 Interrupt priority level select bit 1
|
||
INT7IC.Bit0 0 Interrupt priority level select bit 0
|
||
|
||
|