
SH7145F
Synchronous Serial Data Transmission
REJ06B0352-0100O/Rev.1.00 March 2004 Page 9 of 16
Register
Bit
Set Value Function
SMR_0 MP 0 Multiprocessor mode (enabled in asynchronous mode only)
Disabled in task example because synchronous mode is used
CKS1
CKS2
0
0
Clock select 1, 0
When value is 00, Pφ clock selected using on-chip baud rate generator
as clock source
BRR_0 H'40 Bit rate register 0
8-bit register for adjusting bit rate
SDCR_0 H'F2 Serial direction control register 0
DIR bit (bit 3) selects LSB-first or MSB-first
In task example, DIR = 0 (LSB-first)
SSR_0 H'xx Serial status register 0
Comprises SCI0 status flag and transmit and receive multiprocessor bits
Only 0 may be written to the status flag, to clear it
TDRE * Transmit data register empty (status flag)
RDRF * Receive data register full (status flag)
ORER * Overrun error (status flag)
FER * Framing error (status flag)
PER * Parity error (status flag)
TEND * Transmit end (status flag)
MPB 0 Multiprocessor bit
MPBT 0 Multiprocessor bit transfer
PA2MD1
PA2MD0
0
1
Port A control register L2
Function setting for port A multiplex pin (SCK0)
PACRL2
PA1MD1
PA1MD0
0
1
Port A control register L2
Function setting for port A multiplex pin (TXD0)
*: Can only be cleared to 0. Setting to 1 is performed by hardware.
Comentarios a estos manuales