⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 osdown.h

📁 应用较为广泛的 杉德 刷卡 POS机 的调用示例。
💻 H
字号:
/*
    Operating System
--------------------------------------------------------------------------
    FILE  osdown.h
--------------------------------------------------------------------------
    INTRODUCTION
    ============
    Created :       2005-05-06      Xiaoxi Jiang
    Last modified : 2005-05-06      Xiaoxi Jiang
    Module :
    Purpose :
        Header file.

    List of routines in file :

    File history :
*/

#ifndef __OSDOWN_H_
#define __OSDOWN_H_


#ifdef __cplusplus
extern "C" {
#endif

#define OSDOWNERR_SUCCESS           0x00
#define OSDOWNERR_BADSIZE           0x01
#define OSDOWNERR_BADCHECKSUM       0x02
#define OSDOWNERR_DOWNTIMEOUT       0x03
#define OSDOWNERR_UARTCONFIG        0x04
#define OSDOWNERR_NOTAPP            0x05
#define OSDOWNERR_BADAPPCRC         0x06
#define OSDOWNERR_SAVESOFT          0x07
#define OSDOWNERR_ABORT             0x08

#define OS_STARTADDR                0x10000
#define OS_STARTADDRFONT            0x70000

unsigned char OSDOWN_Rom(void);
unsigned char OSDOWN_Os(void);
unsigned char OSDOWN_FontGB2312(void);
unsigned char OSDOWN_Soft(unsigned int uiSoftMaxSize);
unsigned char OSDOWN_Save(unsigned int uiAddr,
                unsigned char *pucData,
                unsigned int uiDataLen);
unsigned char OSDOWN_SetUART(void);
unsigned char OSDOWN_CheckOS(unsigned char *pucPtr,unsigned int uiFileSize);


#ifdef __cplusplus
}
#endif

#endif


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -