国产肉体XXXX裸体137大胆,国产成人久久精品流白浆,国产乱子伦视频在线观看,无码中文字幕免费一区二区三区 国产成人手机在线-午夜国产精品无套-swag国产精品-国产毛片久久国产

新聞中心

EEPW首頁 > 電源與新能源 > Serial interface

Serial interface

——
作者: 時間:2007-04-27 來源: 收藏

If you send bits one at a time, you are using serial communication. If you send one extra bit for each 8 bits to make sure your data got there intact, it is called a parity bit.  Bit parity can be odd or even.  It is even, if you assign 0 to the parity bit when the sum of the 8 bits is a even number.  In this case, you assign 1 to the parity bit when the sum is an odd number.  The parity is odd, if the logics is reversed.  After the byte has arrived, the system will sum 8 bits and check if it matches the even-or-oddness predicted by the parity bit.

Two common connector type are used for serial communication: the 9-pin connector DB9 and ( less often) 25-pin DB25 connector,which is essentially the same. A serial port male connector looks like this:  

				---------------------
				   o o o o o o    /
				     o o o o     /
				   --------------
				

The heart of the serial communication technology is the UART (Universal Asynchronous Receiver/Transmitter), which converts parallel streams of data into a single sequence. As soon as the CPU sends the bits to the UART, it is free for another job, and the UART will convert the data into a single sequence and send the bits one at a time over the serial cable using the internal clock to define the time interval for the next bit to be sent. The UART will also send the start bit, the stop bit, and the parity bit (if necessary). 

Modern PCs can exchange data over the serial port at rates up to 115 KB/s, but this will translate into a maximum data rate of about only 11.5 KB/s without parity and 10.5 KB/s with parity due to the serial communication protocol overhead.



關(guān)鍵詞: interface Serial

評論


相關(guān)推薦

技術(shù)專區(qū)

關(guān)閉