beautypg.com

Maxim Integrated 71M6513H Power Meter IC Family Software User Manual

Page 88

background image

71M651x Software User’s Guide

MPU_Clk_Select()

selects MPU clock speed

enum MPU_SPD speed

Bbool

serial.c

multiply()

*w = *x * *y;

U08x *w, U08x *x, U08x *y,
m, n, U08x *x0

none

classics.c

multiply_1()

W = x * y;

U08x *w, U08x *x, y, n

U08

classics.c

multiply_4_1()

(U32) w = (U32) x * (U08) y;

U08x *w, U08x *x, y

U08

classics.c

multiply_4_4()

(U64) w = (U32) x * (U32) y;

U08x *w, U08x *x, U08x *y

none

classics.c

multiply_8_1()

(U64) w = (U64) x * (U08) y;

U08x *w, U08x *x, y

U08

classics.c

multiply_8_4()

(U96) w = (U64) x * (U32) y;

U08x *w, U08x *x, U08x *y

none

classics.c

mux_alt()

forces an alternate MUX sequence

none

none

io651x.c

mux_config()

configures the multiplexer and ADC

enum MUX_STATE states,
enum ADC_SIZE size, enum
CHOP enable, Bbool alt

none

io651x.c

normalize ()

Normalizes dividend and divisor.

U08x *u, U08x *v, m, n,
U08x *v0

U08

classics.c

Pin_Config()

configures the data direction for port
pins

enum USER_PIN pin, enum
DIRECTION dir

none

misc.c

Pin_Read()

reads individual port pin

enum USER_PIN pin

Bbool

misc.c

Pin_to_opto()

enables/disables optical TX pin

Bbool

none

misc.c

Pin_Write()

writes to individual port pin

enum USER_PIN pin, U01
value

none

misc.c

Port_Config()

sets direction (input or output) of pins
on selected port

enum USER_PORT port,
U08 Dir

none

misc.c

Port_Read()

reads data from selected port

enum USER_PORT port,
U08x *UserIO

none

misc.c

Port_Write()

writes data to selected port

enum USER_PORT port,
U08 UserIO, U08 Select

none

misc.c

PowerOFF()

MPU Power Management (idle or halt)

enum MPU_POWER off

none

misc.c

put_char()

puts character into CLI buffer

U08 idata *c

none

io.c

Read_Trim()

reads the trim value for selected trim
word

enum eTRIM select

S08

io651x.c

RTClk_Read()

reads current values of RTC

none

none

rtc.c

RTClk_Reset()

resets the RTC

none

none

rtc.c

RTClk_Write()

writes/sets to RTC

none

none

rtc.c

rtm_enable()

enables/disables real-time data
monitoring

Bbool enable

none

io651x.c

send_a_result()

sends passed result code to UART

U08 c

none

cli.c

send_byte()

sends a [0, 255] byte to DTE.

S08 n

none

io.c

send_char()

sends single character

U08 c

none

io.c

send_crlf()

sends out to UART.

none

none

io.c

send_digit()

sends single ASCII hex or decimal
digit out to SERIAL0

U08 c

none

io.c

send_help()

sends text in code at specified location
to serial port

U08r * code *s

none

cli.c

Revision 2.4

TERIDIAN Proprietary

88 of 137

© Copyright 2005-2006 TERIDIAN Semiconductor Corporation