Welcome![Sign In][Sign Up]
Location:
Search - 0x80

Search list

[Windows Developusbtest

Description: /*串行口操作模式1:8位UART,波特率可变,11.0592晶振*/ TMOD = 0x20 /*定时器*计数器1的操作模式为2*/ PCON = 0x80|PCON /*SMOD 置1*/ TH1 = 0xfd /*定时器1的重装载值,此时若SMOD=0,9.6K SMOD=1,19.2K*/ TR1 = 1 /*定时器*计数器1开始工作*/ REN = 1 /*允许串行口接收*/-/ * serial port mode 1:8 bit UART, variable baud rate, crystal * 11.0592 / TMOD = 0x20 / * * timer counter a mode of operation for 2 * / P CON = 0x80 | PCON / * 1 * SMOD home / 0xfd TH1 = / * Incorporation of a timer contains the value at this time if SMOD = 0,9.6 SMOD K = 1, 19.2K * / TR1 = 1 / * * counter a timer to start work * / ticker = 1 / * Allow Serial Port receiver * /
Platform: | Size: 51664 | Author: rty | Hits:

[Windows Develophostdebugger

Description: /*串行口操作模式1:8位UART,波特率可变,11.0592晶振*/ TMOD = 0x20 /*定时器*计数器1的操作模式为2*/ PCON = 0x80|PCON /*SMOD 置1*/ TH1 = 0xfd /*定时器1的重装载值,此时若SMOD=0,9.6K SMOD=1,19.2K*/ TR1 = 1 /*定时器*计数器1开始工作*/ REN = 1 /*允许串行口接收*/-/ * serial port mode 1:8 bit UART, variable baud rate, crystal * 11.0592 / TMOD = 0x20 / * * timer counter a mode of operation for 2 * / P CON = 0x80 | PCON / * 1 * SMOD home / 0xfd TH1 = / * Incorporation of a timer contains the value at this time if SMOD = 0,9.6 SMOD K = 1, 19.2K * / TR1 = 1 / * * counter a timer to start work * / ticker = 1 / * Allow Serial Port receiver * /
Platform: | Size: 65939 | Author: rty | Hits:

[Other resourceYUVTest(0x80)

Description: YUV数据的直接显示,用于那些对yuv不是很了解的人还是很有帮助的,请大家看看吧-YUV data directly, for those who do not know much about yuv person or helpful, If you look at it
Platform: | Size: 306898 | Author: xieyi | Hits:

[Other resourceresbin

Description: 名称:read2543 功能:TLC2543驱动模块 输入参数:port通道号 输出参数:ad转换值 *************************************/ uint read2543(uchar port) { uint ad=0,i CLOCK=0 _CS=0 port<<=4 for(i=0 i<12 i++) { if(D_OUT) ad|=0x01 D_IN=(bit)(port&0x80) CLOCK=1 delay(3) CLOCK=0 delay(3) port<<=1 ad<<=1 } _CS=1 ad>>=1 return(ad) }
Platform: | Size: 10661658 | Author: 杨风 | Hits:

[File OperatenewHD7279

Description: #include <reg51.h> /*-------------------------------------------- 调用方式:自行I/O 口定义﹫2001/05/12 函数说明:私有函数,各接口定义 --------------------------------------------*/ sbit HD7279_CS=P1^4 // HD7279_CS--P1.4 sbit HD7279_CLK=P1^5 // HD7279_CLK-- P1.5 sbit HD7279_DATA=P1^6 // HD7279_DATA-- P1.2 sbit HD7279_KEY =P1^7 // HD7279_KEY-- P1.3 /*-------------------------------------------- 调用方式: HD7279A 各指令定义﹫2001/05/12 函数说明:私有函数,接口定义 --------------------------------------------* /#define HD7279_RESET 0xa4 //复位 #define HD7279_TEST 0xbf //测试 #define HD7279_RLC 0xa3 //循环左移 #define HD7279_RRC 0xa2 //循环右移 #define HD7279_RL 0xa1 //左移 #define HD7279_RR 0xa0 //右移 #define HD7279_DECODE0 0x80 //译码方式0 #define HD7279_DECODE1 0xc8 //译码方式1
Platform: | Size: 4424 | Author: 徐亮 | Hits:

[Other resourcesddriver

Description: SD卡驱动 SD_CARD_TIMEOUT 当一个SD卡的操作超出时限,将导致返回错误和该标记被置位 SD_CARD_EXIST 当卡槽内插入了合适的卡体,不管是什么卡,都会使该位被设置; SD_CARD_WRITE_PROTECT 当卡体的写保护开关被 LOCK 时,则该位被设置; SD_CARD_READY 当卡槽内的卡被正确识别,并可以随时访问时,则该位被设置; SD_CARD_DOOR_CLOSE 当卡槽的门(产品外壳上的挡板开关)关闭时,则该位被设置; SD_CARD_IS_SD 当卡槽内插入的是 SD 卡时,则该位被设置。 SD_CARD_IS_MMC 当卡槽内插入的是 MMC 卡时,则该位被设置; 注意:不要使用 0x80,免得和整数作逻辑运算时被误为负数。
Platform: | Size: 6887 | Author: mzhguang | Hits:

[Crack Hack特殊磁道加密源代码

Description: 使用的是API编程,可格式化、校验和读写特殊扇区。可用作Windows下的磁盘加密。本函数还有以下两个缺点以待改进: 1.本函数还只能读能读 A: 和 B:,即只能对软盘操作 2.不能改变磁盘扇区大小,只能是标准的 512 个字节。 参数说明: command 操作: 0 重置磁盘 2 读扇区 3 写扇区 4 校验磁道 5 格式化磁道 8 得到设备参数 (int 1EH) drive 驱动器 A:=0 B:=1 head 磁头号,范围 0 - 1 track 磁道号,范围 0 - 84 ( 80 - 84 为特殊磁道,通常用来加密 ) sector 扇区号,范围 0 - 255 ( 19 - 255 为非标准扇区编号,通常用来加密) nsectors 每次读或写的扇区数,不能超出每磁道的最大扇区数 buffer 数据写入或读出的缓冲区,大小为 512 个字节 返回值 ( 同 Int 13H ): 0x0 成功 0x1 无效的命令 0x3 磁盘被写保护 0x4 扇区没有找到 0xa 发现坏扇区 0x80 磁盘没有准备好-using the API programming, formatting and testing literacy and special sectors. Windows can be used as a disk encryption. This function has the following two shortcomings to be improved : 1. This function can only be read, read A : and B : that only the right to operate two floppy disks. No change disk sector size, the standard is only 512 bytes. Parameter Description : command operations : 0 Reading 2 replacement disk write Sector Sector 3 4 5 checksum track to be formatted track eight equipment parameters (int 1EH) drive drive A : = 0 B : = 1 head head, range 0-1 track track, the range of 0-84 (80-84 for special track, normally used for encryption) sector sector, the scope of 0-255 (19-255 for a non-standard sector numbers, commonly used encryption) nsectors each read or write in the num
Platform: | Size: 38856 | Author: 李小 | Hits:

[SCMst7565s12864.rar

Description: / 函数: void LCD_DataWrite(unsigned int Data) // 描述: 写一个字节的显示数据至LCD中的显示缓冲RAM当中 // 参数: Data 写入的数据 // 返回: 无 // 备注: 无 // 版本: // 2007/01/09 First version //============================================================== void LCD_DataWrite(unsigned char Dat)//,_Fill_Dot_LCD { unsigned char Num; LCD_CS = 0; LCD_A0 = 1; for(Num=0;Num<8;Num++) { if((Dat&0x80) == 0) LCD_SDI = 0; else LCD_SDI = 1; Dat = Dat << 1; LCD_CLK = 0; LCD_CLK = 1; } LCD_CS = 1; } //========================================================== // 函数: void LCD_RegWrite(unsigned char Command) // 描述: 写一个字节的数据至LCD中的控制寄存器当中 // 参数: Command 写入的数据,低八位有效(byte) // 返回: 无 // 备注: // 版本: // 2007/01/09 First version //=============================================================== void LCD_RegWrite(unsigned char Command) { unsigned char Num; LCD_CS = 0; LCD_A0 = 0; for(Num=0;Num<8;Num++) { if((Command&0x80) == 0) LCD_SDI = 0; else LCD_SDI = 1; Command = Command << 1; LCD_CLK = 0; LCD_CLK = 1; } LCD_CS = 1; }
Platform: | Size: 3361 | Author: dpy18@163.com | Hits:

[Crack Hack特殊磁道加密源代码

Description: 使用的是API编程,可格式化、校验和读写特殊扇区。可用作Windows下的磁盘加密。本函数还有以下两个缺点以待改进: 1.本函数还只能读能读 A: 和 B:,即只能对软盘操作 2.不能改变磁盘扇区大小,只能是标准的 512 个字节。 参数说明: command 操作: 0 重置磁盘 2 读扇区 3 写扇区 4 校验磁道 5 格式化磁道 8 得到设备参数 (int 1EH) drive 驱动器 A:=0 B:=1 head 磁头号,范围 0 - 1 track 磁道号,范围 0 - 84 ( 80 - 84 为特殊磁道,通常用来加密 ) sector 扇区号,范围 0 - 255 ( 19 - 255 为非标准扇区编号,通常用来加密) nsectors 每次读或写的扇区数,不能超出每磁道的最大扇区数 buffer 数据写入或读出的缓冲区,大小为 512 个字节 返回值 ( 同 Int 13H ): 0x0 成功 0x1 无效的命令 0x3 磁盘被写保护 0x4 扇区没有找到 0xa 发现坏扇区 0x80 磁盘没有准备好-using the API programming, formatting and testing literacy and special sectors. Windows can be used as a disk encryption. This function has the following two shortcomings to be improved : 1. This function can only be read, read A : and B : that only the right to operate two floppy disks. No change disk sector size, the standard is only 512 bytes. Parameter Description : command operations : 0 Reading 2 replacement disk write Sector Sector 3 4 5 checksum track to be formatted track eight equipment parameters (int 1EH) drive drive A : = 0 B : = 1 head head, range 0-1 track track, the range of 0-84 (80-84 for special track, normally used for encryption) sector sector, the scope of 0-255 (19-255 for a non-standard sector numbers, commonly used encryption) nsectors each read or write in the num
Platform: | Size: 38912 | Author: 李小 | Hits:

[Windows Developusbtest

Description: /*串行口操作模式1:8位UART,波特率可变,11.0592晶振*/ TMOD = 0x20 /*定时器*计数器1的操作模式为2*/ PCON = 0x80|PCON /*SMOD 置1*/ TH1 = 0xfd /*定时器1的重装载值,此时若SMOD=0,9.6K SMOD=1,19.2K*/ TR1 = 1 /*定时器*计数器1开始工作*/ REN = 1 /*允许串行口接收*/-/* serial port mode 1:8 bit UART, variable baud rate, crystal* 11.0592/TMOD = 0x20/** timer counter a mode of operation for 2*/P CON = 0x80 | PCON/* 1* SMOD home/0xfd TH1 =/* Incorporation of a timer contains the value at this time if SMOD = 0,9.6 SMOD K = 1, 19.2K*/TR1 = 1/** counter a timer to start work*/ticker = 1/* Allow Serial Port receiver* /
Platform: | Size: 51200 | Author: rty | Hits:

[Windows Develophostdebugger

Description: /*串行口操作模式1:8位UART,波特率可变,11.0592晶振*/ TMOD = 0x20 /*定时器*计数器1的操作模式为2*/ PCON = 0x80|PCON /*SMOD 置1*/ TH1 = 0xfd /*定时器1的重装载值,此时若SMOD=0,9.6K SMOD=1,19.2K*/ TR1 = 1 /*定时器*计数器1开始工作*/ REN = 1 /*允许串行口接收*/-/* serial port mode 1:8 bit UART, variable baud rate, crystal* 11.0592/TMOD = 0x20/** timer counter a mode of operation for 2*/P CON = 0x80 | PCON/* 1* SMOD home/0xfd TH1 =/* Incorporation of a timer contains the value at this time if SMOD = 0,9.6 SMOD K = 1, 19.2K*/TR1 = 1/** counter a timer to start work*/ticker = 1/* Allow Serial Port receiver* /
Platform: | Size: 65536 | Author: rty | Hits:

[Graph DrawingYUVTest(0x80)

Description: YUV数据的直接显示,用于那些对yuv不是很了解的人还是很有帮助的,请大家看看吧-YUV data directly, for those who do not know much about yuv person or helpful, If you look at it
Platform: | Size: 307200 | Author: xieyi | Hits:

[VC/MFCresbin

Description: 名称:read2543 功能:TLC2543驱动模块 输入参数:port通道号 输出参数:ad转换值 *************************************/ uint read2543(uchar port) { uint ad=0,i CLOCK=0 _CS=0 port<<=4 for(i=0 i<12 i++) { if(D_OUT) ad|=0x01 D_IN=(bit)(port&0x80) CLOCK=1 delay(3) CLOCK=0 delay(3) port<<=1 ad<<=1 } _CS=1 ad>>=1 return(ad) } -Name: read2543 function: TLC2543 driver module input parameters: port-channel output parameter No.: ad conversion values*************************************/ uint read2543 (uchar port) (uint ad = 0, i CLOCK = 0 _CS = 0 port
Platform: | Size: 10661888 | Author: 杨风 | Hits:

[File FormatnewHD7279

Description: #include <reg51.h> /*-------------------------------------------- 调用方式:自行I/O 口定义﹫2001/05/12 函数说明:私有函数,各接口定义 --------------------------------------------*/ sbit HD7279_CS=P1^4 // HD7279_CS--P1.4 sbit HD7279_CLK=P1^5 // HD7279_CLK-- P1.5 sbit HD7279_DATA=P1^6 // HD7279_DATA-- P1.2 sbit HD7279_KEY =P1^7 // HD7279_KEY-- P1.3 /*-------------------------------------------- 调用方式: HD7279A 各指令定义﹫2001/05/12 函数说明:私有函数,接口定义 --------------------------------------------* /#define HD7279_RESET 0xa4 //复位 #define HD7279_TEST 0xbf //测试 #define HD7279_RLC 0xa3 //循环左移 #define HD7279_RRC 0xa2 //循环右移 #define HD7279_RL 0xa1 //左移 #define HD7279_RR 0xa0 //右移 #define HD7279_DECODE0 0x80 //译码方式0 #define HD7279_DECODE1 0xc8 //译码方式1 -# Include <reg51.h> /*-------------------------------------------- call way: on their own I/O port function definition @ 2001/05/12 Description: private function, the interface definition--------------------------------------------*/ sbit HD7279_CS = P1 ^ 4// HD7279_CS- P1.4sbit HD7279_CLK = P1 ^ 5// HD7279_CLK- P1. 5sbit HD7279_DATA = P1 ^ 6// HD7279_DATA- P1.2sbit HD7279_KEY = P1 ^ 7// HD7279_KEY- P1.3 /*-------------------------------------------- way call: HD7279A the command function definition @ 2001/05/12 Description: private function, interface definitions--------------------------------------------*/# define HD7279_RESET 0xa4// reset# define HD7279_TEST 0xbf// test# define HD7279_RLC 0xa3// circle left# define HD7279_RRC 0xa2// cycle shifted to right# define HD7279_RL 0xa1// left# define HD7279_RR 0xa0// Move right# define HD7279_DECODE0 0x80// decoding means 0# define HD7279_DECODE1 0xc8// decoding mode 1
Platform: | Size: 4096 | Author: 徐亮 | Hits:

[SCMsddriver

Description: SD卡驱动 SD_CARD_TIMEOUT 当一个SD卡的操作超出时限,将导致返回错误和该标记被置位 SD_CARD_EXIST 当卡槽内插入了合适的卡体,不管是什么卡,都会使该位被设置; SD_CARD_WRITE_PROTECT 当卡体的写保护开关被 LOCK 时,则该位被设置; SD_CARD_READY 当卡槽内的卡被正确识别,并可以随时访问时,则该位被设置; SD_CARD_DOOR_CLOSE 当卡槽的门(产品外壳上的挡板开关)关闭时,则该位被设置; SD_CARD_IS_SD 当卡槽内插入的是 SD 卡时,则该位被设置。 SD_CARD_IS_MMC 当卡槽内插入的是 MMC 卡时,则该位被设置; 注意:不要使用 0x80,免得和整数作逻辑运算时被误为负数。-err
Platform: | Size: 6144 | Author: mzhguang | Hits:

[VHDL-FPGA-VerilogP8051

Description: This a FREE tool chain which compiles C codes into 8051 binary code, converts the binary to RTL ROM, and simulate in Modelsim. SDCC is the compiler. Example compilation: cd compile sdcc --iram-size 0x80 --xram-size 0x800 t8051.c REM sdcc --iram-size 0x80 t8051.c packihx t8051.ihx > t8051.hex ..\test\mkrom.exe ..\compile\t8051.hex-This a FREE tool chain which compiles C codes into 8051 binary code, converts the binary to RTL ROM, and simulate in Modelsim.SDCC is the compiler.Example compilation: cd compile sdcc- iram-size 0x80- xram-size 0x800 t8051 . c REM sdcc- iram-size 0x80 t8051.c packihx t8051.ihx> t8051.hex .. estmkrom.exe .. compile 8051.hex
Platform: | Size: 8100864 | Author: zhao xin ke | Hits:

[SCM128641

Description: CHUSHIHUA()//初始化 Display(0x80,"显示内容") -CHUSHIHUA ()// initialization Display (0x80, Display Properties )
Platform: | Size: 1024 | Author: 何鹏 | Hits:

[Embeded-SCM Develop18B20LED

Description: //温度数码管显示演示程序 //数码管位选信号 :由右到左为P20、P21、P22、P23、P24、P33 //数码管数据线 :P0口 //数码管数字码 :0 0xC0 1 0xF9 2 0xA4 3 0xB0 4 0x99 5 0x92 6 0x82 7 0xF8 8 0x80 9 0x90 //数码管带点码 :0 0x40 1 0x79 2 0x24 3 0x30 4 0x19 5 0x12 6 0x02 7 0x78 8 0x00 9 0x10 //18B20端口DQ :P27-unsigned char code LEDData1 [ ] = {0xc0, 0xf9, 0xa4, 0xb0, 0x99, 0x92, 0x82, 0xf8, 0x80, 0x90} //0-9 unsigned char code LEDData2 [ ] = {0x40, 0x79, 0x24, 0x30, 0x19, 0x12, 0x02, 0x78, 0x00, 0x10}
Platform: | Size: 1024 | Author: 刘海 | Hits:

[ActiveX/DCOM/ATLoooo

Description: 用write_com(0x80+0x00+X)确定显示的字符在第一行的X列 用write_com(0x80+0x40+Y)确定显示的字符在第二行的Y列 write_data(XX) 是写数据,XX是FONT TABLE. 注意:这里en,rs分别接的是P3^4,P3^5;数据口接的是P0口。先要初始化.-With write_com (0x80+0 x00+ X) to determine the characters displayed in the first line of the X series with write_com (0x80+0 x40+ Y) to determine the characters displayed in the second line of the Y out write_data (XX) is to write data, XX is the FONT TABLE. Note: This en, rs, respectively, then the P3 ^ 4, P3 ^ 5 data I received is that I P0. Initialized first.
Platform: | Size: 2048 | Author: cch | Hits:

[Windows Develop1602_Diver

Description: #include<reg51.h> #include<intrins.h> #define uchar unsigned char #define uint unsigned int #define busy 0x80 #define DATAPORT P1 //数据端口 sbit RS=P3^5 sbit RW=P3^6 sbit ENABLE=P3^7 code char example[]="Waitting for you" void delay400ms(void) void delay5ms(void) void lcdwritedata(char data w) void waitforenable(void) void lcdwritecommand(uchar CMD,uchar ATT) void lcdreset(void) void display(uchar dd) void displayonechar(uchar x,uchar y,uchar wdata) void epustr(uchar x,uchar y,uchar code *ptr) -#include<reg51.h> #include<intrins.h> #define uchar unsigned char #define uint unsigned int #define busy 0x80 #define DATAPORT P1 //数据端口 sbit RS=P3^5 sbit RW=P3^6 sbit ENABLE=P3^7 code char example[]="Waitting for you" void delay400ms(void) void delay5ms(void) void lcdwritedata(char data w) void waitforenable(void) void lcdwritecommand(uchar CMD,uchar ATT) void lcdreset(void) void display(uchar dd) void displayonechar(uchar x,uchar y,uchar wdata) void epustr(uchar x,uchar y,uchar code*ptr)
Platform: | Size: 1024 | Author: Tnavy | Hits:
« 12 3 »

CodeBus www.codebus.net