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

Hide thumbs Also See for M16C/60 Series:
Table of Contents

Advertisement

Under development
This document is under development and its contents are subject to change.
M16C/6N5 Group
______

NMI Interrupt

_______
An NMI interrupt request is generated when input on the NMI pin changes state from high to low. The NMI
interrupt is a non-maskable interrupt.
The input level of this NMI interrupt input pin can be read by accessing the P8 register's P8_5 bit.
This pin cannot be used as an input port.

Key Input Interrupt

Of P10
to P10
, a key input interrupt is generated when input on any of the P10
4
7
the PD10 register's PD10_4 to PD10_7 bits set to "0" (input) goes low. Key input interrupts can be used as
a key-on wakeup function, the function which gets the microcomputer out of wait or stop mode. However, if
you intend to use the key input interrupt, do not use P10
shows the block diagram 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 1.10.12 Key Input Interrupt Block Diagram

CAN0 Wake-up Interrupt

CAN0 wake-up interrupt is occurs when a falling edge is input to CRx
sleep mode. The CAN0 wake-up interrupt is enabled only when the port is defined as the CAN port. Figure 1.10.13
shows the block diagram of the CAN0 wake-up interrupt. Please note that the wake-up message will be lost.
C0CTLR register's PortEn bit
Figure 1.10.13 CAN0 Wake-up Interrupt Block Diagram
Rev.1.00
2003.05.30
page 82
_______
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
CR
X0
_______
to P10
as analog input ports. Figure 1.10.12
4
7
KUPIC register
Interrupt control circuit
. Use the interrupt in stop/wait mode or CAN
0
C01WKIC register
Interrupt control
CAN0 wake-up
circuit
interrupt request
Interrupts
______
to P10
pins which has had
4
7
Key input interrupt
request

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/6n5

Table of Contents