device-drivers
Writing hardware abstraction layers (HAL), peripheral drivers (I2C, SPI, UART, ADC), DMA integration, and interrupt handlers
- License 许可
- MIT
- 最近更新
- 2026-11-09
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- device-drivers
- risk
- low
- source
- https://github.com/Mr-Nobody-Anonymous/All-skills
- license
- MIT
- version
- 1.0.0
- category
- embedded
- description
- Writing hardware abstraction layers (HAL), peripheral drivers (I2C, SPI, UART, ADC), DMA integration, and interrupt handlers
- imported_at
- 2026-09-20
- source_path
- awesome_skills/embedded/device-drivers/SKILL.md
- source_repository
- Mr-Nobody-Anonymous/All-skills
- disable-model-invocation
- false
03 SKILL.md 正文
Embedded Device Drivers
Scope
Device driver engineering designs clean, robust software interfaces between low-level silicon registers and high-level application business logic.
Driver Design Patterns
- Layered Architecture: Hardware Layer (Registers) $\to$ Device Driver $\to$ Hardware Abstraction Layer (HAL) $\to$ Application API.
- Execution Modes:
- Blocking / Polling: Spin-waits on status flags; simple but wastes CPU cycles.
- Non-Blocking / Interrupt-Driven: Initiates transfer and returns; notifies completion via callback.
- DMA-Driven: Hardware handles multi-byte streaming directly to/from RAM; interrupts only on buffer half/full completion.
Tools & Standards
- Canonical References: Ganssle — The Art of Designing Embedded Systems.
04 同仓库更多 Skills
dei-assessment
Assess diversity, equity, and inclusion with metrics. TRIGGERS - Use when user needs help with dei-assessment related tasks.
dei-action-plan
Create DEI action plans with goals and initiatives. TRIGGERS - Use when user needs help with dei-action-plan related tasks.
culture-fit-assessment
Design culture add assessment processes. TRIGGERS - Use when user needs help with culture-fit-assessment related tasks.
cowork-to-code-bridge
Use an already-installed, independently verified cowork-to-code bridge to run narrowly approved actions on the user's own macOS, Linux, or WSL2 machine through a local file queue.
counter-offer-response
Draft counter-offer responses for retention. TRIGGERS - Use when user needs help with counter-offer-response related tasks.
continuous-feedback-system
Design continuous feedback systems. TRIGGERS - Use when user needs help with continuous-feedback-system related tasks.