Rev 586 | Rev 623 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 586 | Rev 607 | ||
|---|---|---|---|
| Line 39... | Line 39... | ||
| 39 | /* Character device operations interface. */ |
39 | /* Character device operations interface. */ |
| 40 | struct chardev_operations { |
40 | struct chardev_operations { |
| 41 | void (* suspend)(chardev_t *); /**< Suspend pushing characters. */ |
41 | void (* suspend)(chardev_t *); /**< Suspend pushing characters. */ |
| 42 | void (* resume)(chardev_t *); /**< Resume pushing characters. */ |
42 | void (* resume)(chardev_t *); /**< Resume pushing characters. */ |
| 43 | void (* write)(chardev_t *, char c); /**< Write character to stream. */ |
43 | void (* write)(chardev_t *, char c); /**< Write character to stream. */ |
| - | 44 | /** Read character directly from device, assume interrupts disabled */ |
|
| - | 45 | char (* read)(chardev_t *); |
|
| 44 | }; |
46 | }; |
| 45 | 47 | ||
| 46 | typedef struct chardev_operations chardev_operations_t; |
48 | typedef struct chardev_operations chardev_operations_t; |
| 47 | 49 | ||
| 48 | /** Character input device. */ |
50 | /** Character input device. */ |