打印

7-even-1 数据格式

[复制链接]
436|4
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
android2|  楼主 | 2017-11-18 11:12 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
沙发
拉克丝| | 2017-11-18 11:25 | 只看该作者
应该支持的吧

使用特权

评论回复
板凳
lefeng| | 2017-11-18 11:32 | 只看该作者
UCPEN Bit 7 Parity enable
0 Parity disabled.
1 Parity enabled. Parity bit is generated (UCAxTXD) and expected
(UCAxRXD). In address-bit multiprocessor mode, the address bit is
included in the parity calculation.
UCPAR Bit 6 Parity select. UCPAR is not used when parity is disabled.
0 Odd parity
1 Even parity
UCMSB Bit 5 MSB first select. Controls the direction of the receive and transmit shift
register.
0 LSB first
1 MSB first
UC7BIT Bit 4 Character length. Selects 7-bit or 8-bit character length.
0 8-bit data
1 7-bit data
UCSPB Bit 3 Stop bit select. Number of stop bits.
0 One stop bit
1 Two stop bits
UCMODEx Bits
2−1
USCI mode. The UCMODEx bits select the asynchronous mode when
UCSYNC = 0.
00 UART Mode.
01 Idle-Line Multiprocessor Mode.
10 Address-Bit Multiprocessor Mode.
11 UART Mode with automatic baud rate detection.
UCSYNC Bit 0 Synchronous mode enable
0 Asynchronous mode
1 Synchronous Mode

使用特权

评论回复
地板
CaLipton| | 2017-11-18 11:41 | 只看该作者
不过,常见的串口调试助手都没有办法进行奇偶校验。

使用特权

评论回复
5
Rospiers| | 2017-11-18 17:26 | 只看该作者

支持的

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

137

主题

784

帖子

0

粉丝