
M0A21/M0A23 Series
May 06, 2022
Page
551
of 746
Rev 1.02
M0
A21
/M
0
A
2
3
SE
RIES
TEC
H
NICAL
RE
FEREN
C
E
M
ANUAL
USCI Line Control Register (USPI_LINECTL)
Register
Offset
R/W
Description
Reset Value
USPI_LINECTL
U0x2C
R/W
USCI Line Control Register
0x0000_0000
31
30
29
28
27
26
25
24
Reserved
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
Reserved
DWIDTH
7
6
5
4
3
2
1
0
CTLOINV
Reserved
DATOINV
Reserved
LSB
Bits
Description
[31:12]
Reserved
Reserved.
[11:8]
DWIDTH
Word Length of Transmission
This bit field defines the data word length (amount of bits) for reception and transmission. The data word is
always right-aligned in the data buffer. USCI support word length from 4 to 16 bits.
0x0: The data word contains 16 bits located at bit positions [15:0].
0x1: Reserved.
0x2: Reserved.
0x3: Reserved.
0x4: The data word contains 4 bits located at bit positions [3:0].
0x5: The data word contains 5 bits located at bit positions [4:0].
...
0xF: The data word contains 15 bits located at bit positions [14:0].
[7]
CTLOINV
Control Signal Output Inverse Selection
This bit defines the relation between the internal control signal and the output control signal.
0 = No effect.
1 = The control signal will be inverted before its output.
Note:
The control signal has different definitions in different protocol. In SPI protocol, the control signal means
slave select signal.
[6]
Reserved
Reserved.
[5]
DATOINV
Data Output Inverse Selection
This bit defines the relation between the internal shift data value and the output data signal of USCIx_DAT0/1
pins.
0 = Data output values of USCIx_DAT0/1 pins are not inverted.
1 = Data output values of USCIx_DAT0/1 pins are inverted.
[4:1]
Reserved
Reserved.
[0]
LSB
LSB First Transmission Selection
0 = The MSB, which bit of transmit/receive data buffer depends on the setting of DWIDTH, is
transmitted/received first.