?? msp430.h
字號:
/**
* @mainpage MSP430 BSL
*
* @section intro Introduction
*
*/
/**
* \file MSP430.h
*
*/
#ifndef _MSP430_H_
#define _MSP430_H_
// #includes. -----------------------------------------------------------------
#include <windows.h>
// #defines. ------------------------------------------------------------------
typedef unsigned char BYTE;
typedef unsigned short WORD;
#define RET_ERR(x) return(x)
#define RET_OK return(NO_ERR)
/// this is the definition for the DLL functions return value
typedef LONG STATUS_T;
/**
\brief Status codes of the DLL functions.
*/
enum STATUS_CODE
{
/// DLL functions return this value on failure
STATUS_ERROR = -1,
/// this value is returned on success
STATUS_OK,
};
/// File types.
enum FILE_TYPE
{
/// Auto detect.
/// TI text.
FILETYPE_TI_TXT,
/// Intel hex.
FILETYPE_INTEL_HEX,
};
#endif // _MSP430_H_
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -