Added USB Virtual Serial support
This commit is contained in:
parent
d8c5041f0a
commit
80d10bef07
6 changed files with 276 additions and 4 deletions
10
tmk_core/common/virtser.h
Normal file
10
tmk_core/common/virtser.h
Normal file
|
@ -0,0 +1,10 @@
|
|||
#ifndef _VIRTSER_H_
|
||||
#define _VIRTSER_H_
|
||||
|
||||
/* Define this function in your code to process incoming bytes */
|
||||
void virtser_recv(const uint8_t ch);
|
||||
|
||||
/* Call this to send a character over the Virtual Serial Device */
|
||||
void virtser_send(const uint8_t byte);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue