MAX7314 Maxim, MAX7314 Datasheet - Page 12

no-image

MAX7314

Manufacturer Part Number
MAX7314
Description
The MAX7314 I²C-compatible serial interfaced peripheral provides microprocessors with 16 I/O ports plus one output-only port and one input-only port
Manufacturer
Maxim
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MAX7314ATG
Manufacturer:
NEC
Quantity:
30 000
Part Number:
MAX7314ATG+
Manufacturer:
Maxim
Quantity:
292
Company:
Part Number:
MAX7314ATG+
Quantity:
130
Part Number:
MAX7314ATG+T
Manufacturer:
MAXIM
Quantity:
1 149
Part Number:
MAX7314ATG+T
Manufacturer:
MAXIM/美信
Quantity:
20 000
All ports configured as inputs are always monitored for
changes in their logic status. The action of reading an
input ports register or writing to the configuration regis-
ter samples the corresponding 8 port bits’ input condi-
tion (Tables 4, 6). This sample is continuously
compared with the actual input conditions. A detected
change in input condition causes an interrupt condition.
The interrupt is cleared either automatically if the
changed input returns to its original state, or when the
appropriate input ports register is read, updating the
compared data (Figure 10). Randomly changing a port
from an output to an input may cause a false interrupt
to occur if the state of the input does not match the
content of the appropriate input ports register. The
interrupt status is available as the interrupt flag INT in
the configuration register (Table 4).
The input status of all ports is sampled immediately
after power-up as part of the MAX7314’s internal initial-
ization, so if all the ports are pulled to valid logic levels
at that time, an interrupt does not occur at power-up.
18-Port GPIO with LED Intensity Control,
Interrupt, and Hot-Insertion Protection
Table 3. Power-Up Configuration
12
Blink phase 0 outputs P15–P8
Blink phase 1 outputs P15–P8
Blink phase 0 outputs P7–P0
Blink phase 1 outputs P7–P0
Ports configuration P15–P8
Outputs intensity P11, P10
Outputs intensity P13, P12
Outputs intensity P15, P14
Ports configuration P7–P0
Outputs Intensity P3, P2
REGISTER FUNCTION
Outputs intensity P1, P0
Outputs intensity P5, P4
Outputs intensity P7, P6
Outputs intensity P9, P8
______________________________________________________________________________________
Master, O16 intensity
Configuration
P11, P10 are static logic outputs
P13, P12 are static logic outputs
P15, P14 are static logic outputs
P1, P0 are static logic outputs
P3, P2 are static logic outputs
P5, P4 are static logic outputs
P7, P6 are static logic outputs
P9, P8 are static logic outputs
INT/O16 is interrupt output;
PWM oscillator is disabled;
global intensity is enabled
POWER-UP CONDITION
High-impedance outputs
High-impedance outputs
High-impedance outputs
High-impedance outputs
O16 is static logic output
Transition Detection
Ports P15–P8 are inputs
Ports P7–P0 are inputs
blink is disabled;
The INT/O16 output pin can be configured as either the
INT output that reflects the interrupt flag logic state or as
a general-purpose output O16. When used as a general-
purpose output, the INT/O16 pin has the same blink and
PWM intensity control capabilities as the other ports.
Set the interrupt enable I bit in the configuration register
to configure INT/O16 as the INT output (Table 4). Clear
interrupt enable to configure INT/O16 as the O16. The
O16 logic state is set by the 2 bits O1 and O0 in the
configuration register. O16 follows the rules for blinking
selected by the blink enable flag E in the configuration
register. If blinking is disabled, then interrupt output
control O0 alone sets the logic state of the INT/O16 pin.
If blinking is enabled, then both interrupt output con-
trols O0 and O1 set the logic state of the INT/O16 pin
according to the blink phase. PWM intensity control for
O16 is set by the 4 global intensity bits in the master
and O16 intensity register (Table 13).
ADDRESS
CODE
(hex)
0x02
0x03
0x06
0x07
0x0A
0x0B
0x0E
0x0F
0x10
0x11
0x12
0x13
0x14
0x15
0x16
0x17
D7
1
1
1
1
1
1
0
0
1
1
1
1
1
1
1
1
D6
1
1
1
1
1
1
0
0
1
1
1
1
1
1
1
1
D5
1
1
1
1
1
1
0
0
1
1
1
1
1
1
1
1
REGISTER DATA
D4
1
1
1
1
1
1
0
0
1
1
1
1
1
1
1
1
D3
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
INT /O16 Output
D2
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
D1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
D0
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1

Related parts for MAX7314