Commit Graph

23 Commits

Author SHA1 Message Date
doryan c5788c5b2e code improvement
change variable names + using if let conditions instead match for
Result/Options values
2025-02-14 00:16:04 +04:00
doryan e27c5e7803 feat: reduce code 2025-02-14 00:12:57 +04:00
doryan 5b3cce5ea5 feat(cleaner): use interrupt cleaner 2025-02-14 00:12:27 +04:00
doryan 685ed323f7 feat(imports): add imports for cleaner 2025-02-14 00:11:02 +04:00
doryan 7c3fcdabcc fix(const): use mask as constant value instead magic number 2025-02-14 00:10:41 +04:00
doryan b1dd7eea9d feat(conditions): use if let ... conditions instead match 2025-02-14 00:09:48 +04:00
doryan 18a3368565 feat(interrupt): add interrupt cleaner 2025-02-14 00:08:45 +04:00
doryan 8416bd0fa4 cosmetic changes 2025-02-13 00:29:13 +04:00
doryan 30850a473d fix: add clearing interrupts 2025-02-13 00:29:02 +04:00
doryan 9b4f758045 commited for clippy fix 2025-02-11 19:27:23 +04:00
doryan 90708794db feat(toolchain): add toolchain file 2024-12-30 23:15:11 +04:00
doryan ccb23c8c56 refactor!: rewrite almost full library
Now usbd implementation works fine (tested on atmega32u4)
2024-12-30 21:17:23 +04:00
doryan 16812fe119 fix 2024-11-14 02:14:03 +04:00
doryan 7436a78885 feat(types): make all types and his fields public for crate 2024-11-14 01:55:34 +04:00
doryan 652ba78cdf feat(UsbBus): move UsbBus implementation to lib.rs file and implement set_stalled, suspend and etc 2024-11-14 01:54:33 +04:00
doryan e9d661e9e3 feat(UsbBus): implement write and read methods and borrow poll method implementation from atmega_usbd 2024-11-14 01:52:41 +04:00
doryan 4ca8c4e8cf feat(code): format code 2024-11-09 16:48:28 +04:00
doryan ddd6ee6ad2 fix(field): change size field type from u16 to u8 2024-11-09 16:48:05 +04:00
doryan 64424febc6 feat(UsbBus): implement resume and set_device_address methods 2024-11-09 16:47:05 +04:00
doryan ecb5e513d1 feat(alloc_ep): refactor + add comments 2024-11-09 16:46:12 +04:00
doryan 8e3517eafe feat(endpoint): add configure endpoint method 2024-11-09 16:45:39 +04:00
doryan f44aa6459a feat(endpoint): add select endpoint method 2024-11-09 16:44:38 +04:00
doryan 6eb6cef6ee feat: first commit 2024-11-09 01:29:29 +04:00