Erase Data Flash Function: Flash_Init (); Display Time Information Function: Display_Time() - Renesas RX230 Series Manual

Hide thumbs Also See for RX230 Series:
Table of Contents

Advertisement

RX230 Group, RX231 Group

4.2 Erase Data Flash Function: flash_Init ()

Figure 4.2 is a flowchart of the function for erasing the data flash.

4.3 Display Time Information Function: display_time()

Figure 4.3 is a flowchart of the function for displaying time information on the LCD.
Read RTC information
R_Config_RTC_Get_CalendarCounterValue()
Convert year, month, and day to ASCII
R_LCD_Display()
Convert hour, minute, and second
Set AM/PM display data
R_LCD_Display()
R01AN4831EJ0100 Rev.1.00
Aug.20.19
Initial Settings and Usage Procedure of RTC Battery Backup Function
R_FLASH_Erase()
Data flash blank check
R_FLASH_BlankCheck()
Figure 4.2 Erase Data Flash Function
display_time
line_num = 7?
No
Display on LCD
to ASCII
Display on LCD
RETURN
Figure 4.3 Display Time Information Function
flash_Init
Erase data flash
RETURN
Yes
Read RTC capture value
R_Config_RTC_Get_Calendar
Convert month and day to ASCII
TimeCaptureValue1()
Page 17 of 23

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rx231 series

Table of Contents