亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? api_device.h

?? ARM嵌入式系統開發--軟件設計與優化隨書源代碼。開發環境asm+c
?? H
字號:
/*
 *  ____________________________________________________________________
 * 
 *  Copyright (c) 2003, Andrew N. Sloss, Chris Wright and Dominic Symes
 *  All rights reserved.
 *  ____________________________________________________________________
 * 
 *  NON-COMMERCIAL USE License
 *  
 *  Redistribution and use in source and binary forms, with or without 
 *  modification, are permitted provided that the following conditions 
 *  are met: 
 *  
 *  1. For NON-COMMERCIAL USE only.
 * 
 *  2. Redistributions of source code must retain the above copyright 
 *     notice, this list of conditions and the following disclaimer. 
 * 
 *  3. Redistributions in binary form must reproduce the above 
 *     copyright notice, this list of conditions and the following 
 *     disclaimer in the documentation and/or other materials provided 
 *     with the distribution. 
 * 
 *  4. All advertising materials mentioning features or use of this 
 *     software must display the following acknowledgement:
 * 
 *     This product includes software developed by Andrew N. Sloss,
 *     Chris Wright and Dominic Symes. 
 * 
 *   THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTORS ``AS IS'' AND ANY 
 *   EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
 *   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 
 *   PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE CONTRIBUTORS BE 
 *   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, 
 *   OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
 *   PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 
 *   OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 
 *   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR 
 *   TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 
 *   OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY 
 *   OF SUCH DAMAGE. 
 * 
 *  If you have questions about this license or would like a different
 *  license please email :
 * 
 * 	andrew@sloss.net
 * 
 * 
 */
 
/*****************************************************************************
 * Simple Little Operating System - SLOS
 *****************************************************************************/

/*****************************************************************************
 *
 * Module     : api_device.h
 * Descripion : SWI API for DDF model (liMa)
 * OS         : SLOS 0.09
 * Platform   : generic
 * History    :
 *
 * 15th July 2002 Andrew N. Sloss
 * - added header
 *
 * 9th July 2003 Andrew N. Sloss
 * - added new headers
 *****************************************************************************/

/*****************************************************************************
 * IMPORT
 *****************************************************************************/

#include "../cm940iap/events/swis.h"

/*****************************************************************************
 * API's
 *****************************************************************************/

/* -- eventIODeviceInit ------------------------------------------------------
 *
 * Description : initializes all internal device driver data structures.
 *               this routine should only be called once. Unless for some
 *               reason you need to reset all the device drivers.
 *
 * Parameters  : none....
 * Return      : none...
 * Notes       :
 * 
 *  This function is called in the core/cinit.c file
 *  
 *    eventIOdeviceInit();
 *
 */

__swi (SLOS) void _eventIODeviceInit (UINT);
#define eventIODeviceInit() _eventIODeviceInit (Event_IODeviceInit)

/* -- eventIODeviceOpen ------------------------------------------------------
 *
 * Description : open a device driver
 *
 * Parameters  : UID * - address for UID
 *             : UINT - major device. For example, SERIAL
               : UINT - minor device. For exmaple, COM1
 * Return      : device_treestr * - pointer to device driver
 * Notes       :
 * 
 *   This function is used to open a COM1 of a SERIAL device.
 *   Example: 
 *
 *   handle = eventIODeviceOpen(&UID,SERIAL,COM1);
 *
 *   if (handle==DEVICE_UNKNOWN || handle==DEVICE_IN_USE)
 *   {
 *   canNotOpenDevice(); 
 *   }
 */

__swi (SLOS) device_treestr *_eventIODeviceOpen (UINT,UID *,UINT,UINT);
#define eventIODeviceOpen(a,b,c) _eventIODeviceOpen \
          (Event_IODeviceOpen,(a),(b),(c))

/* -- eventIODeviceClose -----------------------------------------------------
 *
 * Description : close a device driver
 *
 * Parameters  : device_treestr * - pointer to device driver
 *             : UID - unique identifer
 * Return      : int
 * Notes       : 
 *
 *  This is used to close an open device
 *  Example: 
 *
 *    if (eventIODeviceClose(handle,id)!=DEVICE_SUCCESS)
 *    {
 *    couldNotCloseDevice();
 *    }
 */

__swi (SLOS) int _eventIODeviceClose (UINT,device_treestr *,UID);
#define eventIODeviceClose(a,b) _eventIODeviceClose \
          (Event_IODeviceClose,(a),(b))

/* -- eventIOeviceWriteByte --------------------------------------------------
 *
 * Description : write a byte to an open device
 *
 * Parameters  : device_treestr * - pointer to device driver
 *             : UID - unique identifier
 *             : UINT - byte store in the lower 8-bits
 * Return      : none...
 * Notes       :
 *
 *   This is used to write a byte to an open device 
 *   Example: eventIODeviceWriteByte(handle,id,c);
 */

__swi (SLOS) void _eventIODeviceWriteByte (UINT,device_treestr *,UID,UINT);
#define eventIODeviceWriteByte(a,b,c) _eventIODeviceWriteByte \
          (Event_IODeviceWriteByte,(a),(b),(c))

/* -- eventIODeviceReadByte --------------------------------------------------
 *
 * Description : read a byte from a device
 *
 * Parameters  : device_treestr * - pointer to device driver
 *             : UID - unique identifier
 * Return      : UINT - least significant 8-bits contain the byte
 * Notes       :
 * 
 *  This is used to read a byte from an open device
 *  Example: c = eventIODeviceReadByte(handle,id);
 */

__swi (SLOS) UINT _eventIODeviceReadByte (UINT,device_treestr *,UID);
#define eventIODeviceReadByte(a,b) _eventIODeviceReadByte \
          (Event_IODeviceReadByte,(a),(b))

/* -- eventIODeviceWriteBit --------------------------------------------------
 *
 * Description : write a bit to a device
 *
 * Parameters  : device_treestr * - pointer to device driver
 *             : UID - unique identifier
 *             : UINT - byte store in the lower 1-bits 
 * Return      : none...
 * Notes       :
 * 
 *  This is used to write a bit to an open device
 *  Example: eventIOdeviceWriteBit(handle,id,bit);
 */

__swi (SLOS) void _eventIODeviceWriteBit (UINT,device_treestr *,UID,UINT);
#define eventIODeviceWriteBit(a,b,c) _eventIODeviceWriteBit \
          (Event_IODeviceWriteBit,(a),(b),(c))

/* -- eventIODeviceReadBit ---------------------------------------------------
 *
 * Description : read a bit from a device
 *
 * Parameters  : device_treestr * - pointer to device driver
 *             : UID - unique identifier
 * Return      : UINT - least significant bits contains the bit
 * Notes       :
 * 
 *  This is used to read a bit from an open device
 *  Example: bit = eventIODeviceReadBit(handle,id);
 */

__swi (SLOS) UINT _eventIODeviceReadBit (UINT,device_treestr *,UID);
#define eventIODeviceReadBit(a,b) _eventIODeviceReadBit \
          (Event_IODeviceReadBit,(a),(b))

/* -- eventIODeviceWriteBlock ------------------------------------------------
 *
 * Description : write a block to a device
 *
 * Parameters  : device_treestr * - pointer to device driver
 *             : UID - unique identifier
 *             : void * - point block to write to a device
 * Notes       :
 * 
 *  This is used to write a block to an open device
 *  Example: eventIODeviceWriteBlock(handle,id,&block);
 */

__swi (SLOS) void _eventIODeviceWriteBlock (UINT,device_treestr *,UID,void *);
#define eventIODeviceWriteBlock(a,b,c) _eventIODeviceWriteBlock \
          (Event_IODeviceWriteBlock,(a),(b),(c))

/* -- event_eventIODeviceReadBlock -------------------------------------------
 *
 * Description : read a block from a device
 *
 * Parameters  : device_treestr * - pointer to device driver
 *             : UID - unique identifier
 * Return      : void * - pointer to data block
 * Notes       :
 * 
 *  This is used to read a block from an open device
 *  Example: block = eventIODeviceReadBlock(handle,id);
 */

__swi (SLOS) void * _eventIODeviceReadBlock (UINT,device_treestr *,UID);
#define eventIODeviceReadBlock(a,b) _eventIODeviceReadBlock \
          (Event_IODeviceReadBlock,(a),(b))


?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91猫先生在线| 国产高清无密码一区二区三区| 色综合视频一区二区三区高清| 欧美极品aⅴ影院| 波多野洁衣一区| 亚洲精品国产a久久久久久| 欧美自拍偷拍一区| 亚洲国产一区二区在线播放| 欧美浪妇xxxx高跟鞋交| 麻豆91精品视频| 国产亚洲精品久| 精品少妇一区二区三区免费观看 | 久久亚洲私人国产精品va媚药| 老司机一区二区| 国产三级精品在线| 色女孩综合影院| 青青草国产精品97视觉盛宴| 国产亚洲欧美日韩日本| 91免费看片在线观看| 婷婷国产在线综合| 国产欧美久久久精品影院| 色偷偷一区二区三区| 免费高清成人在线| 中文一区二区在线观看| 欧美天堂亚洲电影院在线播放| 蜜桃视频第一区免费观看| 国产色爱av资源综合区| 欧美综合亚洲图片综合区| 精品亚洲porn| 一区二区三区四区精品在线视频| 91麻豆精品国产自产在线| 国产成人免费在线| 亚洲成av人片一区二区梦乃| 国产日韩精品一区二区三区 | 国产91在线看| 亚洲高清久久久| 久久精品视频网| 91精品国产综合久久久久久| 国产成+人+日韩+欧美+亚洲| 五月天久久比比资源色| 国产精品理论在线观看| 日韩欧美不卡一区| 日本精品一级二级| 国产91对白在线观看九色| 日本最新不卡在线| 亚洲精品va在线观看| 国产亚洲欧美日韩俺去了| 欧美高清视频在线高清观看mv色露露十八| 国产成人在线看| 蜜桃视频第一区免费观看| 亚洲男同1069视频| 欧美激情一二三区| 亚洲欧美激情一区二区| 久久免费视频一区| 欧美一区三区二区| 欧美日韩一区二区在线观看视频| 成人性生交大片免费看视频在线 | 国产综合久久久久久鬼色| 亚洲图片欧美视频| 亚洲色图清纯唯美| 国产精品久久久久久亚洲伦| 久久久91精品国产一区二区精品 | 国产高清亚洲一区| 精品一区二区免费| 美腿丝袜一区二区三区| 亚洲成av人影院| 亚洲网友自拍偷拍| 亚洲与欧洲av电影| 亚洲精品国产一区二区三区四区在线| 日本一区二区三区久久久久久久久不| 日韩精品一区二区三区在线| 91麻豆精品国产91久久久使用方法 | 国产欧美日本一区视频| 久久综合资源网| 精品日韩av一区二区| 日韩美女在线视频| 日韩欧美国产高清| 欧美一卡二卡三卡| 日韩亚洲欧美一区二区三区| 91麻豆精品国产91久久久久久久久 | 亚洲精品一线二线三线| 日韩欧美一区中文| 日韩欧美中文一区二区| 337p日本欧洲亚洲大胆精品| 欧美成人vps| 久久精品综合网| 国产精品―色哟哟| 中文字幕成人网| 中文字幕一区二区三| 亚洲免费看黄网站| 亚洲大片精品永久免费| 日韩成人dvd| 国内精品久久久久影院薰衣草| 国产资源精品在线观看| 91精品国产综合久久国产大片| 欧美三级中文字幕在线观看| 欧美日韩国产片| 日韩精品一区二区三区在线观看 | 成人免费观看男女羞羞视频| 99re66热这里只有精品3直播| 91在线你懂得| 欧美亚洲一区二区在线| 欧美一区二区福利视频| 久久久久久久性| 亚洲精品v日韩精品| 日本成人在线不卡视频| 国产一区二三区| 色婷婷av一区二区| 日韩午夜中文字幕| 中文字幕在线不卡一区| 亚洲成人动漫一区| 国产精品自拍毛片| 91蜜桃传媒精品久久久一区二区 | 欧美一卡2卡三卡4卡5免费| 久久久久亚洲综合| 亚洲精品一卡二卡| 精品在线你懂的| 在线视频一区二区三区| 久久综合网色—综合色88| 亚洲精品免费电影| 国内精品久久久久影院薰衣草| 色综合一区二区| 欧美精品一区二区三区一线天视频| 中文字幕在线一区免费| 青青草97国产精品免费观看无弹窗版| 丁香婷婷综合激情五月色| 欧美猛男gaygay网站| 中文字幕一区二区在线播放| 日韩国产欧美一区二区三区| 99热精品国产| 日韩美女视频一区二区在线观看| 国产精品不卡视频| 韩国女主播成人在线| 欧美日韩在线不卡| 亚洲欧洲色图综合| 国产乱码精品一区二区三区忘忧草| 亚洲视频在线一区二区| 久久99国产乱子伦精品免费| 欧亚一区二区三区| 国产婷婷色一区二区三区| 免费视频最近日韩| 在线观看日产精品| 成人欧美一区二区三区在线播放| 激情国产一区二区| 91精品国产一区二区三区| 一区二区三区**美女毛片| av影院午夜一区| 久久久久99精品一区| 精品无码三级在线观看视频| 欧美二区在线观看| 亚洲主播在线播放| 91免费版在线| 国产精品国产三级国产普通话99| 国产黄色91视频| 久久亚洲春色中文字幕久久久| 青青青伊人色综合久久| 欧美日韩高清影院| 午夜成人在线视频| 精品视频一区二区三区免费| 亚洲日本在线观看| 99久久久久久99| 亚洲欧洲国产日韩| 99精品一区二区三区| 1区2区3区国产精品| 成人黄色一级视频| 国产精品视频一二三区| 成人开心网精品视频| 国产欧美一区在线| 国产成人福利片| 欧美激情一区二区三区不卡| 成人国产精品视频| 亚洲婷婷在线视频| 在线亚洲+欧美+日本专区| 亚洲午夜在线电影| 69成人精品免费视频| 男女激情视频一区| 精品久久久久av影院 | 高清成人在线观看| 日本一区免费视频| 99视频精品免费视频| 伊人一区二区三区| 欧美另类z0zxhd电影| 在线国产亚洲欧美| 一区二区三区四区蜜桃 | 不卡影院免费观看| 亚洲丝袜自拍清纯另类| 欧美自拍偷拍午夜视频| 日韩精品三区四区| 精品捆绑美女sm三区| 成人黄色国产精品网站大全在线免费观看| 中文字幕视频一区| 欧美亚洲免费在线一区| 免费国产亚洲视频| 国产午夜精品久久| 一本大道av一区二区在线播放| 日韩国产欧美在线播放| 久久久不卡网国产精品二区| www.日韩av| 天堂一区二区在线| 国产亚洲精久久久久久|