Changes between Version 5 and Version 6 of txt_device_api
- Timestamp:
- Jan 22, 2020, 2:54:30 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
txt_device_api
v5 v6 35 35 These three I/O operations are blocking, and return only when the transfer is completed, but the blocking policy depends on the operation type. 36 36 37 === C.1) Asynchronous operations === 37 '''C.1) Asynchronous operations''' 38 38 39 39 * The '''dev_txt_read( uint32_t channel , char * buffer )''' function moves one character from the terminal identified by the <channel> argument to the local kernel buffer identified by the <buffer> pointer. … … 50 50 Note : According to the scheduler policy, the DEV thread has an higher priority than any user thread, but it is not selected when the associated waiting queue is empty. 51 51 52 === C.2) Synchronous operations === 52 '''C.2) Synchronous operations''' 53 53 54 54 * The '''dev_txt_sync_write( char * buffer , uint32_t count )''' function moves <count> characters from the the kernel buffer identified by the <buffer> pointer, to the kernel TXT0 terminal.