M30245 Group
Key-input mode register
b7
b6
b5
b4
b3
P u l l - u p c o n t r o l r e g i s t e r 2
b7
b6
b5
b4
Figure 2.14.3. key-input interrupt-related registers (2)
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
b2
b1
b0
Symbol
KUPM
Bit Symbol
KIS0
KIS1
KIE0
KIE1
KIE2
KIE3
Nothing is assigned. Write "0" when writing to these bits.
The value is "0" if read.
b3
b2
b1
b0
S y m b o l
P U R 2
Bit symbol
PU20
P U 2 1
P U 2 2
Nothing is assigned.
In an attempt to write to this bit, write "0". The value, if read, turns out to be "0".
P U 2 4
P U 2 5
N o t h i n g i s a s s i g n e d .
I n a n a t t e m p t t o w r i t e t o t hes e b i t s , w r i t e " 0 " . T h e v a l u e , i f r e a d , t u r n s o u t t o b e " 0 " .
page 264 of 354
Address
03F9
16
Bit Name
P10 Key-input edge select 0
P10 Key-input edge select 1
P10
and P10
Key-input enable bit
0
1
P10
and P10
Key-input enable bit
2
3
P10
and P10
Key-input enable bit
4
5
P10
and P10
Key-input enable bit
6
7
A d d r e s s
0 3 F E
1 6
Bit name
P8
to P8
pull-up
0
3
P 8
t o P 8
p u l l - u p
4
7
( E x c e p t P 8
)
5
P 9
t o P 9
p u l l - u p
0
3
( E x c e p t P 9
)
1
P 1 0
t o P 1 0
p u l l - u p
0
3
P 1 0
t o P 1 0
p u l l - u p
4
7
2. Key-Input Interrupt
When reset
00
16
Function
b1 b0
0 0 : Falling edge
0 1 : Rising edges
1 0 : Two edge
1 1 : Reserved
0 : Disabled
1 : Enabled
0 : Disabled
1 : Enabled
0 : Disabled
1 : Enabled
0 : Disabled
1 : Enabled
W h e n r e s e t
0 0
1 6
Function
The corresponding port is pulled
high with a pull-up resistor
0 : Not pulled high
1 : Pulled high
The corresponding port is pulled
high with a pull-up resistor
0 : Not pulled high
1 : Pulled high
R W
O O
O O
O O
O O
O O
O O
_ _
R
W