beautypg.com

Maxim Integrated 71M6534 Energy Meter IC Family Software User Manual

Page 91

background image

71M653X Software User’s Guide

Input

Output

File Name

Function/Routine
Name

Description

instantaneous edge count, or
the cumulative edge count.

initiates soft reset

main_soft_reset()

none

none

main.c

max()

returns maximum of unsigned
int ‘a’ and ‘b’.

uint16_t a, uint16_t
b

uint16_t options_glib.h

memcpy_cei ()

Copies from IDATA to the CE
memory.

Int32x_t *pDst,
int32i_t *pSrc,
uint8_t len

void Meter\ce.c

memcpy_cer ()

Copies from flash to the CE
memory.

Int32x_t *pDst,
int32r_t *pSrc,
uint8_t len

void Meter\ce.c

memcpy_cex ()

Copies from XDATA to the CE
memory.

Int32x_t *pDst,
int32x_t *pSrc,
uint8_t len

void Meter\ce.c

memcpy_ice ()

Copies from the CE memory to
IDATA.

Int32i_t *pDst,
int32x_t *pSrc,
uint8_t len

void Meter\ce.c

memcpy_xce ()

Copies from the CE memory to
XDATA.

Int32x_t *pDst,
int32x_t *pSrc,
uint8_t len

void Meter\ce.c

memget_ce ()

Reads a word of the CE
memory

int32i_t *pDst

int32_t

Meter\ce.c

memset_ce ()

Sets a word of the CE memory

int32i_t *pDst,
int32_t src

void Meter\ce.c

meter_lcd ()

Display the current quantity on
the LCD.

Void void

Meter\meter.c

meter_run ()

Performs meter data
processing.

Void void

Meter\meter.c

memcmp_rx()

compares xdata to flash code

uint8_tr *rsrc,
uint8_tx *xsrc,
uint16_t len

S08 library.c

memcmp_xx()

compares xdata to xdata

uint8_tx *xsrc1,
uint8_tx *xsrc2,
uint16_t len

S08 library.c

memcpy_ix()

copies xdata to idata

uint8_ti *dst,
uint8_tx *src,
uint8_t len

none library.c

memcpy_px()

Copies data to serial EEPROM

U32 Dst, uint8_tx
*pSrc, uint16_t len

enum

IO\eeprom.c,
IO\eepromp.c,
IO\eepromp3.c

memcpy_rce()

reads from or writes to flash

int32_tr *dst,
int32_tx *src,
uint8_t len

none Util\flash.c

memcpy_rx()

Copies xdata to code (flash)

uint8_tr *dst,
uint8_tx *src,
uint16_t len

bool Util\flash.c

memcpy_xi()

Copies idata to xdata

uint8_tx *dst,
uint8_ti *src,
uint8_t len

none library.c

memcpy_xp()

copies data from serial
EEPROM

uint8_tx *pDst, U32
Src, uint16_t len

enum

IO\eeprom.c,
IO\eepromp.c,
IO\eepromp3.c

memcpy_xr()

copies xdata from code (flash) uint8_tx

*dst,

none

library.c

v1.1v1.1

TERIDIAN Proprietary

91 of 116

© Copyright 2005-2008 TERIDIAN Semiconductor Corporation

This manual is related to the following products: