|
S-7760A Datasheet, PDF (12/53 Pages) Seiko Instruments Inc – PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) | |||
|
◁ |
PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT)
S-7760A
Rev.1.3_00
 Configuration of Command
Table 12 List of Command
Command
Data
C3 C2 C1 C0 R / W
B7 B6 B5 B4 B3 B2 B1 B0
Reload
0 0 0 0 R / W *1
ï¼
Switching access to register/E2PROM 0 0 0 1 ï¼*2
ï¼
Timer enable register
Do not use (Do not access)
00 1 0
W
ï¼ ï¼ ï¼ ï¼ TEN3 TEN2 TEN1 TEN0
00 1 1
ï¼
ï¼
Do not use (Do not access)
01 0 0
ï¼
ï¼
Control port
Setting for timer scale
Do not use (Do not access)
0 1 0 1 R / W *3 CTR7 CTR6 CTR5 CTR4 CTR3 CTR2 CTR1 CTR0
0 1 1 0 R / W *3 TS7 TS6 TS5 TS4 TS3 TS2 TS1 TS0
01 1 1
ï¼
ï¼
Timer setting for DO0
Timer setting for DO1
Timer setting for DO2
Timer setting for DO3
Do not use (Do not access)
1 0 0 0 R / W *3 8ÃT 7ÃT 6ÃT 5ÃT 4ÃT 3ÃT 2ÃT 1ÃT
1 0 0 1 R / W *3 8ÃT 7ÃT 6ÃT 5ÃT 4ÃT 3ÃT 2ÃT 1ÃT
1 0 1 0 R / W *3 8ÃT 7ÃT 6ÃT 5ÃT 4ÃT 3ÃT 2ÃT 1ÃT
1 0 1 1 R / W *3 8ÃT 7ÃT 6ÃT 5ÃT 4ÃT 3ÃT 2ÃT 1ÃT
11 0 0
ï¼
ï¼
Do not use (Do not access)
11 0 1
ï¼
ï¼
Do not use (Do not access)
11 1 0
ï¼
ï¼
Do not use (Do not access)
11 1 1
ï¼
ï¼
*1. R / W = 1/0 Both execute âreloadâ.
*2. It is register access mode when R / W = 0, E2PROM access mode when R / W = 1.
*3. By Switching access to register/E2PROM, users can select either register or E2PROM when Read/Write. Refer to âÂ
Register and E2PROMâ.
 Register and E2PROM
This IC has an E2PROM. Data in the E2PROM is maintained despite power-off. The S-7760A has a register which
corresponds to the data in the E2PROM, the S-7760A sends data to this corresponding register during power-on
(releasing detection of the low voltage) and inputting the reload command. In case of selecting the RESX pin by option,
the S-7760A reloads after releasing reset. The following registers are the ones to be reloaded;
ã»Control port register (1-byte)
ã»Timer scale setting register (1-byte)
ã»DO3 to 0 Timer setting register (1-byte in each port, total 4 bytes)
Users are able to switch access between corresponding register and E2PROM by âSwitching access to register/E2PROMâ
command. Immediately after power-on, the S-7760A is in âregister access modeâ. In this register access mode, only the
register is rewritten, the E2PROM maintains the prior data. But in âE2PROM access modeâ, both data in the register and
the E2PROM is rewritten. In data Read, access mode data which is being selected by user; is read.
12
Seiko Instruments Inc.
|
▷ |