embedded-timing-libs
SolidUse when integrating, porting, configuring, or debugging embedded software timer libraries such as MultiTimer, timeout schedulers, or tick-based callback timers
AI & Automation 22 stars
2 forks Updated 1 weeks ago MIT
Install
Quality Score: 79/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Embedded Timing Libs
## Overview
Use this skill for lightweight software timer libraries such as MultiTimer. The agent should confirm tick source, callback context, time units, wraparound behavior, and scheduler frequency before relying on timer callbacks.
## When To Use
Use this skill when:
- The user wants to add or debug MultiTimer, software timers, timeout lists, periodic callbacks, or one-shot timers.
- Timers drift, fire too early/late, stop firing, fire repeatedly, or break across tick overflow.
Do not use this skill for hardware PWM/timer peripheral bring-up. Use `embedded-peripheral-bringup` for register-level timer issues.
## First Questions
Ask for:
- Timer library and target runtime.
- Tick source and frequency.
- Callback context: main loop, RTOS task, ISR, or scheduler hook.
- Time units used by the library and application.
- Number of timers and longest expected uptime.
- Whether callbacks may start/stop other timers.
## Integration Checklist
1. Confirm tick monotonicity.
Timer logic needs a stable increasing timebase or explicit wraparound handling.
1. Match units.
Milliseconds, ticks, microseconds, and RTOS ticks must not be mixed silently.
1. Define callback context.
Timer callbacks must not block if they run in ISR or scheduler critical context.
1. Test one-shot and periodic behavior.
Verify start, stop, restart, and callback ordering.
1. Test wraparound.
Use simulated ticks or shortened counters to prove overflow behavior.
...
Details
- Author
- easyzoom
- Repository
- easyzoom/aix-skills
- Created
- 3 months ago
- Last Updated
- 1 weeks ago
- Language
- Python
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Solid
embedded-input-libs
Use when integrating, porting, configuring, or debugging embedded button/input libraries such as MultiButton or FlexibleButton
22 Updated 1 weeks ago
easyzoom AI & Automation Solid
embedded-framework-libs
Use when integrating, evaluating, configuring, or debugging embedded C framework libraries such as PLOOC, Avem, or PowerManagement
22 Updated 1 weeks ago
easyzoom AI & Automation Solid
embedded-library-entry
Use when integrating, porting, configuring, or debugging third-party MCU embedded C libraries in bare-metal or RTOS projects
22 Updated 1 weeks ago
easyzoom