BAT32G1x9 user manual | Chapter 19 Universal serial communication unit
588 / 1149
Rev.1.02
19.3.10
Serial channel stop register m(STm).
The STm register is a trigger register that sets the allowable communication/stop count for each channel.
If you write "1" to each of you (STmn), the corresponding bit (SEmn) of the serial channel allowed status
register m(SEm) is cleared to "0" (run Stop State). Because the STmn bit is the trigger bit, the STmn bit is
immediately cleared if the SEmn bit is "0".
The STm register is set by means of a 16-bit memory operation instruction.
I can set the lower 8 bits of the STm register with STmL and through the 8-bit memory operation instruction.
After generating the reset signal, the value of the STm register changes to "0000H".
Figure 19-13
serial channel stop register m(STm).
After reset: 0000H
R/W
Symbol 15
14
13
12
11
10
9 8 7 6 5 4 3 2 1 0
ST0
After reset: 0000H
R/W
Symbol 15
14
13
12
11
10
9 8 7 6 5 4 3 2 1 0
ST1
After reset: 0000H
R/W
Symbol 15
14
13
12
11
10
9 8 7 6 5 4 3 2 1 0
ST2
STmn
Channel n
runs to stop triggering
0
No triggering.
1
Clear the SEmn
bit
to "0"
and stop the communication run
note
.
Note the values of the control registers and shift registers, the SCLKmn
pin and
SDOmn
pins, and
the FEFmn,
PEFmn
,
and
OVFmn
flags to hold state.
Note that the bit15~4
of st0 registers
and
bit15~2
of
ST1
registers
must be
set to
"0" ,
BIT15~2
of st
2
registers is set to
"0".
Note 1.m: Unit number (m=0~2) n: Channel number (n=0~3).
2. The read value of the STm register is always
"0000H".
0
0
0
0
0
0
0
0
0
0
0
0
ST03
ST02
ST01
ST00
0
0
0
0
0
0
0
0
0
0
0
0
0
0
ST11
ST10
0
0
0
0
0
0
0
0
0
0
0
0
0
0
ST21
ST20