-
单片机通过CH375控制USB打印机,该程序由keil51编译,希望对大家能有帮助,谢谢!...
单片机通过CH375控制USB打印机,该程序由keil51编译,希望对大家能有帮助,谢谢!-MCU control through CH375 USB printers, the procedures keil51 compiler, and I hope to be able to help you, thank you!
- 2022-04-07 00:27:26下载
- 积分:1
-
其中的usb端口通信已经作为一个模块来使用,用户只需用以下函数就可以对usb端口进行方便地读写:
unsigned char D12_WriteEndpo...
其中的usb端口通信已经作为一个模块来使用,用户只需用以下函数就可以对usb端口进行方便地读写:
unsigned char D12_WriteEndpoint(unsigned char endp, unsigned char len, unsigned char * buf) 此为usb端点输出函数,endp是要进行通信的端点,取值为3(普通端点,最大可一次传输16byte)或5(主端点,最大可一次传输64byte);len为一次输出数据长度;*buf为数据所在位置。
usb端点数据的读操作是由底层函数自动完成的(相关函数为unsigned char D12_ReadEndpoint(unsigned char endp, unsigned char len, unsigned char * buf); 相应端点为2和4),所读到的数据存于GenEpBuf[](普通端点)、MainEpBuf[]或EpBuf[](主端点)中,用户可以直接读取使用。-Usb port communication which has been used as a module, the user can use the following function on the usb port can easily read and write:
unsigned char D12_WriteEndpoint (unsigned char endp, unsigned char len, unsigned char* buf) This is the endpoint usb output function, endp is to communicate the endpoint, the value for 3 (common endpoint, the first transmission maximum 16byte) or 5 ( the main endpoint, the first transmission maximum 64byte) len Length of output data for the first time * buf location for data.
usb endpoint data is read
- 2023-06-14 23:15:04下载
- 积分:1
-
颜色分辨 芯片TCS230 读取白色发光二极管的亮度及颜色植转化后输出...
颜色分辨 芯片TCS230 读取白色发光二极管的亮度及颜色植转化后输出-chip TCS230 color perception read white LED brightness and color conversion plant output
- 2022-06-16 23:52:36下载
- 积分:1
-
16311driver
16311driver
- 2022-08-21 22:59:41下载
- 积分:1
-
AT89C52 single
AT89C52单片机LED显示24小时时钟-AT89C52 single-chip LED display 24-hour clock
- 2022-01-25 15:20:18下载
- 积分:1
-
The operation of timer operation is completed through the timer system precision...
定时器的操作通过定时器的操作完成系统的精确定时,-The operation of timer operation is completed through the timer system precision timing,
- 2022-01-25 23:57:35下载
- 积分:1
-
Can communication module of PIC18F458 code
Pic18F458的Can通信模块代码 -Can communication module of PIC18F458 code
- 2023-04-21 06:35:03下载
- 积分:1
-
这不是源码,这是Protel99SE版本的 通用器件封装库,很多朋友在寻找...
这不是源码,这是Protel99SE版本的 通用器件封装库,很多朋友在寻找-source, which is Protel99SE generic version of the device packaging for many friends in the search for
- 2023-02-01 20:40:04下载
- 积分:1
-
AVR单片机的优化RC6 加密算法(速度快,其优化思想绝对值得学习)
在有128bytes RAM 的AVR单片机上执行 rc6 16/10/8(16 b...
AVR单片机的优化RC6 加密算法(速度快,其优化思想绝对值得学习)
在有128bytes RAM 的AVR单片机上执行 rc6 16/10/8(16 bit/10 rounds/8 bytes keys)
* 对多数代码进行了 C 语言优化,对数据相关循环移位,模乘等用ASM优化
* 在4MHz无乘法器的AVR上得到平均 1172 Bytes/s的加解密速度。
* 编译器: AVR-G-AVR optimization RC6 encryption algorithm (faster, optimizing their thinking definitely worth learning) 128bytes of RAM in the AVR on the implementation of production 16/10/8 (16 bit/10 rounds/8 bytes keys)* for the majority of code optimization of the C language the data related to cycle shift, mode used by other optimization* ASM 4MHz without the multiplier be average AVR 1172 Bytes/s speed encryption and decryption.* Compiler : AVR-G
- 2023-02-21 08:45:03下载
- 积分:1
-
一个8路键盘源程序,很简单的,没有用编码,比较经典好用!...
一个8路键盘源程序,很简单的,没有用编码,比较经典好用!-an 8 Road keyboard source, a very simple, with no coding, more classic handy!
- 2022-02-10 11:14:23下载
- 积分:1