Key Input Interrupt; Can0 Wake-Up Interrupt - Renesas M16C/29 Series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for M16C/29 Series:
Table of Contents

Advertisement

M16C/29 Group

9.8 Key Input Interrupt

A key input interrupt is generated when input on any of the P10
register's PD10_4 to PD10_7 bits set to "0" (= input) goes low. Key input interrupts can be used for a key-
on wakeup function to get the microcomputer to exit stop or wait modes. However, if you intend to use the
key input interrupt, do not use P10
of the key input interrupt. Note, however, that while input on any pin which has had the PD10_4 to
PD10_7 bits set to "0" (= input mode) is pulled low, inputs on all other pins of the port are not detected as
interrupts.
Pull-up
transistor
KI
3
Pull-up
transistor
KI
2
Pull-up
transistor
KI
1
Pull-up
transistor
KI
0
Figure 9.8.1. Key Input Interrupt

9.9 CAN0 Wake-up Interrupt

CAN0 wake-up interrupt occurs when a falling edge is input to CR
enabled only when the PortEn bit = 1 (CTx/CRx function) and Sleep bit = 1(Sleep mode enabled) in the
C0CTLR register. Figure 9.9.1 shows the block diagram of the CAN0 wake-up interrupt. Please note that
the wake-up message will be lost.
Sleep bit in C0CTLR register
PortEn bit in C0CTLR register
CR
X0
Figure 9.9.1. CAN0 wake-up Interrupt Block Diagram
Rev.1.00 Nov 01,2004
REJ09B0101-0100Z
to P10
4
PUR2 register's PU25 bit
PD10 register's
PD10_7 bit
PD10 register's PD10_7 bit
PD10 register's
PD10_6 bit
PD10 register's
PD10_5 bit
PD10 register's
PD10_4 bit
page 77 of 402
4
as analog input ports. Figure 9.8.1 shows the block diagram
7
KUPIC register
Interrupt control circuit
C01WKIC register
Interrupt control circuit
to P10
pins which has had the PD10
7
Key input interrupt
request
. The CAN0 wake-up interrupt is
X0
CAN0 wake-up
interrupt request
9. Interrupts

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c seriesM16c/tiny series

Table of Contents