English
Language : 

M30201_M Datasheet, PDF (332/415 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY
Key-Input Interrupt
Mitsubishi microcomputers
M30201 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Interrupt control register (Note 2)
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
KUPIC
Address
004D16
When reset
XXXXX0002
Bit symbol
ILVL0
Bit name
Interrupt priority level
select bit
ILVL1
ILVL2
Function
RW
b2 b1 b0
0 0 0 : Level 0 (interrupt disabled)
0 0 1 : Level 1
0 1 0 : Level 2
0 1 1 : Level 3
1 0 0 : Level 4
1 0 1 : Level 5
1 1 0 : Level 6
1 1 1 : Level 7
IR
Interrupt request bit
0 : Interrupt not requested
1 : Interrupt requested
(Note1)
Nothing is assigned.
In an attempt to write to these bits, write “0”. The value, if read, turns
out to be indeterminate.
Note 1: This bit can only be accessed for reset (= 0), but cannot be accessed
for set (= 1).
Note 2: To rewrite the interrupt control register, do so at a point that dose not
generate the interrupt request for that register. For details, see the
precautions for interrupts.
Port P0 direction register
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
PD0
Address
03E216
When reset
0016
Bit symbol
PD0_0
PD0_1
PD0_2
PD0_3
PD0_4
PD0_5
PD0_6
PD0_7
Bit name
Port P00 direction register
Port P01 direction register
Port P02 direction register
Port P03 direction register
Port P04 direction register
Port P05 direction register
Port P06 direction register
Port P07 direction register
Function
0 : Input mode
(Functions as an input port)
1 : Output mode
(Functions as an output port)
RW
Pull-up control register 0
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
PUR0
Address
03FC16
Bit symbol
PU00
PU01
PU02
PU03
Bit name
P00 to P03 pull-up
P04 to P07 pull-up
P10 to P13 pull-up
P14 to P17 pull-up
When reset
0016
Function
The corresponding port is pulled
high with a pull-up resistor
0 : Not pulled high
1 : Pulled high
RW
PU06
PU07
P30 to P33 pull-up
P34 to P35 pull-up
Figure 2.10.2. key-input interrupt-related registers
319