19 lines
329 B
C
19 lines
329 B
C
#pragma once
|
|
|
|
|
|
#define KLINE_SERIAL_DEVICE (&SD2)
|
|
#define KLINE_SERIAL_DEVICE_RX H144_UART2_RX
|
|
#define KLINE_SERIAL_DEVICE_TX H144_UART2_TX
|
|
|
|
// The standard transmission rate
|
|
#define KLINE_BAUD_RATE 10400
|
|
|
|
#define KLINE_READ_TIMEOUT 50
|
|
|
|
|
|
void initKLine();
|
|
|
|
/* Stop/Start for config update */
|
|
void startKLine();
|
|
void stopKLine();
|