RX230 Group, RX231 Group
Contents
1.
Overview ................................................................................................................................. 4
1.1
About this Application Note ..................................................................................................................... 4
1.2
Operating Environment ........................................................................................................................... 7
2.
Hardware ................................................................................................................................. 9
2.1
2.2
Pins Used ................................................................................................................................................ 9
2.3
Clock Settings ........................................................................................................................................ 10
2.4
LCD Panel ............................................................................................................................................. 10
2.5
Hardware Modifications ......................................................................................................................... 10
2.5.1
VBATT Connection .............................................................................................................................. 10
2.5.2
RTCIC1 Input ....................................................................................................................................... 11
3.
Software ................................................................................................................................ 12
3.1
FIT Modules ........................................................................................................................................... 12
3.2
SC Components .................................................................................................................................... 12
3.3
File Composition .................................................................................................................................... 12
3.4
3.5
Constants .............................................................................................................................................. 13
3.6
Variables ................................................................................................................................................ 13
3.7
Functions Used ...................................................................................................................................... 13
3.8
Function Specifications ......................................................................................................................... 14
3.8.1
main ..................................................................................................................................................... 14
3.8.2
flash_Init .............................................................................................................................................. 14
3.8.3
display_time ......................................................................................................................................... 14
3.8.4
display_info .......................................................................................................................................... 15
3.8.5
backup_time ........................................................................................................................................ 15
4.
Flowcharts ............................................................................................................................. 16
4.1
main Function: main() ............................................................................................................................ 16
4.2
4.3
4.4
4.5
5.
5.1
LCD Display ........................................................................................................................................... 20
5.1.1
5.1.2
5.2
RTC Input Capture Operation ............................................................................................................... 22
R01AN4831EJ0100 Rev.1.00
Aug.20.19
Initial Settings and Usage Procedure of RTC Battery Backup Function
Page 2 of 23