diff options
author | Clyne Sullivan <clyne@bitgloo.com> | 2020-08-20 17:06:47 -0400 |
---|---|---|
committer | Clyne Sullivan <clyne@bitgloo.com> | 2020-08-20 17:06:47 -0400 |
commit | 989f4038c6d2a3e5bbee04fa25df181810af621e (patch) | |
tree | 73987829cac7e15ab8763211bcef582ec885f3a2 /source/usbserial.hpp | |
parent | 2ceb20f4d48a8f163528f86fda484e977438bc80 (diff) | |
parent | 29e4b4cf091dd47c9f435ef1d315a1609b83fb19 (diff) |
merge elf loading and adc streaming
Diffstat (limited to 'source/usbserial.hpp')
-rw-r--r-- | source/usbserial.hpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/source/usbserial.hpp b/source/usbserial.hpp index 4b0eab2..4c33d51 100644 --- a/source/usbserial.hpp +++ b/source/usbserial.hpp @@ -14,10 +14,14 @@ #include "hal.h" -void usbserial_init(); -bool usbserial_is_active(); -size_t usbserial_read(void *buffer, size_t count); -size_t usbserial_write(const void *buffer, size_t count); +namespace usbserial +{ + void init(); + bool is_active(); + + size_t read(void *buffer, size_t count); + size_t write(const void *buffer, size_t count); +} #endif // STMDSP_USBSERIAL_HPP_ |