RX230 Group, RX231 Group
3.8 Function Specifications
User setting functions are described below. For information on FIT module functions, refer to the
specifications of the relevant module.
3.8.1 main
Item
Details
Function Name
main()
Outline
System main function
Declaration
void main(void)
Description
Controls initial module settings and the system overall.
Functions called
display_time ()
display_info ()
flash_Init ()
R_Config_LVD1_Start()
R_LCD_Init()
R_LCD_Display()
R_FLASH_Open()
R_Config_RTC_Create()
R_Config_RTC_Set_CalendarCounterValue()
R_Config_RTC_Start()
R_VBATT_Open()
R_VBATT_GetStatus()
⎯
Arguments
⎯
Return value
3.8.2 flash_Init
Item
Details
Function Name
flash_Init ()
Outline
Erases data flash to store RTC information
Declaration
void flash_Init (void)
Description
Erases block 0 of data flash and performs blank checking.
Functions called
R_FLASH_Erase ()
R_FLASH_BlankCheck ()
⎯
Arguments
⎯
Return value
3.8.3 display_time
Item
Details
Function Name
display_time ()
Outline
Display time information function
Declaration
void display_time (uint8_t)
Description
Reads time information from the RTC and displays it on the LCD.
Functions called
R_Config_RTC_Get_CalendarTimeCaptureValue1 ()
R_Config_RTC_Get_CalendarCounterValue ()
R_LCD_Display ()
Arguments
Display start line count
⎯
Return value
R01AN4831EJ0100 Rev.1.00
Aug.20.19
Initial Settings and Usage Procedure of RTC Battery Backup Function
Table 3.8 main Function
Table 3.9 flash_Init Function
Table 3.10 display_time Function
Page 14 of 23
Need help?
Do you have a question about the RX230 Series and is the answer not in the manual?
Questions and answers