forked from Nitrokey/chopstx
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
USB and ADC drivers, USB-CDC example
- Loading branch information
Showing
10 changed files
with
2,859 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#define LINEBUFSIZE 128 | ||
|
||
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, const char *buf, int count); | ||
int tty_recv (struct tty *tty, char *buf, uint32_t *timeout); |
Oops, something went wrong.