how to write IOM driver in synchronization and asynchronization. In fact ,I wan't to write a usart driver by myself. when call the GIO class to read data from usart with a timeout parameters--10ms. The task calling write operation will be block until the usart get the enough bytes specified by parameters or no byte received in 10ms. could anyone tell me how to design the driver in detail? Thanks
skype: jerry_mit