Maxim Integrated 71M6521BE Energy Meter IC Family Software User Manual
Page 86

71M652X Software User’s Guide
Revision 1.7
TERIDIAN Proprietary
86 of 138
© Copyright 2005-2007 TERIDIAN Semiconductor Corporation
Function/Routine
Name
Description
Input
Output
File Name
IICStart()
IIC bus's start condition
none
none
iiceep.c
IICStop()
IIC bus's stop condition
none
none
iiceep.c
init_meter()
Initializes meter to default
values
none none defaults.c
IRQ_DEFINES
Defines variables used by
macros to enable and
disable interrupts.
n/a n/a irq.h
irq_disable()
Disables interrupts.
void
void
irq.c
IRQ_DISABLE()
The fastest way to disable
interrupts. Requires
IRQ_DEFINES to be earlier
in the code, or that the
needed symbols be defined.
n/a n/a irq.h
irq_enable()
Enables interrupts
void
void
irq.c
IRQ_ENABLE()
The fastest way to enable
interrupts. Requires
IRQ_DEFINES to be earlier
in the code, or that the
needed symbols be defined.
n/a n/a irq.h
irq_init()
Initializes interrupt control.
void
void
irq.c
labs()
returns the absolute value
int32_t x
S332
math.c
latan2()
returns the arcTangent
int32_t sy, int32_t sx
U32
math.c
LCD_CE_Off()
displays "CE OFF" on LCD
none
none
lcd.c
LCD_Command()
turns LCD on or off, clears
display
uint8_t LcdCmd
none
lcd.c
LCD_Config()
configures LCD parameters
uint8_t num, enum
eLCD_mode bias, enum
LCD_CLK clock
none lcd.c
LCD_Data_Read()
reads from selected icon of
LCD
uint8_t Icon
uint16_t
lcd.c
LCD_Data_Write()
writes to selected icon of
LCD
uint8_t icon, uint16_t
Mask
none lcd.c
LCD_Hello()
displays "HELLO" on LCD
none
none
lcd.c
LCD_Init()
clears LCD, enables LCD
segment drivers
none none lcd.c
LCD_Mode
Display a mode number.
uint8_t mode
none
lcd.c