Section 16 Serial I/O (SIO)
Rev. 2.00 Mar 09, 2006 page 670 of 906
REJ09B0292-0200
16.2.3
Transmit Shift Register (SITSR)
Bit:
15
14
13
...
3
2
1
0
...
Initial value:
—
—
—
...
—
—
—
—
R/W:
—
—
—
...
—
—
—
—
SITSR is a 16-bit register used to transmit serial data. The contents of this register are shifted in
MSB-first order in synchronization with the rising edge of the serial transmit clock (STCK), and
output from the STxD pin. The transfer data length is set by the transmit/receive data length select
bit (DL) in the serial control register (SICTR). When the DL bit is cleared to 0 (8-bit data length),
the lower 8 bits of SITDR are output. When the serial transmission synchronization signal (STS)
goes high, or the last data transmission ends without the synchronization enable (SE) bit being set
in SICTR, the contents of the transmit data register (SITDR) are transferred to SITSR, and if
TDRE is 0, TDRE is then set. If output of the next data begins before TDRE is cleared, an overrun
error occurs, the transmit overrun error flag (TERR) is set in SISTR, and a transmit overrun error
interrupt request is sent to the INTC.
16.2.4
Transmit Data Register (SITDR)
Bit:
15
14
13
...
3
2
1
0
...
Initial value:
0
0
0
...
0
0
0
0
R/W:
R/W
R/W
R/W
...
R/W
R/W
R/W
R/W
SITDR is a 16-bit register that stores serial transmit data. Data should be written to SITDR when
the transmit data register empty flag (TDRE) is set to 1 in SISTR. If data is written to SITDR
when TDRE is 0, the previous data will be overwritten. When STS goes high or data output from
transmit shift register SITSR ends with the SE bit cleared to 0 in SICTR, the data in SITDR is
automatically transferred to SITSR, and if TDRE is 0, TDRE is then set. If the transmit interrupt
enable flag (TIE) is set, a transmit-data-empty interrupt (TDEI) request is sent to the INTC and
DMAC. When TIE is cleared, this interrupt request is not generated. When the DMAC writes to
SITDR, the TDRE flag is cleared automatically. The TDRE flag is set only by hardware. SITDR is
initialized to H'0000 by a reset.
Содержание SH7616
Страница 10: ...Rev 2 00 Mar 09 2006 page x of xxvi ...
Страница 132: ...Section 2 CPU Rev 2 00 Mar 09 2006 page 106 of 906 REJ09B0292 0200 ...
Страница 568: ...Section 12 16 Bit Free Running Timer FRT Rev 2 00 Mar 09 2006 page 542 of 906 REJ09B0292 0200 ...
Страница 582: ...Section 13 Watchdog Timer WDT Rev 2 00 Mar 09 2006 page 556 of 906 REJ09B0292 0200 ...
Страница 662: ...Section 14 Serial Communication Interface with FIFO SCIF Rev 2 00 Mar 09 2006 page 636 of 906 REJ09B0292 0200 ...
Страница 706: ...Section 16 Serial I O SIO Rev 2 00 Mar 09 2006 page 680 of 906 REJ09B0292 0200 ...
Страница 820: ...Section 19 Pin Function Controller PFC Rev 2 00 Mar 09 2006 page 794 of 906 REJ09B0292 0200 ...
Страница 932: ...Appendix D Package Dimensions Rev 2 00 Mar 09 2006 page 906 of 906 REJ09B0292 0200 ...
Страница 935: ...SH7616 Hardware Manual ...