mirror of
https://github.com/skot/ESP-Miner.git
synced 2025-05-22 00:30:03 +02:00
15 lines
318 B
C
15 lines
318 B
C
#ifndef SERIAL_H_
|
|
#define SERIAL_H_
|
|
|
|
#define SERIAL_BUF_SIZE 16
|
|
#define CHUNK_SIZE 1024
|
|
|
|
|
|
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_ */ |