Maxim Integrated 71M6521BE Energy Meter IC Family Software User Manual
Page 88

71M652X Software User’s Guide
Revision 1.7
TERIDIAN Proprietary
88 of 138
© Copyright 2005-2007 TERIDIAN Semiconductor Corporation
Function/Routine
Name
Description
Input
Output
File Name
memcmp_xx()
compares xdata to xdata
uint8_tx *xsrc1, uint8_tx
*xsrc2, uint16_t len
S08 library.c
memcpy_ix()
copies xdata to idata
uint8_ti *dst, uint8_tx
*src, uint8_t len
none library.c
memcpy_px()
Copies data to serial
EEPROM
U32 Dst, uint8_tx *pSrc,
uint16_t len
enum
eeprom.c,
eepromp.c,
eepromp3.c
memcpy_rce()
reads from or writes to flash
int32_tr *dst, int32_tx
*src, uint8_t len
none flash.c
memcpy_rx()
Copies xdata to code (flash)
uint8_tr *dst, uint8_tx
*src, uint16_t len
bool flash.c
memcpy_xi()
Copies idata to xdata
uint8_tx *dst, uint8_ti
*src, uint8_t len
none library.c
memcpy_xp()
copies data from serial
EEPROM
uint8_tx *pDst, U32 Src,
uint16_t len
enum
eeprom.c,
eepromp.c,
eepromp3.c
memcpy_xr()
copies xdata from code
(flash)
uint8_tx *dst, uint8_tr
*src, uint16_t len
none library.c
memcpy_xx()
copies xdata to xdata
uint8_tx *dst, uint8_tx
*src, uint16_t len
none library.c
memset_x()
sets xdata to specified
value
uint8_tx *dst, uint8_t s,
uint16_t len
none library.c
meter_initialize()
initializes most I/O functions
thaty read line power
none none meter.c
meter_totals ()
Display a selected quantity
on the LCD.
uint8_t select,uint8_t
phase
void meter.c
microseconds2tmr_r
eg()
Converts to timer's count.
number
uint16_t
tmr0.h, tmr1.h
milliseconds()
Converts milliseconds to
clock ticks, usually for a
software timer.
any number
uint16_t
stm.h
milliseconds2tmr_r
eg()
Converts to timer's count.
number
uint16_t
tmr0.h, tmr1.h
min()
returns minimum of
unsigned int 'a' and 'b'.
uint16_t a, uint16_t b
uint16_t
options_glib.h
MPU_Clk_Select()
selects MPU clock speed
enum MPU_SPD speed
bool
serial.c
MPU_Clk_Select()
Describes the clock speed
of the MPU to a serial
interface.
enum SERIAL_PORT
port, enum eMPU_DIV
speed
bool sercli.c3
MPU_Clk_Select0()
Describes the clock speed
of the MPU to the serial
interface.
enum eMPU_DIV speed
bool
ser0cli.c3
MPU_Clk_Select1()
Describes the clock speed
of the MPU to the serial
interface.
enum eMPU_DIV speed
bool
ser1cli.c3