2023-02-17 06:21:09 -08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
|
|
#define KLINE_SERIAL_DEVICE (&SD2)
|
2023-02-18 05:45:40 -08:00
|
|
|
#define KLINE_SERIAL_DEVICE_RX H144_UART2_RX
|
|
|
|
#define KLINE_SERIAL_DEVICE_TX H144_UART2_TX
|
2023-02-17 06:21:09 -08:00
|
|
|
|
|
|
|
// The standard transmission rate
|
|
|
|
#define KLINE_BAUD_RATE 10400
|
|
|
|
|
|
|
|
#define KLINE_READ_TIMEOUT 50
|
|
|
|
|
|
|
|
|
2023-02-17 05:18:36 -08:00
|
|
|
void initKLine();
|