Maxim Integrated 71M6534 Energy Meter IC Family Software User Manual
Page 89
71M653X Software User’s Guide
Function/Routine
Name
Description
Input
Output
File Name
done()
exits control
uint8_td *c
*c
Cli\cli.c
EEProm_Config()
connects/disconnects DIO4/5
for I2C interface to serial
EEPROM
bool access,
uint16_t page_size,
uint8_t tWr
none
IO\eeprom.c,
IO\eepromp3.c
es0_isr ()
serial port 0 service routine
none
none
IO\ser0.c
es1_isr()
serial port 1 service routine
none
none
IO\ser1.c
frequency_lcd ()
Displays the frequency on the
LCD.
void void
Meter\freq.c
get_ce_constants()
Copies CE configuration
constants to a data structure so
they can be viewed in the
emulator.
void void
Meter\ce.c
get_char()
gets next character from CLI
buffer
none uint8_t
cli\io.c
get_char_d()
gets next character from CLI
buffer
uint8_t idata *d
uint8_t
cli\io.c
get_digit()
gets next decimal (or hex) digit
from CLI buffer
uint8_t idata *d
uint8_t
cli\io.c
get_long()
converts ascii decimal (or hex)
long to binary number
none int32_t
cli\io.c
get_long_decimal()
converts ascii decimal long to
binary number.
uint8_t c
int32_t
cli\io.c
get_long_hex()
converts ASCII hexadecimal
number to binary number
none U32
cli\io.c
get_num()
converts ascii decimal (or hex)
number to binary number
none S08
cli\io.c
get_num_decimal()
converts ascii decimal number
to binary number
none S08
cli\io.c
get_num_hex()
converts ascii hexdecimal byte
to binary number
none uint8_t
cli\io.c
get_short()
converts ascii decimal (or hex)
short to binary number
none int16_t
cli\io.c
get_short_decimal()
converts ascii decimal short to
binary number
none int16_t
cli\io.c
get_short_hex()
converts ascii hexdecimal short
to binary number
none uint16_t
cli\io.c
htoc()
converts hexadecimal digit to
ascii hex character
uint8_t c
uint8_t
Cli\load.c
IICGetBit()
gets a bit, used to reset some
parts
none uint8_t
io\iiceep.c
IICInit()
initializes DIO4/5 as EEPROM
interface
none none
io\iiceep.c
IICStart()
IIC bus's start condition
none
none
io\iiceep.c
IICStop()
IIC bus's stop condition
none
none
io\iiceep.c
init_meter()
Initializes meter to default
values
none none
defaults.c
IRQ_DEFINES
Defines variables used by
macros to enable and disable
interrupts.
n/a n/a
util\irq.h
v1.1v1.1
TERIDIAN Proprietary
89 of 116
© Copyright 2005-2008 TERIDIAN Semiconductor Corporation