Renesas rl78 Benutzerhandbuch
15.5.1 CSI
consecutive transmission..................................................................................................... 677
15.5.2 Consecutive
capturing of A/D conversion results........................................................................ 679
15.5.3 UART consecutive reception + ACK transmission ...................................................................... 681
15.5.4 Holding DMA transfer pending by DWAITn bit............................................................................ 682
15.5.5 Forced
termination by software................................................................................................... 683
15.6 Cautions on Using DMA Controller ....................................................................................... 685
CHAPTER 16 INTERRUPT FUNCTIONS............................................................................................. 688
16.1 Interrupt
Function
Types ........................................................................................................ 688
16.2 Interrupt Sources and Configuration .................................................................................... 688
16.3 Registers Controlling Interrupt Functions............................................................................ 694
16.3.1 Interrupt request flag registers (IF0L, IF0H, IF1L, IF1H, IF2L, IF2H) .......................................... 698
16.3.2 Interrupt mask flag registers (MK0L, MK0H, MK1L, MK1H, MK2L, MK2H) ................................ 699
16.3.3 Priority specification flag registers (PR00L, PR00H, PR01L, PR01H, PR02L, PR02H, PR10L,
PR10H, PR11L, PR11H, PR12L, PR12H) .................................................................................. 701
16.3.4 External interrupt rising edge enable registers (EGP0, EGP1), external interrupt falling edge
enable registers (EGN0, EGN1) ................................................................................................. 703
16.3.5 Program
status word (PSW) ....................................................................................................... 705
16.4 Interrupt
Servicing
Operations .............................................................................................. 706
16.4.1 Maskable interrupt request acknowledgment.............................................................................. 706
16.4.2 Software
interrupt
request acknowledgment............................................................................... 709
16.4.3 Multiple
interrupt servicing .......................................................................................................... 709
16.4.4 Interrupt
request hold.................................................................................................................. 713
CHAPTER 17 KEY INTERRUPT FUNCTION ..................................................................................... 714
17.1 Functions of Key Interrupt ..................................................................................................... 714
17.2 Configuration of Key Interrupt............................................................................................... 715
17.3 Register
Controlling
Key
Interrupt ........................................................................................ 717
17.3.1 Key return control register (KRCTL) ........................................................................................... 717
17.3.2 Key return mode registers 0, 1 (KRM0, KRM1) .......................................................................... 718
17.3.3 Key return flag register (KRF) ..................................................................................................... 719
17.3.4 Port mode registers 0 to 2, 7, 12, 15 (PM0 to PM2, PM7, PM12, PM15).................................... 720
17.3.5 Peripheral I/O redirection register (PIOR) ................................................................................... 721
17.4 Key Interrupt Operation .......................................................................................................... 722
17.4.1 When not using the key interrupt flag (KRMD = 0)...................................................................... 722
17.4.2 When using the key interrupt flag (KRMD = 1) ........................................................................... 723
CHAPTER 18 STANDBY FUNCTION .................................................................................................. 726
18.1 Standby
Function .................................................................................................................... 726
18.2 Registers Controlling Standby Function .............................................................................. 727
18.3 Standby
Function
Operation.................................................................................................. 727
18.3.1 HALT mode................................................................................................................................. 727
18.3.2 STOP mode ................................................................................................................................ 732
18.3.3 SNOOZE mode........................................................................................................................... 737
Index-10