beautypg.com

Maxim Integrated 71M6521BE Energy Meter IC Family Software User Manual

Page 85

background image

71M652X Software User’s Guide

Revision 1.7

TERIDIAN Proprietary

85 of 138

© Copyright 2005-2007 TERIDIAN Semiconductor Corporation

Function/Routine
Name

Description

Input

Output

File Name

flag1_out()

Output interrupt for FLAG
AMR module on SER1

none none flag1.c

flag1_run()

Run main loop logic for
FLAG AMR module on
SER1

none none flag1.c

frequency_lcd ()

Displays the frequency on
the LCD.

void void freq.c

get_ce_constants()

Copies CE configuration
constants to a data
structure so they can be
viewed in the emulator.

void void ce.c

get_char()

gets next character from
CLI buffer

none uint8_t

io.c

get_char_d()

gets next character from
CLI buffer

uint8_t idata *d

uint8_t

io.c

get_digit()

gets next decimal (or hex)
digit from CLI buffer

uint8_t idata *d

uint8_t

io.c

get_long()

converts ascii decimal (or
hex) long to binary number

none int32_t

io.c

get_long_decimal()

converts ascii decimal long
to binary number.

uint8_t c

int32_t

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 uint8_t

io.c

get_short()

converts ascii decimal (or
hex) short to binary number

none int16_t

io.c

get_short_decimal(
)

converts ascii decimal short
to binary number

none int16_t

io.c

get_short_hex()

converts ascii hexdecimal
short to binary number

none uint16_t

io.c

htoc()

converts hexadecimal digit
to ascii hex character

uint8_t c

uint8_t

load.c

IICGetBit()

gets a bit, used to reset
some parts

none bit

iiceep.c

IICInit()

initializes DIO4/5 as
EEPROM interface

none none iiceep.c