Tất cả tags
#

Tag

#Embedded C

Có 9 nội dung trong tag này.

Nội dung liên quan

#Embedded C

Ngôn ngữ
Blog STM32 / Firmware

Finishing a Real HID Keyboard, from Keypress to Release

Turning key press and release events into HID reports and sending them to the host, plus what to watch out for with Boot Protocol and tap-style null reports.

#USB #STM32 #HID +4
Blog STM32 / Firmware

Firmware Log với USB CDC Debug Channel

Triển khai CDC debug channel trên STM32G0: descriptor CDC, ring buffer, ISR-safe logging và tránh xung đột DTR khi host mở COM port.

#USB #STM32 #CDC +4
Blog STM32 / Firmware

Hoàn thành HID keyboard thật từ sự kiện nhấn thả phím

Chuyển sự kiện nhấn thả phím thành HID report rồi gửi đến host kèm theo các lưu ý về Boot Protocol hay tap-style null report.

#USB #STM32 #HID +4
Blog STM32 / Firmware

Vendor Request và Bulk IN trên STM32G0

EP0 vendor command và Bulk IN RAM dump trên STM32G0: pending log flag, tại sao không dùng ZLP, Zadig cho Windows, và output thật từ vendor_test.py.

#USB #STM32 #Vendor +4
Blog STM32 / Firmware

Designing the Input Pipeline Before the USB Layer

How input flows from a keypad through scanning, debounce, key policy, and an event queue, and the tradeoffs made before an HID report ever gets built.

#STM32 #GPIO #Keypad +3
Blog STM32 / Firmware

Thiết kế input pipeline trước tầng USB

Giải thích thiết kế tạo input từ keypad qua các tầng scan, debounce, key policy, event queue và những đánh đổi trước khi tạo HID report.

#STM32 #GPIO #Keypad +3
Dự án STM32

STM32G0 USB Lab: Composite Device

USB composite device trên STM32G0B1RE: HID Keyboard + CDC log + EP0 Vendor Request + Vendor Bulk IN. Một codebase phát triển từ HID đơn đến debug tool hoàn chỉnh qua commit/tag.

#STM32 #USB #HID +5
Dự án STM32

STM32G0 USB Lab: Key Input Pipeline

Keypad 4x4 matrix trên STM32G0B1RE: quét bằng BSRR/IDR trực tiếp, TIM6 5ms, debounce 2 mẫu, event queue và chính sách simultaneous-error cho ma trận không diode.

#STM32 #GPIO #Keypad +3
Ghi chú STM32 Debug

Ring Buffer trong Embedded C là gì?

Giải thích Ring Buffer trong Embedded C: head/tail, full/empty, ISR producer, task consumer, DMA circular, overflow và debug mất byte.

#stm32 #embedded-c #ring-buffer +6