代码搜索:MyPort
找到约 116 项符合「MyPort」的源代码
代码结果 116
www.eeworm.com/read/357800/10200948
h myport.h
#define PORTTALK_TYPE 40001
#define IOCTL_READ_PORT_UCHAR \
CTL_CODE(PORTTALK_TYPE, 0x904, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_WRITE_PORT_UCHAR \
CTL_CODE(PORTTALK_TYPE, 0x
www.eeworm.com/read/357800/10200951
cpp myport.cpp
#include "stdafx.h"
#include "conio.h"
#include "windows.h"
#include
#include "myport.h"
HANDLE PortTalk_Handle = NULL; /* Handle for PortTalk Driver */
unsigned char Ope
www.eeworm.com/read/446942/7562674
zip myport.zip
www.eeworm.com/read/333753/12661560
sys myport.sys
www.eeworm.com/read/333750/12661699
c myport.c
#include
#include "MyPort.h"
// IOPM是65536个端口的位屏蔽矩阵,包含8192字节(8192 x 8 = 65536)
// 0 bit: 允许应用程序访问对应端口
// 1 bit: 禁止应用程序访问对应端口
#define IOPM_SIZE 8192
typedef UCHAR IOPM[IOPM_SIZE
www.eeworm.com/read/333750/12661702
h myport.h
#if !defined(MYPORT_H__)
#define MYPORT_H__
// 设备类型定义
// 0-32767被Microsoft占用,用户自定义可用32768-65535
#define FILE_DEVICE_MYPORT 0x0000f000
// I/O控制码定义
// 0-2047被Microsoft占用,用户自定义可用2048-4095
#de
www.eeworm.com/read/321683/13400876
_h myport._h
#ifndef __MYPORT_H
#define __MYPORT_H
void port_init(void);
#endif
www.eeworm.com/read/321683/13400877
_c myport._c
#include "includes.h"
/*port initiate*/
void port_init0(void)
{
PORTA = 0xFF;
DDRA = 0xFF;
PORTB = 0x00;
DDRB = 0x00;
PORTC = 0x00;
DDRC = 0xFF;
PORTD = 0x00;
DDRD = 0x00;
www.eeworm.com/read/321683/13400885
h myport.h
#ifndef __MYPORT_H
#define __MYPORT_H
void port_init0(void);
void port_init1(void);
void port_init2(void);
#endif
www.eeworm.com/read/321683/13400896
s myport.s
.module myport.c
.area text(rom, con, rel)
.dbfile E:\zhangxuehuan\uart_0\myport.c
.dbfunc e port_init0 _port_init0 fV
.even
_port_init0::
.dbline -1
.dbline 5
; #include "includes.h"