Maxim Integrated 71M6513H Power Meter IC Family Software User Manual
Page 85

71M651x Software User’s Guide
cmd_load()
implements user dialog for data/code
download/upload
none
none
load.c
cmd_meter()
processes "M" commands
none
none
display.c
cmd_mpu_data_access()
processes context for MPU DATA
none
none
access.c
cmd_power_save()
processes power save command
none
none
cmd_misc.c
cmd_rtc()
processes RTC commands
none
none
cmd_misc.c
cmd_trim()
processes trim commands
none
none
cmd_misc.c
cmin()
returns minimum of unsigned char 'a'
and 'b'.
U08 a, U08 b
U08
library.c
compare_falling_isr()
discovers falling edges on port bits
none
none
io651x.c
compare_int_enable()
enables interrupts from the analog
comparators
enum COMPARE comp_int
none
io651x.c
compare_rising_isr()
discovers rising edges on port bits
none
none
io651x.c
compare_status()
gets the status of the comparator
inputs
none
U08
io651x.c
complement_x()
x = x0 ^ 1s; takes ones-complement of
n-byte 'x0'.
U08x *x, U08x *x0, n
none
classics.c
count_pulses()
adds the incremental pulse counts
taken by the DIO ISRs to the absolute
pulse counters (revision 3.05 only)
none
none
ce.c
CRC_Calc()
calculates standard 16-bit CRC poly-
nomial per ISO/IEC 3309 on flash
memory (x
16
+x
12
+x
5
+1)
U08r *ptr, U16 len, U01 set
Bbool
flash.c
CRC_Calc_NVR()
calculates the 16-bit CRC polynomial
per ISO/IEC 3309 on NVRAM
U08x *ptr, U16 len, U01 set
Bbool
library.c
ctoh()
converts ascii hex character to
hexadecimal digit
U08 c
U08
load.c
divide()
*u /= *v;
U08x *u, U08x *v, m, n,
U08x *v0
U08
classics.c
divide_ ()
*u /= *v;
U08x *u, U08x *v, m, n,
U08x *v0
none
classics.c
divide_1()
*x /= y;
U08x *x, y, n
none
classics.c
done()
exits control
U08d *c
*c
cli.c
EEProm_Config()
connects/disconnects DIO4/5 for I2C
interface to serial EEPROM
Bbool access, U16
page_size, U08 tWr
none
eeprom.c
EEProm_Config()
connects/disconnects DIO4/5 for I2C
interface to serial EEPROM
Bbool access, U16 pg_size,
U08 tWr
none
eepromp.c
es0_isr ()
serial port 0 service routine
none
none
serial.c
es1_isr()
serial port 1 service routine
none
none
serial.c
Events_Clear()
clears the specified event
U16 events
none
events.c
Events_Init()
initializes events
none
none
events.c
Ext_Int_Config()
configures the 8 external interrupts.
Selects trigger type and polarity.
U08 Select, U08 Enable,
U08 EdgeRising
none
misc.c
Ext_Int_Priority()
sets priority of all 7 external interrupts
to one of four values
U16 Select, U16 Priority
none
misc.c
Ext_Int_Read()
returns the value and enable status of
the 7 external interrupts
U08x *pExtIntValue, U08x
*pExtInt
none
misc.c
Revision 2.4
TERIDIAN Proprietary
85 of 137
© Copyright 2005-2006 TERIDIAN Semiconductor Corporation