m5m51016btp Renesas Electronics Corporation., m5m51016btp Datasheet - Page 274

no-image

m5m51016btp

Manufacturer Part Number
m5m51016btp
Description
Renesas 16-bit Single-chip Microcomputer M16c Family / M16c/20 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
m5m51016btp-10LL/-10L
Manufacturer:
MIT
Quantity:
4 390
Part Number:
m5m51016btp-10LL/-10L
Manufacturer:
MIT
Quantity:
4 390
Part Number:
m5m51016btp-10VHTC4
Manufacturer:
MIT
Quantity:
20 000
Part Number:
m5m51016btp-10VLL
Manufacturer:
MIT
Quantity:
3 909
Part Number:
m5m51016btp-10VLL
Manufacturer:
MIT
Quantity:
3 909
Part Number:
m5m51016btp-10VLL
Manufacturer:
MITSUMI
Quantity:
20 000
Part Number:
m5m51016btp-12LL
Manufacturer:
MIT
Quantity:
4 390
Part Number:
m5m51016btp-70LL
Manufacturer:
MIT
Quantity:
20 000
Part Number:
m5m51016btp-70LLTC4
Manufacturer:
RENESAS
Quantity:
1 000
Part Number:
m5m51016btp-70LLTC4
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
M30245 Group
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
Operation
Figure 2.14.4. Example of circuit using the key-input interrupt
Figure 2.14.5. Example of operation of key-input interrupt
2.14.2 Operation of Key-Input Interrupt
The following is an operation of key-input interrupt. Figure 2.14.4 shows an example of a circuit that uses
the key-input interrupt, Figure 2.14.5 shows an example of operation of key-input interrupt, and Figure
2.14.6 shows the setting procedure of key-input interrupt.
P10
P10
P10
P10
P10
input
Key input
Key input
interrupt processing
(1) Set the direction register of the ports to be changed to key-input interrupt pins to input, and set
(2) Setting the key-input interrupt control register and setting the interrupt enable flag makes the
(3) If a falling edge is input to either KI
4
5
6
7
0
output
output
output
output
to P10
the pull-up function.
interrupt-enabled state ready.
3
page 265 of 354
(1) Enter to stop mode
Key OFF
(2) Cancel stop mode
(3) Key scan
Key ON
_____
0
through KI
P10
P10
P10
P10
P10
P10
P10
P10
(4) Enter to stop mode
0
1
2
3
4
5
6
7
/ KI
/ KI
/ KI
/ KI
Key OFF
0
1
2
3
7
, the key-input interrupt request bit goes to “1”.
V
REF
Key ON
I/O port
Key matrix scan
2. Key-Input Interrupt

Related parts for m5m51016btp