beautypg.com

Meter_lcd – Maxim Integrated 71M6521BE Energy Meter IC Family Software User Manual

Page 57

background image

71M652X Software User’s Guide

Revision 1.7

TERIDIAN Proprietary

57 of 138

© Copyright 2005-2007 TERIDIAN Semiconductor Corporation

meter_LCD

meter_lcd()

ce_active = FALSE &

RTC_Tic() =TRUE?

no

yes

LCD Clear

Display " CE OFF"

my_beat = beat

beat != my_beat?

END

ce_totals_rdy() = TRUE

ce_totals_ready=FALSE

Save accumulated energy to

BROWNOUT cache

select_scroll = 0

select_total >=
MAX_TOTAL?

Clear display

M_DATE !=

select_scroll?

LCD_mode (select_scroll)

meter_totals (select_scroll,0)

yes

no

no

meter_totals (select_total,

select_phase)

BROWNOUT mode?

yes, display

other than date

no

MAX_SCROLL ==

select_scroll?

increment select_scroll

yes

no

beat?

decimal point on

yes

yes

decimal point off

no

decimal point on

yes

no

date

display

display selected
quantity on LCD

reset selector after it

reached maximum

no

arrange for blinking

of decimal point

yes

Figure 5-12: meter_LCD