Alphabetical function reference – Maxim Integrated 71M6513H Power Meter IC Family Software User Manual
Page 84

71M651x Software User’s Guide
5.13.ALPHABETICAL FUNCTION REFERENCE
Function/Routine
Name
Description
Input
Output
File Name
abs_x()
x = abs(x0); Take absolute value of n-
byte 'x0'.
U08x *x, U08x *x0, n
none
classics.c
add()
*x += y; where 'x' & 'y' are 'n' bytes
wide.
U08x *x, U08x *y, n
U08
classics.c
add_1()
*x += y; where 'x' is 'n' bytes wide, 'y' is
single byte.
U08x *x, y, n
U08
classics.c
add8_4()
(U64) x += (U32) y;
U08x *x, U08x *y
none
classics.c
add8_8 ()
(U64) x += (U64) y;
U08x *x, U08x *y
none
classics.c
add8_8()
adds two unsigned 8-byte numbers
U08x *x, U08x *y
none
ce.c
API_Init()
Initializes most I/O functions that
control the hardware
none
none
misc.c
Assign_Resource()
assigns the selected DIO to the
selected internal resource
enum USER_PIN pin, enum
IRESOURCE resource
none
misc.c
background()
executes background processing
none
none
demo.c
cal_begin()
starts auto-calibration process
none
Bbool
cal.c
cal_restore()
Restores calibration from EEPROM
none
Bbool
cal.c
cal_save()
saves calibration data to EEPROM
none
none
cal.c
calibrate()
processes measurements during auto-
calibration
none
none
cal.c
ce_active()
returns CE status
none
Bbool
io651x.c
ce_config()
configures the compute engine with
power equation, PRE_SAMPS and
SUM_CYCLES
enum PWR_EQUATION
equation, enum PRE_SAMP
samples, U08 sum_cycles
none
io651x.c
ce_enable()
Enables or disables the CE
Bbool enable
none
io651x.c
ce_init()
copies CE code and data from flash to
CE DRAM and CE PRAM
none
Bbool
ce651x.c
ce_outputs_rdy()
gets a snapshot of the CE status
none
Bbool
ce.c
ce_reset()
resets the CE
none
none
io651x.c
ce_totals_rdy()
gets a snapshot of the CE totals
none
Bbool
ce.c
ce_update()
performs the calculations for data just
imported from the CE to the MPU
none
Bbool
ce.c
cli ()
command Line Interpreter
none
none
cli.c
cmax()
returns maximum of unsigned char 'a'
and 'b'.
U08 a, U08 b
U08
library.c
cmd_ce ()
processes C commands
none
none
cmd_ce.c
cmd_ce_data_access()
Processes context for CE DATA
none
none
access.c
cmd_download()
downloads/uploads code/data between
various sources and serial port
none
none
load.c
cmd_eeprom()
processes EEPROM commands
none
none
cmd_misc.c
cmd_error()
assigns generic command mode error
result code
none
none
cli.c
cmd_lcd()
processes "D" commands
none
none
display.c
Revision 2.4
TERIDIAN Proprietary
84 of 137
© Copyright 2005-2006 TERIDIAN Semiconductor Corporation