Table 3. power-up configuration, Table 4. configuration register – Rainbow Electronics MAX7315 User Manual
Page 14
MAX7315
8-Port I/O Expander with LED Intensity
Control and Interrupt
14
______________________________________________________________________________________
Table 3. Power-Up Configuration
REGISTER DATA
REGISTER FUNCTION
POWER-UP CONDITION
ADDRESS
CODE
(HEX)
D7
D6
D5
D4
D3
D2
D1
D0
Blink phase 0 outputs P7–P0
High-impedance outputs
0x01
1
1
1
1
1
1
1
1
Ports configuration P7–P0
Ports P7–P0 are inputs
0x03
1
1
1
1
1
1
1
1
Blink phase 1 outputs P7–P0
High-impedance outputs
0x09
1
1
1
1
1
1
1
1
Master, O8 intensity
PWM oscillator is disabled;
O8 is static logic output
0x0E
0
0
0
0
1
1
1
1
Configuration
INT/O8 is interrupt output;
blink is disabled;
global intensity is enabled
0x0F
0
0
0
0
1
1
0
0
Outputs intensity P1, P0
P1, P0 are static logic outputs
0x10
1
1
1
1
1
1
1
1
Outputs Intensity P3, P2
P3, P2 are static logic outputs
0x11
1
1
1
1
1
1
1
1
Outputs intensity P5, P4
P5, P4 are static logic outputs
0x12
1
1
1
1
1
1
1
1
Outputs intensity P7, P6
P7, P6 are static logic outputs
0x13
1
1
1
1
1
1
1
1
Table 4. Configuration Register
REGISTER DATA
REGISTER
ADDRESS
CODE
(HEX)
D7
D6
D5
D4
D3
D2
D1
D0
CONFIGURATION
R/
W
INTERRUPT
STATUS
—
INTERRUPT
OUTPUT
CONTROL
AS GPO
INTERRUPT
ENABLE
GLOBAL
INTENSITY
BLINK FLIP
BLINK
ENABLE
Write device configuration
0
X
Read-back device configuration
1
INT
O
O1
O0
I
G
B
E
Disable blink
—
X
X
X
X
X
X
X
0
Enable blink
—
X
X
X
X
X
X
X
1
—
X
X
X
X
X
X
0
1
Flip blink register (see text)
—
X
X
X
X
X
X
1
1
Disable global intensity control—intensity
is set by registers 0x10–0x13 for ports P0
through P7 when configured as outputs,
and by D3–D7 of register 0x0E for INT/O8
when INT/O8 pin is configured as an
output port
—
X
X
X
X
X
0
X
X
Enable global intensity control—intensity
for all ports configured as outputs is set
by D3–D0 of register 0x0E
—
0x0F
X
X
X
X
X
1
X
X