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

📄 osmaster.h

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

    List of routines in file :

    File history :
*/

#ifndef __OSMASTER_H
#define __OSMASTER_H

/* received event description: */
typedef struct {
        uchar   status;         /* DRV_RUNNING or DRV_ENDED */
        uchar   id_drv;         /* driver number */
        DRV_OUT *pt;            /* pointer to the returning structure of the driver */
}MONOS_EVENT_DETECTED;

/* event treatement report: */
/* (returning data structure at the end of the application execution) */
typedef struct  {
        uchar   treatment_status;       /* TREATED or NOT_TREATED */
        uchar   appli_nr;               /* application number */
        uchar   application_status;     /* execution status */
        uchar * xxdata;                 /* returning datas */
} MONOS_EVENT_TRT_REPORT;

#define drv_awake           255         /* AWAKE event detected  */
#define drv_incoming_call   254         /* incoming call detected */

uchar   Os__enable_monos_event(void);
MONOS_EVENT_DETECTED *Os__wait_monos_event(void);
MONOS_EVENT_TRT_REPORT *Os__trt_monos_event(MONOS_EVENT_DETECTED *pt);
MONOS_EVENT_TRT_REPORT *Os__monos_event(struct seven *pt);
void    Os__start_switching_printer(uchar *);
uchar   *Os__end_switching_printer(void);
void    Os__set_amount_sign_credit(void);
void    Os__set_amount_sign_debit(void);

#endif

⌨️ 快捷键说明

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