BAT32G1x9 user manual | Chapter 19 Universal serial communication unit
584 / 1149
Rev.1.02
19.3.7
The serial flag clears the trigger register mn (SIRmn).
This is the trigger register used to clear each error flag for channel n.
If you set "1" for each of you (FECTmn, PECTmn, OVCTmn), the corresponding bit of the serial status register
mn (SSRmn) ( FEFmn, PEFmn, OVFmn) clear "0". Because the SDIRmn register is a trigger register, if the
corresponding bit of the SSRmn register is cleared, the SDIRmn register is also cleared immediately.
The SIRmn register is set by means of a 16-bit memory operation instruction.
I can set the lower 8 bits of the SIRmn register with the SIRmnL and through the
8-bit memory operation instruction.
After generating a reset signal, the value of the SIRmn register changes to
"0000H".
Figure 19-10
serial flag clears the format of the trigger register mn (SIRmn).
After reset: 0000H
R/W
Symbol 15
14
13
12
11
10
9 8 7 6 5 4 3 2 1 0
SIRmn
FECTmn
Note
1
Clearing of the channel n-frame error flag is triggered
0
Do not clear.
1
Clear the FEFmn bit of the SSRmn register to "0".
PECTmn
Channel n parity error flag clear triggered
0
Do not clear.
1
Clear the PEFmn bit of the SSRmn register to "0".
OVCTmn
The clearing of the channel n overflow error flag is triggered
0
Do not clear.
1
Clear the OVFmn bit of the SSRmn register to "0".
Note1:
Limited to
SIR01,
SIR03,
SIR11,
SIR21
registers.
Note: that bits 15
to
3
(SIR00,
SIR02,
SIR10,
SIR20
) must be changed
the register is
bit15~2) set
"0".
Note 1.m: Unit number (m=0~2) n: Channel number (n=0~3).
2. The read value of the SIRmn register is always
"0000H".
0
0
0
0
0
0
0
0
0
0
0
0
0
FECT
mn
note1
PEC
Spinning
OVC
Tmn