mirror of
https://github.com/skot/ESP-Miner.git
synced 2025-05-31 23:39:17 +02:00
13 lines
293 B
C
13 lines
293 B
C
#ifndef SERIAL_H_
|
|
#define SERIAL_H_
|
|
|
|
#define SERIAL_BUF_SIZE 16
|
|
|
|
int SERIAL_send(uint8_t *, int, bool);
|
|
void SERIAL_init(void);
|
|
void SERIAL_debug_rx(void);
|
|
int16_t SERIAL_rx(uint8_t *, uint16_t, uint16_t);
|
|
void SERIAL_clear_buffer(void);
|
|
void SERIAL_set_baud(int baud);
|
|
|
|
#endif /* SERIAL_H_ */ |