English
Language : 

M16C6N4 Datasheet, PDF (207/406 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/60 SERIES
Under development
This document is under development and its contents are subject to change.
M16C/6N Group (M16C/6N4)
15. Serial Interface
SI/O3 Control Register (1)
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
S3C
Address
01E2h
After Reset
01000000b
Bit
Symbol
Bit Name
Description
RW
b1 b0
SM30
Internal Synchronous
0 0 : Selecting f1SIO or f2SIO
0 1 : Selecting f8SIO
RW
Clock Select Bit (5)
SM31
1 0 : Selecting f32SIO
1 1 : Do not set a value
RW
SM32
SOUT3 Output Disable
Bit (2)
0 : SOUT3 output
1 : SOUT3 output disabled (high-impedance)
RW
SM33 SI/O3 Port Select Bit
0 : Input/output port
1 : SOUT3 output, CLK3 function
RW
0 : Transmit data is output at falling edge of
transfer clock and receive data is input
SM34 CLK Polarity Select Bit
at rising edge
1 : Transmit data is output at rising edge of
RW
transfer clock and receive data is input
at falling edge
SM35
Transfer Direction Select
Bit
0 : LSB first
1 : MSB first
RW
SM36
Synchronous Clock
Select Bit
0 : External clock (3)
1 : Internal clock (4)
RW
Effective when the SM33 bit = 0
SM37 SOUT3 Initial Value Set Bit 0 : "L" output
RW
1 : "H" output
NOTES:
1. Make sure this register is written to by the next instruction after setting the PRC2 bit in the PRCR register to "1"
(write enabled).
2. When the SM32 bit = 1, the corresponding pin is placed in the high-impedance state regardless of which functions
of those pins are being used.
3. Set the SM33 bit to "1" (SOUT3 output, CLK3 function) and the corresponding port direction bit to "0" (input mode).
4. Set the SM33 bit to "1" (SOUT3 output, CLK3 function).
5. When changing the SM31 to SM30 bits, set the S3BRG register.
SI/O3 Bit Rate Generator (1) (2) (3)
b7
b0
Symbol
S3BRG
Address
01E3h
After Reset
Indeterminate
Description
Assuming that set value = n, S3BRG divides the count
source by n + 1
NOTES:
1. Write to this register while serial I/O is neither transmitting nor receiving.
2. Use the MOV instruction to write to this register.
3. Write to this register after setting the SM31 to SM30 bits in the S3C register.
Setting Range
RW
00h to FFh
WO
SI/O3 Transmit/Receive Register (1) (2)
b7
b0
Symbol
S3TRR
Address
01E0h
After Reset
Indeterminate
Description
RW
Transmission/reception starts by writing transmit data to this register.
After transmission/reception finishes, reception data can be read by reading this register.
RW
NOTES:
1. Write to this register while serial I/O is neither transmitting nor receiving.
2. To receive data, set the corresponding port direction bit for SIN3 to "0" (input mode).
Figure 15.37 S3C Register, S3BRG Register, and S3TRR Register
Rev.2.30 Oct 24, 2005 page 189 of 376
REJ09B0009-0230