?? sci_cfg.h
字號(hào):
/*
*********************************************************************************************************
* CONSTANTS
*********************************************************************************************************
*/
#ifndef _SCI_CFG_H_
#define _SCI_CFG_H_
//#include "includes.h"
/*
*********************************************************************************************************
* CONSTANTS
*********************************************************************************************************
*/
#ifndef NUL
#define NUL 0x00
#endif
/* ERROR CODES */
#define COMM_NO_ERR 0 /* Function call was successful */
#define COMM_RX_EMPTY 2 /* Rx buffer is empty, no character available */
#define COMM_TX_FULL 3 /* Tx buffer is full, could not deposit character */
#define COMM_TX_EMPTY 4 /* If the Tx buffer is empty. */
#define COMM_RX_TIMEOUT 5 /* If a timeout occurred while waiting for a character*/
#define COMM_TX_TIMEOUT 6 /* If a timeout occurred while waiting to send a char.*/
#define COMM_PARITY_NONE 0 /* Defines for setting parity */
#define COMM_PARITY_ODD 1
#define COMM_PARITY_EVEN 2
#define HIGH_PRIORITY 0
#define LOW_PRIORITY 1
#define COMM_RX_BUF_SIZE 64 /* Number of characters in Rx ring buffer */
#define COMM_TX_BUF_SIZE 64 /* Number of characters in Tx ring buffer */
//#define OS_ENTER_CRITICAL() asm(" SETC INTM");
//#define OS_EXIT_CRITICAL() asm(" CLRC INTM");
#define MULTITASK 1
#endif /* End of _SCI_CFG_H_ */
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -