代码搜索:IO控制
找到约 10,000 项符合「IO控制」的源代码
代码结果 10,000
www.eeworm.com/read/392021/8367071
h io.h
/* io.h -- declarations of Input/Output functions
see README, qhull.h and io.c
copyright (c) 1993-1995, The Geometry Center
*/
#ifndef qhDEFio
#define qhDEFio 1
/* --------------------------
www.eeworm.com/read/292214/8367164
asm io.asm
;===================== 硬件实验 简单I/O口扩展 ==========================
;输入单元8芯接口与高低电平接口单元的8芯接口相连
;输出单元8芯接口与发光显示单元的8芯接口相连
ORG 0
START: MOV DPTR,#8e00H ;指向输入/输出控制口
MOVX A,@DPTR
www.eeworm.com/read/292177/8369636
c io.c
#include"sim.h"
void WriteImage(PictImage *image, char *filename)
{
int status;
FILE *f_out;
/* Opening file */
if ((f_out = fopen(filename,"ab")) == NULL)
{
fprintf(stderr,"%s%s\n
www.eeworm.com/read/292177/8369780
c io.c
#include"sim.h"
void WriteImage(PictImage *image, char *filename)
{
int status;
FILE *f_out;
/* Opening file */
if ((f_out = fopen(filename,"ab")) == NULL)
{
fprintf(stderr,"%s%s\n
www.eeworm.com/read/192525/8376390
h io.h
/***************************************************************************\
Copyright (c) 2004-2007 threewater@up-tech.com, All rights reserved.
by threewter 2004.4.26
\************************
www.eeworm.com/read/192512/8378141
h io.h
/***************************************************************************\
Copyright (c) 2004-2007 threewater@up-tech.com, All rights reserved.
by threewter 2004.4.26
\************************
www.eeworm.com/read/192315/8386758
h io.h
/***************************************************************************\
Copyright (c) 2004-2007 threewater@up-tech.com, All rights reserved.
by threewter 2004.4.26
\************************
www.eeworm.com/read/291779/8395985
h io.h
//// 硬件端口字节输出函数。
// 参数:value - 欲输出字节;port - 端口。
#define outb(value,port) _outb((unsigned char)(value),(unsigned short)(port))
void _inline _outb(unsigned char value,unsigned short port) //passed
{
www.eeworm.com/read/291779/8396577
h io.h
//// 硬件端口字节输出函数。
// 参数:value - 欲输出字节;port - 端口。
#define outb(value,port) \
__asm__ ( "outb %%al,%%dx":: "a" (value), "d" (port))
//// 硬件端口字节输入函数。
// 参数:port - 端口。返回读取的字节。
#define inb(port) ({ \
unsi
www.eeworm.com/read/291498/8412443
h io.h
#define outb(value,port) \
__asm__ ("outb %%al,%%dx"::"a" (value),"d" (port))
#define inb(port) ({ \
unsigned char _v; \
__asm__ volatile ("inb %%dx,%%al":"=a" (_v):"d" (port)); \
_v; \
})
#define