Changeset cf8cc36 in mainline for uspace/lib/libc/include/ipc/serial_ctl.h
- Timestamp:
- 2010-05-14T13:45:28Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c47e1a8
- Parents:
- 04c7003f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/include/ipc/serial_ctl.h
r04c7003f rcf8cc36 32 32 #include <ipc/dev_iface.h> 33 33 34 /** ipc methods for getting/setting serial communication properties 35 * 1st ipc arg: baud rate 36 * 2nd ipc arg: parity 37 * 3rd ipc arg: number of bits in one word 38 * 4th ipc arg: number of stop bits 39 */ 34 40 typedef enum { 35 SERIAL_SET_BAUD_RATE = DEV_FIRST_CUSTOM_METHOD, 36 SERIAL_SET_PARITY, 37 SERIAL_SET_STOP_BITS 41 SERIAL_GET_COM_PROPS = DEV_FIRST_CUSTOM_METHOD, 42 SERIAL_SET_COM_PROPS 38 43 } serial_ctl_t; 39 44 45 typedef enum { 46 SERIAL_NO_PARITY = 0, 47 SERIAL_ODD_PARITY = 1, 48 SERIAL_EVEN_PARITY = 3, 49 SERIAL_MARK_PARITY = 5, 50 SERIAL_SPACE_PARITY = 7 51 } serial_parity_t; 40 52 41 53 #endif
Note:
See TracChangeset
for help on using the changeset viewer.