timers-pwm-baremetal

Installation
SKILL.md

Timers and PWM (Bare-Metal)

Purpose

Configure MCU timers for PWM output, input capture, and periodic scheduling: prescaler/ARR setup, compare channels, and SysTick as a simple tick source.

When to Use

  • Motor/LED dimming via PWM
  • Measuring pulse width (input capture)
  • Bare-metal millis() without FreeRTOS
  • Hardware periodic sampling trigger

Workflow

1. PWM on TIM2 CH1 (STM32)

Installs
42
GitHub Stars
135
First Seen
Jun 27, 2026
timers-pwm-baremetal — mohitmishra786/low-level-dev-skills