# Minimal, portable USB stack
* Hardware drivers for Atmel SAM D, NXP LPC18xx/LPC43xx, and Atmel Xmega USB device peripherals
* Cross-device API for manipulating endpoints
* Descriptors and constants for USB core
* Implementation of required control transfers and enumeration
* Descriptors and implementation for DFU (firmware update) class
* Descriptors for CDC (serial) class
* Supports [WCID](https://github.com/pbatard/libwdi/wiki/WCID-Devices) automatic driver installation on Windows
* MIT license
A USB DFU bootloader for SAMD21 (Cortex M0) uses under 4KB of flash and 1KB of RAM.
Compared to vendor USB stacks (Atmel ASF, Keil), it is much lighter weight, provides you the tools to build a fully-custom USB device, perhaps with multiple interfaces and endpoints, rather than implementing a fixed class. It uses structures instead of byte arrays to make descriptors more readable, and interrupt-context callbacks to integrate with your bare-metal code or RTOS scheduler.
Compared to [LUFA](http://www.fourwalledcubicle.com/LUFA.php), it has better support for Cortex-M devices, is better suited for modern DMA-integrated USB controllers, and more interrupt-driven, but does not provide as many class drivers.
## Open source firmware using this code
* [Tessel 2 (SAMD21J18A)](https://github.com/tessel/t2-firmware)
* [Tessel 1 (LPC1830)](https://github.com/tessel/t1-firmware)
* [Nonolith CEE (Xmega32A4U)](http://nonolithlabs.com/cee)
* [Starfish (SAMD21E16A)](https://github.com/kevinmehall/starfish)
没有合适的资源?快使用搜索试试~ 我知道了~
适用于 SAMD21、LPC1800、LPC4300、Xmega 的极简便携式 USB 设备堆栈_C语言_代码_相关文件
共25个文件
h:11个
c:7个
makefile:3个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 157 浏览量
2022-07-08
01:46:56
上传
评论
收藏 28KB ZIP 举报
温馨提示
最小的便携式 USB 堆栈 Atmel SAM D、NXP LPC18xx/LPC43xx 和 Atmel Xmega USB 设备外设的硬件驱动程序 用于操作端点的跨设备 API USB 内核的描述符和常量 实施所需的控制转移和枚举 DFU(固件更新)类的描述符和实现 CDC(串行)类的描述符 支持Windows上WCID自动驱动安装 麻省理工学院执照 用于 SAMD21 (Cortex M0) 的 USB DFU 引导加载程序使用不到 4KB 的闪存和 1KB 的 RAM。 与供应商 USB 堆栈(Atmel ASF、Keil)相比,它的重量要轻得多,为您提供构建完全自定义 USB 设备的工具,可能具有多个接口和端点,而不是实现固定类。它使用结构而不是字节数组使描述符更具可读性,并使用中断上下文回调与您的裸机代码或 RTOS 调度程序集成。 与LUFA相比,它对 Cortex-M 设备有更好的支持,更适合现代 DMA 集成的 USB 控制器,并且更受中断驱动,但没有提供那么多的类驱动程序。 更多详情、使用方法,请下载后阅读README.md文件
资源详情
资源评论
资源推荐
收起资源包目录
usb-master.zip (25个子文件)
usb-master
usb_standard.h 5KB
class
dfu
dfu_standard.h 2KB
dfu.h 671B
dfu.c 2KB
cdc
cdc_standard.h 1KB
usb_requests.c 4KB
LICENSE 1KB
lpc18_43
usb_lpc18_43.c 9KB
usb_lpc18_43_internal.h 3KB
usb_lpc18_43.h 217B
xmega
example
minimal
test.py 377B
descriptors.c 4KB
makefile 13KB
xmegatest.c 487B
usb_xmega.h 856B
makefile 106B
usb_xmega.c 6KB
usb_xmega_internal.h 2KB
.gitignore 45B
usb.h 4KB
samd
usb_samd.c 9KB
usb_samd_internal.h 389B
usb_samd.h 377B
makefile 104B
README.md 1KB
共 25 条
- 1
快撑死的鱼
- 粉丝: 1w+
- 资源: 9156
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0