ST92141 STMicroelectronics, ST92141 Datasheet - Page 49

no-image

ST92141

Manufacturer Part Number
ST92141
Description
8/16-bit Mcu For 3-phase Ac Motor Control
Manufacturer
STMicroelectronics
Datasheet
3.9 NMI/WKP0 LINE MANAGEMENT
In the ST92141, the Non Maskable Interrupt (NMI)
and the Wake Up 0 line (WKUP0) functionalities
are both physically mapped on the same I/O Port
pin P5.1 (refer to Section 1.2).
The NMI/WKUP0 is a single alternate function In-
put, associated with pin P5.1. It is input to the In-
Figure 24. NMI/WKUP0 Line Management
NMI Event Handling
To enable an NMI event on the NMI/WKUP0 line,
the following bits must be programmed:
– TLNM bit in the NICR register,
– TLI and IEN bits in the CICR register
– NMI bit in the IMCIVR register
– NMIL bit in the PBR register
– NMIE bit in the PCR1 register
An event on the NMI/WKUP0 line is handled by
the ST92141 in the following way:
– a NMI event is acknowledged in the CPU only
– a NMI event is immediately acknowledged in the
when the internal clock INTCLK is running (i.e.
when the ST92141 is not in Stop Mode).
IMC. The ST92141 can be either in Stop or in
UH/UL/VH
VL/WH/WL
P5.1
Input Buffer
Output Buffers
NMI/WKUP0
Stop request to RCCU
duction Motor Controller (IMC) and the Wake Up
Management Unit (WUIMU).
The IMC Controller processes the NMI Input and
generates the Non Maskable Interrupt request to
the CPU (refer to
Wake-up Event Handling
To enable a wake-up event on the NMI/WKUP0
line, the following bits must be programmed:
– WUMx bits in the WUMRL register
– WUTx bits in the WUTRL register
An event on the NMI/WKUP0 or the WKUP[3:1]
lines is handled by the ST92141 in the following
way:
– a wake up event of one external line (out of the
NMI to CPU
Run Mode (the NMI/WKUP0 line is detected
asynchronously).
four available), is immediately acknowledged in
the WUIMU. The ST92141 can be either in Stop
or in Run mode (the NMI/WKUP0 and
WKUP[3:1] lines are detected asynchronously).
NMI
WKUP0
Figure 24
ST92141 - INTERRUPTS
CPU
WUIMU
IMC
and IMC
Figure
49/179
71).
1

Related parts for ST92141