Changeset 435 for trunk/kernel/devices/dev_txt.h
- Timestamp:
- Feb 20, 2018, 5:32:17 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/devices/dev_txt.h
r422 r435 82 82 TXT_READ = 0, 83 83 TXT_WRITE = 1, 84 TXT_SYNC_WRITE = 2, 84 85 }; 85 86 … … 87 88 { 88 89 xptr_t dev_xp; /*! extended pointer on the relevant TXT device descriptor */ 89 uint32_t type; /*! TXT_READ / TXT_WRITE / TXT_SYNC_WRITE*/90 uint32_t type; /*! TXT_READ / TXT_WRITE */ 90 91 xptr_t buf_xp; /*! extended pointer on characters array */ 91 92 uint32_t count; /*! number of characters in buffer (must be 1 if to_mem) */ … … 99 100 *****************************************************************************************/ 100 101 101 typedef struct txt_ aux_s102 typedef struct txt_sync_args_s 102 103 { 103 xptr_t dev_xp; /*! extended pointer on the TXT0 device descriptor */104 xptr_t dev_xp; /*! extended pointer on the TXT0_TX device descriptor */ 104 105 char * buffer; /*! local pointer on characters array */ 105 106 uint32_t count; /*! number of characters in buffer */ 106 107 } 107 txt_aux_t; 108 txt_sync_args_t; 109 110 /****************************************************************************************** 111 * This function returns a printable string for the comman type. 112 ****************************************************************************************** 113 * @ type : command type (TXT_READ / TXT_WRITE / TXT_SYNC_WRITE) 114 *****************************************************************************************/ 115 char * dev_txt_type_str( uint32_t type ); 108 116 109 117 /****************************************************************************************** … … 157 165 * As it is used for debug, the command arguments <buffer> and <count> are registerd 158 166 * in a specific "dbg_cmd" field of the calling thread. 159 * other TXT accesses.160 167 **************************************************************************************** 161 168 * @ buffer : local pointer on source buffer containing the string.
Note: See TracChangeset
for help on using the changeset viewer.