📄 lvcommparams.h
字号:
//---------------------------------------------------------------------------
#ifndef LvCommParamsH
#define LvCommParamsH
#define LVCM_BAUD_DEFAULT 0x00
#define LVCM_BAUD_300 0x01
#define LVCM_BAUD_600 0x02
#define LVCM_BAUD_1200 0x03
#define LVCM_BAUD_2400 0x04
#define LVCM_BAUD_4800 0x05
#define LVCM_BAUD_9600 0x06
#define LVCM_BAUD_19200 0x07
#define LVCM_BAUD_38400 0x08
#define LVCM_BAUD_57600 0x09
#define LVCM_BAUD_115200 0x0A
#define LVCM_BAUD_230400 0x0B
#define LVCM_BAUD_460800 0x0C
#define LVCM_BAUD_921600 0x0D
#define LVCM_BAUD_LAST 0x0E
#define LVCM_PARITY_DEFAULT 0x00
#define LVCM_PARITY_NONE 0x01
#define LVCM_PARITY_ODD 0x02
#define LVCM_PARITY_EVEN 0x03
#define LVCM_PARITY_LAST 0x04
#define LVCM_STOP_DEFAULT 0x00
#define LVCM_STOP_1BIT 0x01
#define LVCM_STOP_2BIT 0x02
#define LVCM_STOP_LAST 0x03
#define LVCM_BYTE_DEFAULT 0x00
#define LVCM_BYTE_7BIT 0x01
#define LVCM_BYTE_8BIT 0x02
#define LVCM_BYTE_LAST 0x03
#define LVCOMM_PARTYPE_EMPTY 0x0000
#define LVCOMM_PARTYPE_ALLRESPONSE 0x0001
#define LVCOMM_PARTYPE_INT 0x0002
#define LVCOMM_PARTYPE_SHORT 0x0004
#define LVCOMM_PARTYPE_CHAR 0x0008
#define LVCOMM_PARTYPE_UNSIGNED 0x0010
#define LVCOMM_PARTYPE_WORD 0x0020
#define LVCOMM_PARTYPE_BYTE 0x0040
#define LVCOMM_PARTYPE_BOOL 0x0080
#define LVCOMM_PARTYPE_FLOAT 0x0100
#define LVCOMM_PARTYPE_DOUBLE 0x0200
#define LVCOMM_PARTYPE_STRING 0x0400
#define LVCOMM_PARTYPE_BUFFER 0x1000
#define LVCOMM_SPECFTR_INT 0x01
#define LVCOMM_SPECFTR_DOUBLE 0x02
#define LVCOMM_SPECFTR_ENUM 0x03
#define LVCOMM_SPECFTR_SIMPLE 0x04
#define LVCOMM_SPECFTR_BOOL 0x05
#define LVCOMM_SPECFTR_STRING 0x06
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -