RL78/G11 UART Reception in STOP Mode Using Middle-speed On-chip Oscillator IAR
R01AN3634EJ0100 Rev.1.00 Page 28 of 85
Feb. 15, 2017
5.9.2 Initialization
Figure5.4Figure 5. shows the flowchart of the initialization process.
hdwinit
Disable maskable interrupts
Peripheral function initialization
R_Systeminit()
IE ← 0
Port initialization
CPU clock initialization
TAU0 initialization
SAU0 initialization
INTP initialization
return
Figure 5.4 Initialization
Note: Initialization in the IAR sample code is executed in the __low_level_init function.
5.9.2 Peripheral function initialization
Figure5.5 shows the flowchart for the peripheral function initialization.
Figure 5.5 Peripheral Function Initialization