![ARTERY AT32F435 Series Скачать руководство пользователя страница 207](http://html1.mh-extra.com/html/artery/at32f435-series/at32f435-series_reference-manual_2977592207.webp)
AT32F435/437
Series Reference Manual
2022.11.11
Page 207
Rev 2.03
if DBN1,DBN=00, the brake frame size for transmission and detection should be 10-bit low level plus its
stop bit. In LIN mode, refer to Mode selector and configuration process for more details.
The DBN1 and DBN0 bits are used to program 7-bit (DBN1,DBN0=10), 8-bit (DBN1,DBN0=00) or 9-bit
(DBN1,DBN0=01) data bits.
Figure 12-8 Word length
Bit 0
Bit 1
Bit 2
Bit 3
Bit 4
Bit 5
Bit 6
Bit 7
Bit 8
Start
bit
Stop
bit
9-bit word length (DBN1, DBN0 = 01)
:
Next
Start
bit
Clock
Start
bit
**
Next Data frame
PEN = 1,
Parity bit
Data frame
Idle frame
Bit 0
Bit 1
Bit 2
Bit 3
Bit 4
Bit 5
Bit 6
Bit 7
Start
bit
Stop
bit
8-bit word length (DBN1, DBN0 = 00)
:
Next
Start
bit
Clock
Start
bit
**
Next Data frame
PEN = 1,
Parity bit
Data frame
Idle frame
Bit 0
Bit 1
Bit 2
Bit 3
Bit 4
Bit 5
Bit 6
Start
bit
Stop
bit
7-bit word length (DBN1, DBN0 = 10)
:
Next
Start
bit
Clock
Start
bit
**
Next Data frame
PEN = 1,
Parity bit
Data frame
Idle frame
The STOPBN bit is used to program one bit (STOPBN=00), 0.5-bit (STOPBN=01), two-bit (STOPBN=10)
and 1.5-bit (STOPBN=11) stop bits.
Set the PEN=1 will enable parity control. PSEL=1 indicates Odd parity, while PSEL=0 for Even parity.
Once the parity control is enabled, the MSB of the data bit will be replaced with parity bit, that is, the
significant bits is reduced by one bit.