Renesas SH7781 用户手册

下载
页码 1692
23.   Serial Peripheral Interface (HSPI) 
Rev.1.00  Jan. 10, 2008  Page 1153 of 1658 
REJ09B0261-0100 
 
23.2
 
Input/Output Pins 
The input/output pins of the HSPI is shown in table 23.1. 
Table 23.1  Pin Configuration 
Pin Name 
Abbrev. 
I/O 
Description 
Serial bit clock pin 
HSPI_CLK 
I/O 
Clock input/output 
Transmit data pin 
HSPI_TX 
Output Transmit 
data 
output 
Receive data pin 
HSPI_RX 
Input 
Receive data input 
Chip select pin
 HSPI_CS I/O 
Chip 
select 
 
23.3
 
Register Descriptions 
Table 23.2  Register Configuration (1) 
Register Name 
Abbrev.  R/W 
P4 Address 
Area 7 Address  Size 
Sync 
Clock 
Control register 
SPCR 
R/W 
H'FFE5 0000 
H'1FE5 0000 
32 
Pck 
Status register 
SPSR 
R* 
H'FFE5 0004 
H'1FE5 0004 
32 
Pck 
System control register 
SPSCR 
R/W 
H'FFE5 0008 
H'1FE5 0008 
32 
Pck 
Transmit buffer register 
SPTBR 
R/W 
H'FFE5 000C 
H'1FE5 000C 
32 
Pck 
Receive buffer register 
SPRBR 
H'FFE5 0010 
H'1FE5 0010 
32 
Pck 
Note:  For bits 4 and 3, only 0s can be written to clear the flags.