📄 _gio.h
字号:
/*
* Copyright 2003 by Texas Instruments Incorporated.
* All rights reserved. Property of Texas Instruments Incorporated.
* Restricted rights to use, duplicate or disclose this code are
* granted through contract.
*
*/
/* "@(#) DDK 1.11.00.00 11-04-03 (ddk-b13)" */
/*
* ======== _gio.h ========
* GIO private header file.
*
*/
#ifndef _GIO_
#define _GIO_
#include <std.h>
#include <iom.h>
#include <mem.h>
#ifdef __cplusplus
extern "C" {
#endif
#define _GIO_mkPacket() MEM_alloc(0, sizeof(IOM_Packet), 0);
#define _GIO_rmPacket(packet) MEM_free(0, packet, sizeof(IOM_Packet));
/*
* Mini-driver's i/o completion callback routine.
*/
extern Void _GIO_iomCallback(Ptr cbArg, IOM_Packet *packet);
#ifdef __cplusplus
}
#endif /* extern "C" */
#endif /* _GIO_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -