Ersa Wearable Platform
Embedded smartwatch firmware and application framework
Loading...
Searching...
No Matches
src
hal
esp32
esp32_usb_console.h
Go to the documentation of this file.
1
#pragma once
2
3
#if defined(ARDUINO)
4
5
#include "
ersa/hal/console.h
"
6
7
namespace
ersa::hal
{
8
10
class
Esp32UsbConsole final :
public
IConsole {
11
public
:
12
void
begin
(uint32_t baudRate)
override
;
13
bool
isAttached()
const override
;
14
size_t
availableForWrite()
const override
;
15
size_t
available()
const override
;
16
int
read()
override
;
17
size_t
write(
const
uint8_t*
data
,
size_t
length
)
override
;
18
void
flush
()
override
;
19
};
20
21
}
// namespace ersa::hal
22
23
#endif
// ARDUINO
console.h
AppAgenda::begin
void begin()
Definition
app_agenda.cpp:27
DebugLog::flush
void flush()
Definition
debug_log.cpp:153
ersa::hal
Definition
battery.h:7
data
char data[MANIFEST_LIMIT]
Definition
ota_service.cpp:33
length
size_t length
Definition
ota_service.cpp:34
Generated by
1.9.8