CHAPTER 10 SERIAL INTERFACE FUNCTION
User’s Manual U15195EJ5V0UD
510
(c) Prescaler compare register 3 (PRSCM3)
PRSCM3 is an 8-bit compare register that sets the value of the 8-bit timer counter.
This register can be read/written in 8-bit units.
Cautions 1. The internal timer counter is cleared by writing to the PRSM3 register. Therefore,
do not write to the PRSCM3 register during transmission.
2. Set the PRSCM3 register prior to setting the CSICAEn bit of the CSIMn register to
1 (n = 0, 1). If the contents of the PRSCM3 register are overwritten when the value
of the CSICAEn bit is 1, the cycle of the baud rate signal is not guaranteed.
7
PRSCM7
PRSCM3
6
PRSCM6
5
PRSCM5
4
PRSCM4
3
PRSCM3
2
PRSCM2
1
PRSCM1
0
PRSCM0
Address
FFFFF922H
After reset
00H
(d) Baud rate signal cycle
The baud rate signal cycle is calculated as follows.
•
When setting value of PRSCM3 register is 00H
(Cycle of signal selected by bits BGCS1, BGCS0 of PRSM3 register)
×
256
×
2
•
In cases other than above
(Cycle of signal selected by bits BGCS1, BGCS2 of PRSM3 register)
×
(setting value of PRSCM3
register)
×
2