Maxim Integrated 71M6534 Energy Meter IC Family Software User Manual

Page 96

Advertising
background image

71M653X Software User’s Guide

Function/Routine
Name

Description

Input

Output

File Name

received

Serial0_CTx()

Transmit a string up to a
maximum length.

Uint8x_t *buffer,
uint16_t len

uint16_t
length-sent

Cli\ser0cli.c

Serial0_Rx()

Receive a string of any length.

Uint8x_t *buffer,
uint16_t len

none Cli\ser0cli.c

Serial0_RxFlowOff()

Force an XOFF to be sent on
this port.

None none

Cli\ser0cli.c

Serial0_RxFlowOn()

Force an XON to be sent on this
port.

None none

Cli\ser0cli.c

Serial0_Tx()

Transmit a string of any length.

Uint8x_t *buffer,
uint16_t len

none Cli\ser0cli.c

Serial1_CRx()

Receive a string up to a
maximum length.

Uint8x_t *buffer,
uint16_t len

uint16_t
length-
received

Cli\ser1cli.c

Serial1_CTx()

Transmit a string up to a
maximum length.

Uint8x_t *buffer,
uint16_t len

uint16_t
length-sent

Cli\ser1cli.c

Serial1_Rx()

Receive a string of any length.

Uint8x_t *buffer,
uint16_t len

none Cli\ser1cli.c

Serial1_RxFlowOff()

Force an XOFF to be sent on
this port.

None none

Cli\ser1cli.c

Serial1_RxFlowOn()

Force an XON to be sent on this
port.

None none

Cli\ser1cli.c

Serial1_Tx()

Transmit a string of any length.

Uint8x_t *buffer,
uint16_t len

none Cli\ser1cli.c

SFR_Read()

reads from SFR

uint8_t s, S08d *pc

enum
SFR_RC

Util\sfrs.c

SFR_Write()

writes to SFR

uint8_t s, uint8_t
c_set, uint8_t c_clr

enum
SFR_RC

Util\sfrs.c

start_tx_ram()

sends RAM string out PC UART uint8_tx

*c

none

cli\io.c

start_tx_rslt()

sends ROM string out PC UART uint8_tr

*c

none

cli\io.c

stm_run()

This counts down the software
timers when called from the
main loop.

Void void

Util\stm.c

stm_start()

Starts a software timer. If
restart is zero, the timer stops,
otherwise it continues
indefinitely. When a timer
expires, its function is run.
Timers count down and are
deallocated if they cease to run.

Uint16_t
tick_count, uint8_t
restart, void (code
*fn_ptr) (void)

volatile
uint16x_t
*cnt_ptr

Util\stm.c

stm_stop()

Uses a count pointer from start
to identify which software timer
to stop.

Volatile uint16x_t
*cnt_ptr

void Util\stm.c

stm_wait()

Waits for the passed number of
clock ticks.

Uint16_t void Util\stm.c

strlen_r ()

returns length of string in flash
code

uint8_tr *src

uint16_t

Util\library.c

strlen_x()

returns length of string in xdata

uint8_tx *src

uint16_t

Util\library.c

sub8_4(r, wh_ce)

register r -= CE units

uint8_tx *r, long
wh_ce

none Util\math.c

sub8_8(r0, r1)

register r0 -= register r1

uint8_tx *x, uint8_tx

none

Util\math.c

v1.1v1.1

TERIDIAN Proprietary

96 of 116

© Copyright 2005-2008 TERIDIAN Semiconductor Corporation

Advertising
This manual is related to the following products: