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

📄 gio_cfg.c

📁 DSP/BIOS Driver Developer Kit 1.11 The DSP/BIOS Driver Developer Kit (DDK) provides a selection of
💻 C
字号:
/*
 *  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_cfg.c ========
 *  General Input/Output Module's public header file.
 *
 */

#include <std.h>

#include <gio.h>
#include <sem.h>

/*
 *  A pointer named 'GIO' and a global GIO_CONFIG structure will be initialized
 *  by the configuration tool to point to an GIO_Config structure.  This 
 *  structure will be referenced at run-time so that IOM will not have any
 *  hard-coded reference to SEM_pend, SEM_post, etc. This will allow IOM to
 *  be used in TSK and non-TSK based applications.
 */
GIO_Config GIO_CONFIG = {
    (GIO_TsemCreate)SEM_create,
    (GIO_TsemDelete)SEM_delete,
    (GIO_TsemPend)SEM_pend,
    (GIO_TsemPost)SEM_post
};

GIO_Config *GIO = &GIO_CONFIG;

⌨️ 快捷键说明

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