You can assign grouping priority by using the PRIGROUP field in the Application Interrupt and Re-
set Control Register.
NVIC register
<PRI_n>
←
"priority"
<PRIGROUP>
←
"group priority"(This is configurable if required.)
Note:
"n" indicates the corresponding exceptions/interrupts.
This product uses three bits for assigning a priority level.
(3)
Preconfiguration (1) (Interrupt from external pin)
Set "1" to the port function register of the corresponding pin. Setting PxFRn[m] allows the pin to
be used as the function pin. Setting PxIE[m] allows the pin to be used as the input port.
Port register
PxFRn<PxmFn>
←
"1"
PxIE<PxmIE>
←
"1"
Note:
x: port number / m: corresponding bit / n: function register number
In modes other than STOP mode, setting PxIE to enable input enables the correspond-
ing interrupt input regardless of the PxFR setting. Be careful not to enable interrupts
that are not used. Also, be aware of the description of "7.5.1.4 Precautions when us-
ing external interrupt pins".
(4)
Preconfiguration (2) (Interrupt from peripheral function)
The setting varies depending on the peripheral function to be used. See the chapter of each periph-
eral function for details.
(5)
Preconfiguration (3) (Interrupt Set-Pending Register)
To generate an interrupt by using the Interrupt Set-Pending Register, set "1" to the corresponding
bit of this register.
NVIC register
Interrupt Set-Pending [m]
←
"1"
Note:
m: corresponding bit
(6)
Configuring the clock generator
For an interrupt source to be used for exiting a standby mode, you need to set the active level
and enable interrupts in the CGIMCG register of the clock generator. The CGIMCG register is capa-
ble of configuring each source.
Before enabling an interrupt, clear the corresponding interrupt request already held. This can
avoid unexpected interrupt.To clear corresponding interrupt request, write a value corresponding to
the interrupt to be used to the CGICRCG register.See "7.6.3.2 CGICRCG(CG Interrupt Request
Clear Register)" for each value.
TMPM3V6/M3V4
7. Exceptions
7.5 Interrupts
Page 92
2019-02-06
Содержание TMPM3V4
Страница 1: ...32 Bit RISC Microcontroller TX03 Series TMPM3V6 M3V4 ...
Страница 2: ... 2019 Toshiba Electronic Devices Storage Corporation ...
Страница 7: ...Revision History Date Revision Comment 2019 02 06 1 First Release ...
Страница 8: ......
Страница 22: ...xiv ...
Страница 52: ...TMPM3V6 M3V4 3 Processor Core 3 6 Exclusive access Page 30 2019 02 06 ...
Страница 148: ...TMPM3V6 M3V4 7 Exceptions 7 6 Exception Interrupt Related Registers Page 126 2019 02 06 ...
Страница 178: ...TMPM3V6 M3V4 9 Input Output port 9 2 Block Diagrams of Ports Page 156 2019 02 06 ...
Страница 206: ...TMPM3V6 M3V4 10 16 bit Timer Event Counters TMRB 10 7 Applications using the Capture Function Page 184 2019 02 06 ...
Страница 232: ...TMPM3V6 M3V4 11 Universal Asynchronous Receiver Transmitter Circuit UART 11 4 Operation Description Page 210 2019 02 06 ...
Страница 354: ...TMPM3V6 M3V4 14 Synchronous Serial Port SSP 14 6 Frame Format Page 332 2019 02 06 ...
Страница 419: ...TMPM3V6 M3V4 Page 397 2019 02 06 ...
Страница 420: ...TMPM3V6 M3V4 16 Analog Digital Converter ADC 16 6 Timing chart of AD conversion Page 398 2019 02 06 ...
Страница 462: ...TMPM3V6 M3V4 21 Watchdog Timer WDT 21 5 Control register Page 440 2019 02 06 ...
Страница 510: ...TMPM3V6 M3V4 22 Flash Memory Operation 22 4 Programming in the User Boot Mode Page 488 2019 02 06 ...
Страница 538: ...TMPM3V6 M3V4 25 Electrical Characteristics 25 7 Recommended Oscillation Circuit Page 516 2019 02 06 ...
Страница 541: ...26 3 TMPM3V4FWUG TMPM3V4FSUG Type LQFP64 P 1010 0 50E LPHQVLRQV TMPM3V6 M3V4 Page 519 2019 02 06 ...
Страница 544: ......