M16C/62P Group (M16C/62P, M16C/62PT)
17. Serial Interface
Rev.2.41
Jan 10, 2006
Page 229 of 390
REJ09B0185-0241
Figure 17.40
SiBRG and SiTRR Registers
SI/Oi Bit Rate Generation Register (i=3, 4)
(1, 2, 3)
Symbol
Address
After Reset
S3BRG
0363h
Indeterminate
S4BRG
0367h
Indeterminate
Setting Range
RW
NOTES :
1.
2.
3. Write to this register after setting the SMi1 to SMi0 bits in the SiC register.
Function
Use MOV instruction to w rite to this register.
WO
Assuming that set value = n, BRGi divides the count source by n + 1
00h to FFh
Write to this register w hile serial interface is neither transmitting nor receiving.
b0
b7
SI/Oi Bit Transmit/Receive Register (i=3, 4)
(1, 2)
Symbol
Address
After Reset
S3TRR
0360h
Indeterminate
S4TRR
0364h
Indeterminate
RW
NOTES :
1.
2.
b7
b0
To receive data, set the corresponding port direction bit for SINi to “0” (input mode).
RW
Write to this register w hile serial interface is neither transmitting nor receiving.
Transmission/reception starts by w riting transmit data to this register. After
transmission/reception finishes, reception data can be read by reading this register.
Function
http://www.xinpian.net
提供单片机解密、IC解密、芯片解密业务
010-62245566 13810019655