Changes

How to use UARTs

254 bytes added, 19:12, 22 January 2012
no edit summary
This program have three I/O functions that connect to UART driver via ioctl (read(), write() and select()), but only select() and write() and put program in sleep mode, the proceess awake when I/O task is completed. Select functions is used to prevent that readswas blocked when there aren't data avaliable.
 
{| width="200" cellspacing="1" cellpadding="1" border="1"
|-
| [[Image:Uart_select5.JPG|260x172px]]
| [[Image:Uart_select_to_write1.JPG|260x172px]]
| [[Image:Uart_write2.JPG|260x172px]]
| [[Image:Uart_write_to_select0.JPG|260x172px]]
|-
|
|
|
|
|}
<br>
<br>
<br> '''Under Construction'''
[[Category:Communications]] [[Category:Work_in_progress]] [[Category:How_to_forge]]
4,199
edits