15 alphabetical function reference, Alphabetical function reference – Maxim Integrated 71M6534 Energy Meter IC Family Software User Manual
Page 87

71M653X Software User’s Guide
5.15 ALPHABETICAL FUNCTION REFERENCE
Function/Routine
Name
Description
Input
Output
File Name
add8_4(r, wh_ce)
Adds Wh inCE counts to a
register r, converting to display
units. No underflow or fractional
value is lost.
uint8_tx *r, in32_t
none
Util\math.c
add8_8 (r0, r1)
Adds register r1 to register r0.
uint8_tx *r0,
uint8_tx *r1
none Util\math.c
Apply_Creep_Threshol
d()
Prevents creep.
void
void
Meter\meter.c
batmode_is_brownout
()
Returns true if battery mode is
brownout. False is mission
mode
void bool
Main\batmode.c
batmode_lcd ()
Enters LCD-only mode from
brownout mode. Exit from LCD-
only mode resembles a reset.
void void
Main\batmode.c
batmode_sleep ()
Enters sleep mode from
brownout mode. Exit from sleep
mode resembles a reset.
void void
Main\batmode.c
batmode_wait_minutes
()
Sets the wake timer in minutes.
uint16_t minutes
none
Main\batmode.c
batmode_wait_seconds
()
Sets the wake timer in seconds.
uint16_t seconds
none
Main\batmode.c
cal_begin()
starts auto-calibration process
none
bool
Meter\calphased.c
cal_restore()
Restores calibration from
EEPROM
none bool
Meter\calphased.c
cal_save()
saves calibration data to
EEPROM
none none
Meter\calphased.c
Calc_Voltage_Phase()
Calculates phase angles
between voltages of different
phases.
void void
Meter\vphase.c
Calibration()
processes measurements
during auto-calibration
none none
Meter\calphased.c
ce_active()
returns CE status
none
bool
Meter\io651x.c
ce_enable()
Enables or disables the CE bool
enable
none
Meter\io651x.c
ce_init()
Initializes the CE
none
bool
Meter\ce.c
ce_reset()
resets the CE
none
none
Meter\io651x.c
cli ()
command Line Interpreter
none
none
Cli\cli.c
cli_init()
Initializes the SLI's interface to
any serial port.
enum
SERIAL_PORT
port, enum
SERIAL_SPD
speed, bool
xon_xoff
bool Cli\sercli.c
cli0_init()
Initializes the SLI's interface to
SER0
enum
SERIAL_SPD
speed, bool
xon_xoff
bool Cli\ser0cli.c
cli1_init()
Initializes the SLI's interface to
SER1
enum
SERIAL_SPD
speed, bool
bool Cli\ser1cli.c
v1.1v1.1
TERIDIAN Proprietary
87 of 116
© Copyright 2005-2008 TERIDIAN Semiconductor Corporation