Figure 5-4 )expects regular interrupts fr, Figure 5-4) and the main_run() – Maxim Integrated 71M6521BE Energy Meter IC Family Software User Manual
Page 48

71M652X Software User’s Guide
Revision 1.7
TERIDIAN Proprietary
48 of 138
© Copyright 2005-2007 TERIDIAN Semiconductor Corporation
Initialize battery mode
management
Remove software watchdogs
main_init()
Restore calibration values
Perform autocal
Apply calibration defaults
yes
no
restore OK?
Reset RTC
Set default values
autocal request?
yes
no
meter_initialize()
Display "HELLO"
Initialize LCD
Enable RTC interrupt
Initialize pulse counting
Enable CE
Create SW watchdog for
main loop
Enable interrupts
END
Figure 5-4: main_init() Function
This manual is related to the following products: