Save Time Information Function: Backup_Time() - Renesas RX230 Series Manual

Hide thumbs Also See for RX230 Series:
Table of Contents

Advertisement

RX230 Group, RX231 Group

4.5 Save Time Information Function: backup_time()

Figure 4.5 is a flowchart of the function for saving time information to the data flash (Vdet1 interrupt
processing).
R01AN4831EJ0100 Rev.1.00
Aug.20.19
Initial Settings and Usage Procedure of RTC Battery Backup Function
backup_time
Read RTC information
R_Config_RTC_Get_CalendarCounterValue()
Set year, month, day, hour, minute,
and second data in array
Set battery state and switch push count in array
Set flash write history in array
Write to data flash
R_FLASH_Write()
Verify data written to flash
Stop LVD1
R_Config_LVD1_Stop()
RETURN
Figure 4.5 Save Time Information Function
Page 19 of 23

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rx231 series

Table of Contents