Serial Port Register (Scsptr1) - Hitachi SH7751 Hardware Manual

Superh risc engine
Table of Contents

Advertisement

Bit:
15
PTIREN15 PTIREN14 PTIREN13 PTIREN12 PTIREN11 PTIREN10 PTIREN9 PTIREN8
Initial value:
0
R/W:
R/W
Bit:
7
PTIREN7 PTIREN6 PTIREN5 PTIREN4 PTIREN3 PTIREN2 PTIREN1 PTIREN0
Initial value:
0
R/W:
R/W
Bit n (n = 0–15)—Port Interrupt Enable (PTIRENn): Specifies whether interrupt input is
performed for each bit.
Bit n: PTIRENn
0
1
Note: * When using an interrupt, set the corresponding port to input in the PCTRA register before
making the PTIRENn setting.
18.2.6

Serial Port Register (SCSPTR1)

Bit:
7
EIO
Initial value:
0
R/W:
R/W
The serial port register (SCSPTR1) is an 8-bit readable/writable register that controls input/output
and data for the port pins multiplexed with the serial communication interface (SCI) pins. Input
data can be read from the RxD pin, output data written to the TxD pin, and breaks in serial
transmission/reception controlled, by means of bits 1 and 0. SCK pin data reading and output data
writing can be performed by means of bits 3 and 2. Bit 7 controls enabling and disabling of the
RXI interrupt.
SCSPTR1 can be read or written to by the CPU at all times. All SCSPTR1 bits except bits 2 and 0
are initialized to 0 by a power-on reset or manual reset; the value of bits 2 and 0 is undefined.
SCSPTR1 is not initialized in the module standby state or standby mode.
Bit 7—Error Interrupt Only (EIO): See section 15.2.8, Serial Port Register (SCSPTR1).
Bits 6 to 4—Reserved: These bits are always read as 0, and should only be written with 0.
14
13
0
0
R/W
R/W
6
5
0
0
R/W
R/W
Description
Port m (m = 0–15) of 16-bit port A is used as a normal I/O port
Port m (m = 0–15) of 16-bit port A is used as a GPIO interrupt*
6
5
0
0
12
11
0
0
R/W
R/W
4
3
0
0
R/W
R/W
4
3
SPB1IO SPB1DT SPB0IO SPB0DT
0
0
R/W
Rev. 3.0, 04/02, page 723 of 1064
10
9
0
0
R/W
R/W
R/W
2
1
0
0
R/W
R/W
R/W
(Initial value)
2
1
0
R/W
R/W
R/W
8
0
0
0
0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh7751r

Table of Contents