diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2016-05-17 17:51:41 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2016-05-17 17:51:41 +0900 |
commit | dce6c70ffc2fdee9dd37fe68413babf618bb12b0 (patch) | |
tree | abf78e743f16e278c8b325b9f2959e276f2552b9 /example-cdc/tty.h | |
parent | 3651aa64b48d46fa8572a94b23c291d81e9d84ea (diff) |
more fix for chopstx_poll
Diffstat (limited to 'example-cdc/tty.h')
-rw-r--r-- | example-cdc/tty.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/example-cdc/tty.h b/example-cdc/tty.h new file mode 100644 index 0000000..a2cee4e --- /dev/null +++ b/example-cdc/tty.h @@ -0,0 +1,7 @@ +struct tty; + +struct tty *tty_open (void); +void tty_wait_configured (struct tty *tty); +void tty_wait_connection (struct tty *tty); +int tty_send (struct tty *tty, uint8_t *buf, int count); +int tty_recv (struct tty *tty, uint8_t *buf, uint32_t *timeout); |