-
USB协议的细节,以及大量的网上信息。
usb的协议细节,网上有很多信息。
- 2022-05-15 09:48:44下载
- 积分:1
-
CH375并口方式控制打印机
应用背景
单片机通过CH375链接USB口的打印机
// 单片机通过CH375控制USB打印机
// 程序示例,C语言,CH375中断为查询方式,只负责数据传输,不涉及打印格式及打印描述语言
// 另可提供多台计算机共享一台USB打印机的方案
// 以下定义适用于AVR 单片机,其它单片机参照修改,为了提供C语言的速度需要对本程序进行优化
关键技术
/* PORTB |= 0x08; // 输出A0=1
PORTA = mCmd; // 向CH375的并口输出数据
DDRA = 0xFF; // 并口D0-D7输出
PORTB &= 0xF9; // 输出有效写控制信号, 写CH375芯片的命令端口, A0=1; CS=0; WR=0; RD=1;
DDRA = 0xFF; // 该操作无意义,仅作延时,CH375要求读写脉冲宽度大于100nS
PORTB |= 0x07; // 输出无效的控制信号, 完成操作CH375芯片, A0=1; CS=1; WR=1; RD=1;
DDRA = 0x00; // 禁止数据输出
PORTB &= 0xF7; // 输出A0=0; 可选操作
*/
- 2023-09-03 07:10:03下载
- 积分:1
-
教你如何使用LinkedList
teach you how to use linkedlist
- 2023-06-05 06:45:03下载
- 积分:1
-
cp2200网卡的tcp/ip源程序( 包含驱动),十分难得哦
cp2200网卡的tcp/ip源程序( 包含驱动),十分难得哦-CP2200 NIC tcp/ip source code (including drivers), very rare Oh
- 2022-03-20 01:45:11下载
- 积分:1
-
该程序应用轮换查询的方式实现了键盘的扫描,并且应用了加减,等功能及数码显示...
该程序应用轮换查询的方式实现了键盘的扫描,并且应用了加减,等功能及数码显示-Application of the program the way the rotation of inquiries realize the keyboard scanning, and the application of the addition and subtraction, and other functions and digital display
- 2022-07-09 23:11:32下载
- 积分:1
-
threadx操作系统源代码之
threadx操作系统源代码之-threadx operating system"s source code 222222222222222222222 222 222 222 2
- 2022-06-13 16:16:29下载
- 积分:1
-
uClinux 下MicroWindows开发的电机控制平台软件和模拟示波器的双路数据采集系统源码...
uClinux 下MicroWindows开发的电机控制平台软件和模拟示波器的双路数据采集系统源码-MicroWindows under uClinux development of the motor control platform software and analog oscilloscopes dual-source data acquisition system
- 2023-02-13 15:50:04下载
- 积分:1
-
简要介绍了包含更详细的文件的库,为我。
介绍linux 上的c函数库,里面比较详细介绍了函数库文件,对于linux编程来说很好-briefed on the c library containing more detailed document of the library, for instance good linux programming
- 2023-01-10 01:40:12下载
- 积分:1
-
用OV7720制作摄像头的详细电路原理图 ,以及初始化代码,使用范例。...
用OV7720制作摄像头的详细电路原理图 ,以及初始化代码,使用范例。-OV7720 camera with the production of a detailed circuit schematic diagram, as well as initialization code, the use of examples.
- 2022-07-13 01:29:55下载
- 积分:1
-
自己为XF
自己为XF-S4240语音合成芯片所写的驱动程序,对应arm2410的开发板。通过iic总线来控制芯片。-Themselves as the XF-S4240 written by speech synthesis chip driver arm2410 corresponds to the development board. Iic bus through the chip to control.
- 2023-06-26 12:55:03下载
- 积分:1