User guide

91
SmartBook for Renesas R8C/Tiny Microcontrollers
www.MightyMicons.com
Chapter 5 Interrupt Mechanism
5.1 Introduction ............................................................................................................. 43
5.2 Software Interrupts................................................................................................. 44
5.2.1 Undefined Instruction Interrupt ................................................................ 45
5.2.2 Overflow Interrupt ...................................................................................... 45
5.2.3 Break Interrupt........................................................................................... 45
5.2.4 Instruction Interrupt .................................................................................. 45
5.3 Hardware Interrupts................................................................................................ 46
5.3.1 Watch Dog Interrupt ................................................................................. 46
5.3.2 Oscillation Stop Detection Interrupt ....................................................... 46
5.3.3 Voltage Detection Interrupt ...................................................................... 46
5.3.4 Single Step Interrupt................................................................................. 46
5.3.5 Address Match Interrupt........................................................................... 46
5.4 Peripheral Function Interrupts .............................................................................. 47
5.5 Interrupt Control...................................................................................................... 48
5.5.1 Saving the Registers in the Interrupt Sequence .................................... 51
5.5.2 Managing Multiple Interrupts ................................................................... 51
5.5.3 External Hardware Interrupts ................................................................... 53
5.5.4 Interrupts for Keyboard and Switches .................................................... 53
5.5.5 Software Support for the Interrupt Operations ....................................... 54
Chapter 6 Ports, Data Converters and Communication Facilities
6.1 Introduction ............................................................................................................. 55
6.2 I/O Port Lines ......................................................................................................... 55
6.3 Analog Interface ..................................................................................................... 56
6.4 Communication Facilities...................................................................................... 58
6.5 Serial Communication Interface – IIC/SSU.......................................................... 60