欢迎访问ic37.com |
会员登录 免费注册
发布采购

MPD789871 参数 Datasheet PDF下载

MPD789871图片预览
型号: MPD789871
PDF下载: 下载PDF文件 查看货源
内容描述: 8位单芯片微控制器 [8-Bit Single-Chip Microcontrollers]
分类和应用: 微控制器
文件页数/大小: 321 页 / 1339 K
品牌: NEC [ NEC ]
 浏览型号MPD789871的Datasheet PDF文件第228页浏览型号MPD789871的Datasheet PDF文件第229页浏览型号MPD789871的Datasheet PDF文件第230页浏览型号MPD789871的Datasheet PDF文件第231页浏览型号MPD789871的Datasheet PDF文件第233页浏览型号MPD789871的Datasheet PDF文件第234页浏览型号MPD789871的Datasheet PDF文件第235页浏览型号MPD789871的Datasheet PDF文件第236页  
CHAPTER 12 SERIAL INTERFACE 20  
(b) Parity types and operation  
The parity bit is used to detect a bit error in the communication data. Normally, the same kind of parity  
bit is used on the transmitting side and the receiving side. With even parity and odd parity, a one-bit  
(odd number) error can be detected. With 0 parity and no parity, an error cannot be detected.  
(i) Even parity  
At transmission  
The parity bit is determined so that the number of bits with a value of “1” in the transmit data  
including the parity bit may be even. The parity bit value should be as follows.  
The number of bits with a value of “1” is an odd number in transmit data:  
1
The number of bits with a value of “1” is an even number in transmit data: 0  
At reception  
The number of bits with a value of “1” in the receive data including parity bit is counted, and if the  
number is odd, a parity error occurs.  
(ii) Odd parity  
At transmission  
Conversely to the even parity, the parity bit is determined so that the number of bits with a value  
of “1” in the transmit data including parity bit may be odd. The parity bit value should be as  
follows.  
The number of bits with a value of “1” is an odd number in transmit data:  
0
The number of bits with a value of “1” is an even number in transmit data: 1  
At reception  
The number of bits with a value of “1” in the receive data including parity bit is counted, and if the  
number is even, a parity error occurs.  
(iii) 0 parity  
When transmitting, the parity bit is set to “0” irrespective of the transmit data.  
At reception, a parity bit check is not performed. Therefore, a parity error does not occur,  
irrespective of whether the parity bit is set to “0” or “1”.  
(iv) No parity  
A parity bit is not added to the transmit data. At reception, data is received assuming that there is  
no parity bit. Since there is no parity bit, a parity error does not occur.  
User’s Manual U15075EJ1V0UM00  
232  
 复制成功!