Files
sil/cr929_SIL/otherFiles/app_config.h
T

102 lines
2.2 KiB
C
Raw Normal View History

2020-12-20 15:19:07 +08:00
#ifndef __APP_CONFIG_H__
2021-03-27 18:04:49 +08:00
#ifndef AP_DT_MS
#define AP_DT_MS (3.061)
#endif
2020-12-20 15:19:07 +08:00
#ifndef PARAM_PROPS_MAXLEN
2020-12-27 11:24:31 +08:00
#define PARAM_PROPS_MAXLEN (640)
2020-12-20 15:19:07 +08:00
#endif
2020-12-27 11:24:31 +08:00
#ifndef PWM_CHANEL_NUM
#define PWM_CHANEL_NUM (20)
#endif
#ifndef SBUS_ENABLE
#define SBUS_ENABLE (1)
#endif
#ifndef CAN1_ENABLE
#define CAN1_ENABLE (0)
#endif
#ifndef CAN3_ENABLE
#define CAN3_ENABLE (0)
#endif
#ifndef UART1_RX_ENABLE
2021-03-27 18:04:49 +08:00
#define UART1_RX_ENABLE (512)
2020-12-27 11:24:31 +08:00
#endif
#ifndef UART2_RX_ENABLE
2021-03-27 18:04:49 +08:00
#define UART2_RX_ENABLE (512)
2020-12-27 11:24:31 +08:00
#endif
#ifndef UART4_RX_ENABLE
2021-03-27 18:04:49 +08:00
#define UART4_RX_ENABLE (256)
2020-12-27 11:24:31 +08:00
#endif
#ifndef UART6_RX_ENABLE
2021-03-27 18:04:49 +08:00
#define UART6_RX_ENABLE (256)
2020-12-27 11:24:31 +08:00
#endif
#ifndef UART7_RX_ENABLE
2021-03-27 18:04:49 +08:00
#define UART7_RX_ENABLE (256)
2020-12-27 11:24:31 +08:00
#endif
#ifndef UART8_RX_ENABLE
2021-03-27 18:04:49 +08:00
#define UART8_RX_ENABLE (256)
2020-12-27 11:24:31 +08:00
#endif
#ifndef UART1_TX_ENABLE
2021-03-27 18:04:49 +08:00
#define UART1_TX_ENABLE (256)
2020-12-27 11:24:31 +08:00
#endif
#ifndef UART2_TX_ENABLE
2021-03-27 18:04:49 +08:00
#define UART2_TX_ENABLE (256)
2020-12-27 11:24:31 +08:00
#endif
#ifndef UART4_TX_ENABLE
#define UART4_TX_ENABLE (0)
#endif
#ifndef UART6_TX_ENABLE
2021-03-27 18:04:49 +08:00
#define UART6_TX_ENABLE (256)
2020-12-27 11:24:31 +08:00
#endif
#ifndef UART7_TX_ENABLE
2021-03-27 18:04:49 +08:00
#define UART7_TX_ENABLE (256)
2020-12-27 11:24:31 +08:00
#endif
#ifndef UART8_TX_ENABLE
2021-03-27 18:04:49 +08:00
#define UART8_TX_ENABLE (256)
2020-12-27 11:24:31 +08:00
#endif
#define UART1_BAUDRATE (460800)
#define UART1_WORDLENGTH (UART_WORDLENGTH_8B)
#define UART1_STOPBITS (UART_STOPBITS_1)
#define UART1_PARITY (UART_PARITY_NONE)
#define UART1_MODE (UART_MODE_TX_RX)
#define UART2_BAUDRATE (460800)
#define UART2_WORDLENGTH (UART_WORDLENGTH_8B)
#define UART2_STOPBITS (UART_STOPBITS_1)
#define UART2_PARITY (UART_PARITY_NONE)
#define UART2_MODE (UART_MODE_TX_RX)
#define UART4_BAUDRATE (100000)
#define UART4_WORDLENGTH (UART_WORDLENGTH_9B)
#define UART4_STOPBITS (UART_STOPBITS_2)
#define UART4_PARITY (UART_PARITY_EVEN)
#define UART4_MODE (UART_MODE_RX)
#define UART6_BAUDRATE (115200)
#define UART6_WORDLENGTH (UART_WORDLENGTH_8B)
#define UART6_STOPBITS (UART_STOPBITS_1)
#define UART6_PARITY (UART_PARITY_NONE)
#define UART6_MODE (UART_MODE_TX_RX)
#define UART7_BAUDRATE (115200)
#define UART7_WORDLENGTH (UART_WORDLENGTH_8B)
#define UART7_STOPBITS (UART_STOPBITS_1)
#define UART7_PARITY (UART_PARITY_NONE)
#define UART7_MODE (UART_MODE_TX_RX)
#define UART8_BAUDRATE (115200)
#define UART8_WORDLENGTH (UART_WORDLENGTH_8B)
#define UART8_STOPBITS (UART_STOPBITS_1)
#define UART8_PARITY (UART_PARITY_NONE)
#define UART8_MODE (UART_MODE_TX_RX)
2020-12-20 15:19:07 +08:00
#endif /* __APP_CONFIG_H__ */