diff options
Diffstat (limited to 'quantum/virtser.h')
| -rw-r--r-- | quantum/virtser.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/quantum/virtser.h b/quantum/virtser.h new file mode 100644 index 000000000..df7e87984 --- /dev/null +++ b/quantum/virtser.h | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | void virtser_init(void); | ||
| 4 | |||
| 5 | /* Define this function in your code to process incoming bytes */ | ||
| 6 | void virtser_recv(const uint8_t ch); | ||
| 7 | |||
| 8 | /* Call this to send a character over the Virtual Serial Device */ | ||
| 9 | void virtser_send(const uint8_t byte); | ||
