English
Language : 

71M6515H Datasheet, PDF (47/57 Pages) Teridian Semiconductor Corporation – Energy Meter IC
71M6515H
Energy Meter IC
DATA SHEET
MARCH 2008
Example: DIO pins D0 through D3 are to be configured as outputs, while D4 through D7 are to be inputs. DIO7
must generate a DEDGE interrupt when the input value changes, and D0 through D3 must apply the hexadecimal
pattern 0x05. This makes the selection for the D_CONFIG registers as follows:
DIO_INTCTRL = 0x80, D_DIR = 0x0F, DIO_VALUE = 0x05
The values are combined into the 32-bit pattern 0x800F0005.
Example: D0 through D5 are to be configured as outputs, while D6 and D7 are to be inputs. D6 and D7 must
generate a DEDGE interrupt when their input value changes. This makes the selection for the D_CONFIG registers
as follows:
DIO_INTCTRL = 0xC0, D_DIR = 0x3F
The values are combined into the 32-bit pattern 0xC03F0000.
Page: 47 of 57
© 2005-2008 TERIDIAN Semiconductor Corporation
V1.4