beautypg.com

Maxim Integrated 71M6513H Power Meter IC Family Software User Manual

Page 87

background image

71M651x Software User’s Guide

LCD_CE_Off()

displays "CE OFF" on LCD

none

none

demo.c

LCD_Command()

turns LCD on or off, clears display

U08 LcdCmd

none

lcd.c

LCD_Config()

configures LCD parameters

U01 boost, U08 num, enum
LCD_BIAS bias, enum
LCD_CLK clock, U08 voltage

none

lcd.c

LCD_Data_Read()

reads from selected icon of LCD

U08 Icon

U16

lcd.c

LCD_Data_Write()

writes to selected icon of LCD

U08 icon, U16 Mask

none

lcd.c

LCD_Hello()

displays "HELLO" on LCD

none

none

demo.c

LCD_Init()

clears LCD, enables LCD segment
drivers

none

none

lcd.c

lmax()

returns maximum of unsigned long 'a'
and 'b'.

U32 a, U32 b

U32

library.c

lmin()

returns minimum of unsigned long 'a'
and 'b'.

U32 a, U32 b

U32

library.c

log2()

returns binary logarithm

U16 k

U08

library.c

macn()

*w -= *u * *v;

U08x *w, U08x *u, v, n, U08x
*u0

U08

classics.c

macp()

*w += *u * v;

U08x *w, U08x *u, v, n, U08x
*u0

U08

classics.c

macp4()

(U32) w += (U32) u * (U08) y;

U08x *w, U08x *u, v, U08x
*u0

U08

classics.c

macp8()

(U64) w += (U64) u * (U08) y;

U08x *w, U08x *u, v, U08x
*u0

U08

classics.c

max()

returns maximum of unsigned int 'a'
and 'b'.

U16 a, U16 b

U16

library.c

memcmp_rx()

compares xdata to flash code

U08r *rsrc, U08x *xsrc, U16
len

S08

library.c

memcmp_xx()

compares xdata to xdata

U08x *xsrc1, U08x *xsrc2,
U16 len

S08

library.c

memcpy_ix()

copies xdata to idata

U08i *dst, U08x *src, U08 len

none

library.c

memcpy_px()

Copies data to serial EEPROM

U32 Dst, U08x *pSrc, U16
len

enum

eeprom.c

memcpy_rce()

reads from or writes to flash

S32r *dst, S32x *src, U08
len

none

flash.c

memcpy_rx()

Copies xdata to code (flash)

U08r *dst, U08x *src, U16
len

Bbool

flash.c

memcpy_xi()

Copies idata to xdata

U08x *dst, U08i *src, U08 len

none

library.c

memcpy_xp()

copies data from serial EEPROM

U08x *pDst, U32 Src, U16
len

enum

eeprom.c

memcpy_xr()

copies xdata from code (flash)

U08x *dst, U08r *src, U16
len

none

library.c

memcpy_xx()

copies xdata to xdata

U08x *dst, U08x *src, U16
len

none

library.c

memset_x()

sets xdata to specified value

U08x *dst, U08 s, U16 len

none

library.c

min()

returns minimum of unsigned int 'a'
and 'b'.

U16 a, U16 b

U16

library.c

Revision 2.4

TERIDIAN Proprietary

87 of 137

© Copyright 2005-2006 TERIDIAN Semiconductor Corporation