![Seiko Epson S1C17153 Скачать руководство пользователя страница 71](http://html1.mh-extra.com/html/seiko-epson/s1c17153/s1c17153_technical-manual_1235939071.webp)
9 i/O PORTS (P)
S1C17153 TeChniCal Manual
Seiko epson Corporation
9-11
(Rev. 1.0)
P0[7:4] Port Function Select Register (P04_07PMuX)
Register name address
Bit
name
Function
Setting
init. R/W
Remarks
P0[7:4] Port
Function Select
Register
(P04_07PMuX)
0x52a1
(8 bits)
D7–6
P07MuX[1:0]
P07 port function select
P07MUX[1:0]
Function
0x0 R/W
0x3
0x2
0x1
0x0
reserved
SDO0
#BZ
P07
D5–4
P06MuX[1:0]
P06 port function select
P06MUX[1:0]
Function
0x0 R/W
0x3
0x2
0x1
0x0
reserved
SDI0
BZ
P06
D3–2
P05MuX[1:0]
P05 port function select
P05MUX[1:0]
Function
0x0 R/W
0x3
0x2
0x1
0x0
reserved
#SPISS0
TOUTB0/CAPB0
P05
D1–0
P04MuX[1:0]
P04 port function select
P04MUX[1:0]
Function
0x0 R/W
0x3
0x2
0x1
0x0
reserved
reserved
TOUTA0/CAPA0
P04
The P04 to P07 port pins are shared with the peripheral module pins. This register is used to select how the pins are
used.
D[7:6]
P07MuX[1:0]: P07 Port Function Select Bits
0x3 (R/W): Reserved
0x2 (R/W): SDO0 (SPI Ch.0)
0x1 (R/W): #BZ (SND)
0x0 (R/W): P07 port (default)
D[5:4]
P06MuX[1:0]: P06 Port Function Select Bits
0x3 (R/W): Reserved
0x2 (R/W): SDI0 (SPI Ch.0)
0x1 (R/W): BZ (SND)
0x0 (R/W): P06 port (default)
D[3:2]
P05MuX[1:0]: P05 Port Function Select Bits
0x3 (R/W): Reserved
0x2 (R/W): #SPISS0 (SPI Ch.0)
0x1 (R/W): TOUTB0 (T16A2 Ch.0 comparator mode) or CAPB0 (T16A2 Ch.0 capture mode)
0x0 (R/W): P05 port (default)
D[1:0]
P04MuX[1:0]: P04 Port Function Select Bits
0x3 (R/W): Reserved
0x2 (R/W): Reserved
0x1 (R/W): TOUTA0 (T16A2 Ch.0 comparator mode) or CAPA0 (T16A2 Ch.0 capture mode)
0x0 (R/W): P04 port (default)