2019-08-27 17:27:57 +02:00
|
|
|
#ifndef UART_H
|
|
|
|
#define UART_H
|
|
|
|
|
|
|
|
// UART for Clock DCF
|
|
|
|
#define CLOCK_DCF_TXD (GPIO_NUM_4)
|
|
|
|
#define CLOCK_DCF_RXD (GPIO_NUM_15)
|
|
|
|
#define CLOCK_DCF_RTS (UART_PIN_NO_CHANGE)
|
|
|
|
#define CLOCK_DCF_CTS (UART_PIN_NO_CHANGE)
|
|
|
|
#define CLOCK_BUF_SIZE (1024)
|
|
|
|
|
2019-08-09 14:02:10 +02:00
|
|
|
void time_uart_send(void * pvParameters);
|
2019-08-27 16:00:25 +02:00
|
|
|
void time_uart_send_start();
|
2019-08-27 17:27:57 +02:00
|
|
|
void uart_setup();
|
|
|
|
|
|
|
|
#endif
|