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

71M652X Software User’s Guide
Revision 1.7
TERIDIAN Proprietary
91 of 138
© Copyright 2005-2007 TERIDIAN Semiconductor Corporation
Function/Routine
Name
Description
Input
Output
File Name
send_help()
sends text in code at
specified location to serial
port
uint8_tr * code *s
none
cli.c
send_hex()
sends byte out SERIAL0 in
HEX
uint8_t n
none
io.c
send_long()
sends a [0, 9,999,999,999]
value to DTE.
int32_t n
none
io.c
send_long_hex()
sends a [0, FFFFFFFF]
value to DTE
U32 n
none
io.c
send_num()
sends a [0, 9,999,999,999]
value to DTE
int32_t n, uint8_t size
none
io.c
send_result()
looks up result code, primes
pump for result codes
none none cli.c
send_rtc()
displays RTC data
none
none
cmd_misc.c
send_short()
sends a [0, 99,999] value to
DTE.
int16_t n
none
io.c
send_short_hex()
sends a [0, FFFF] value to
DTE
uint16_t n
none
io.c
ser_disable_rcv_rd
y()
Disable the receive
interrupt.
void void ser0.h,
ser1.h
ser_disable_xmit_r
dy()
Disable the transmit
interrupt.
void void ser0.h,
ser1.h
ser_enable_rcv_rdy
()
Enable the receive interrupt. void
void
ser0.h, ser1.h
ser_enable_xmit_rd
y()
Enable the transmit
interrupt.
void void ser0.h,
ser1.h
Ser_initialize()
configures the serial port
specified in the include file
ser0.h or ser1.h
enum baud
none
ser0.h, ser1.h
ser_rcv ()
Get a byte from the serial
port.
void uint8_t
ser0.h,
ser1.h
ser_rcv_err()
Returns true if the last
received byte had an error.
void bool ser0.h,
ser1.h
ser_rcv_rdy()
Returns true if the serial
port has gotten another
byte.
void bool ser0.h,
ser1.h
ser_xmit ()
Send a byte to the serial
port.
uint8_t void
ser0.h,
ser1.h
ser_xmit_err()
Returns true if the last sent
byte had an error.
void bool ser0.h,
ser1.h
ser_xmit_free ()
Unimplemented routine to
permit other uses of
transmit electronics.
void void ser0.h,
ser1.h
ser_xmit_off ()
Unimplemented routine to
disable transmit electronics.
void void ser0.h,
ser1.h
ser_xmit_on ()
Unimplemented routine to
enable transmit electronics.
void void ser0.h,
ser1.h