GD32A50x User Manual
198
Figure 9-2. Shifter microarchitecture
Shifter x
INSRC
TMPL
SSTOP
SSTART
Timer start/stop
St
o
re
d
a
ta
L
o
a
d
d
a
ta
Shifter x output
SPPL
SPSEL
SP
C
F
G
Pin out
Table 9-1. Mode of shifter
Mode
Shifter working
mechanism
SSTAT
、
Interrupt
DMA request setting
conditions
SERR
、
Interrupt
setting conditions
Transmit
the shifter will load
data from the shifter
buffer and shift data
out when a load event
is signalled by the
assigned timer.
data has been loaded
from the shifter buffer
into the shifter or when
the Shifter is initially
configured into transmit
mode.
An attempt to load data
from an empty shifter
buffer occurs (buffer
underrun).
Receive
the shifter will shift
data in and store data
into the shifter buffer
when a store event is
signalled by the
assigned timer.
data has been stored
into the shifter buffer
from the shifter.
An attempt to store
data into a full shifter
buffer occurs (buffer
overrun) or when a
mismatch occurs on a
start/stop bit check.
Match
Store
the shifter will shift
data in, check for a
match result and
store matched data
into the shifter buffer
when a store event is
signalled by the
A match occurs and
matched data has been
stored into the shifter
buffer from the shifter.
An attempt to store
matched data into a full
shifter buffer occurs
(buffer overrun) or
when a mismatch
occurs on a start/stop
bit check.