Rev. 2.0, 11/00, page 620 of 1037
Bit 1: H.Amp SW Pin Switching Bit (H.Amp.SW)
Selects whether the H.Amp SW/PS1 pin is used as the H.Amp SW output pin or PS1 (general-
purpose I/O pin).
Bit 1
H.Amp.SW
Description
0
H.Amp SW/PS1 pin functions as H.Amp SW output pin
(Initial value)
1
H.Amp SW/PS1 pin functions as PS1 I/O pin
Bit 0: C.Rotary Pin Switching Bit (C.Rot)
Selects whether the C.Rotary/PS0 pin is used as the C.Rotary output pin or PS0 (general-purpose
I/O pin).
Bit 0
C.Rot
Description
0
C.Rotary/PS0 pin functions as C.Rotary output pin
(Initial value)
1
C.Rotary/PS0 pin functions as PS0 I/O pin
(2) Servo Control Register (SPCR)
0
0
1
0
W
2
0
W
3
0
4
0
W
5
6
7
—
—
—
—
—
—
SPCR4
SPCR3
SPCR2
SPCR1
SPCR0
W
W
1
1
1
Bit :
Initial value :
R/W :
Controls input and output of each pin (PS4 to PS0) for each bit when the servo port/general-
purpose port dual-purpose pin is used as the general-purpose port. If SPCR is set to 1, the
corresponding PS4 to PS0 pins function as output pins; if cleared to 0, they function as input
pins. Settings of SPCR and SPDR are valid if the corresponding pins are set to general-purpose
I/O by SPMR.
SPCR is an 8-bit write-only register. If read is attempted, an undetermined value is read out.
Bits 7 to 5 are reserved bits. Writes are disabled.
SPCR is initialized to H'E0 by a reset or stand-by.
Bit n
SPCRn
Description
0
PSn pin functions as input
(Initial value)
1
PSn pin functions as output
Summary of Contents for Hitachi H8S/2191
Page 123: ...Rev 2 0 11 00 page 96 of 1037...
Page 149: ...Rev 2 0 11 00 page 122 of 1037...
Page 197: ...Rev 2 0 11 00 page 170 of 1037...
Page 247: ...Rev 2 0 11 00 page 220 of 1037...
Page 249: ...Rev 2 0 11 00 page 222 of 1037...
Page 347: ...Rev 2 0 11 00 page 320 of 1037...
Page 357: ...Rev 2 0 11 00 page 330 of 1037...
Page 417: ...Rev 2 0 11 00 page 390 of 1037...
Page 431: ...Rev 2 0 11 00 page 404 of 1037...
Page 439: ...Rev 2 0 11 00 page 412 of 1037...
Page 457: ...Rev 2 0 11 00 page 430 of 1037...
Page 525: ...Rev 2 0 11 00 page 498 of 1037...
Page 543: ...Rev 2 0 11 00 page 516 of 1037...
Page 845: ...Rev 2 0 11 00 page 818 of 1037...