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

71M651x Software User’s Guide
free ()
returns number of available buffer
bytes
U08x *head, U08x *tail, U16
size
U16
serial.c
get_char()
gets next character from CLI buffer
none
U08
io.c
get_char_d()
gets next character from CLI buffer
U08 idata *d
U08
io.c
get_digit()
gets next decimal (or hex) digit from
CLI buffer
U08 idata *d
U08
io.c
Get_Event_Vector()
returns vector for specified event
enum EVENT_ID event
EventVectors
[event]
events.c
get_long()
converts ascii decimal (or hex) long to
binary number
none
S32
io.c
get_long_decimal()
converts ascii decimal long to binary
number.
U08 c
S32
io.c
get_long_hex()
converts ASCII hexadecimal number
to binary number
none
U32
io.c
get_num()
converts ascii decimal (or hex) number
to binary number
none
S08
io.c
get_num_decimal()
converts ascii decimal number to
binary number
none
S08
io.c
get_num_hex()
converts ascii hexdecimal byte to
binary number
none
U08
io.c
get_short()
converts ascii decimal (or hex) short to
binary number
none
S16
io.c
get_short_decimal()
converts ascii decimal short to binary
number
none
S16
io.c
get_short_hex()
converts ascii hexdecimal short to
binary number
none
U16
io.c
htoc()
converts hexadecimal digit to ascii hex
character
U08 c
U08
load.c
IICGetBit()
gets a bit, used to reset some parts
none
bit
iicdio.c
IICGetBit()
gets a bit, used to reset some parts
none
bit
iiceep.c
IICInit()
initializes DIO4/5 as EEPROM
interface
none
none
iicdio.c
IICInit()
initializes DIO4/5 as EEPROM
interface
none
none
iiceep.c
IICRead()
receive a counted string of bytes from
an IIC bus
unsigned char xdata *pchIn,
unsigned short cnt
none
iicdio.c
IICStart()
IIC bus's start condition
none
none
iicdio.c
IICStart()
IIC bus's start condition
none
none
iiceep.c
IICStop()
IIC bus's stop condition
none
none
iicdio.c
IICStop()
IIC bus's stop condition
none
none
iiceep.c
IICWrite()
transmits a counted string of bytes to
an IIC bus
unsigned char xdata
*pchOut, unsigned short cnt
bit
iicdio.c
init_meter()
Initializes meter to default values
none
none
defaults.c
labs()
returns the absolute value
S32 x
S332
library.c
latan2()
returns the arcTangent
S32 sy, S32 sx
U32
library.c
Revision 2.4
TERIDIAN Proprietary
86 of 137
© Copyright 2005-2006 TERIDIAN Semiconductor Corporation