pebble
  • Tutorials
  • Get the SDK
  • Guides
  • Documentation
  • PebbleOS
  • Mobile App
  • Examples
  • Index 01
  • Community
  • Blog
  • More
Privacy
Cookies
Publish

PebbleOS

  • Overview
  • Start here
    • Getting started guide
  • Pebble Firmware
    • Overview
    • Playground
    • Application SDK
  • Development
    • The pbl CLI
    • Build system
    • Samples
    • Emulator and simulator
    • Testing
    • Debugging
    • Conventions
  • System
    • Architecture overview
    • Kernel
    • Drivers
      • Device model
      • Simulators
      • Buses and I/O
      • Clocks, power and timing
      • Memory and storage
      • Display and graphics
      • Sensors and input
      • Audio and haptics
      • Power supply
      • System
    • Subsystems
    • Libraries
    • Third-party
  • Hardware
    • Boards
    • Board Add-ons
    • Programmers
  • Community
    • Contribution Guidelines
  • Reference
    • Reference
    • Kconfig options

PWM

A PWM controller drives numbered channels. A consumer takes its channel from a devicetree pwms entry, and sets the output by applying a whole state at once.

Directory

drivers/pwm

Header

pbl/drivers/pwm.h

Kconfig

CONFIG_PWM, selected by the drivers and code that use it

API

API reference

Drivers

Driver

Compatible

Kconfig

Nordic nRF5

nordic,nrf52832-pwm

CONFIG_PWM_NRF5

Nordic nRF5 RTC PWM

nordic,nrf52832-rtc-pwm

CONFIG_PWM_NRF5_RTC

SiFli SF32LB LPTIM

sifli,sf32lb52-lptim-pwm

CONFIG_PWM_SF32LB_LPTIM

Generated from PebbleOS 12b6c531f. This page is maintained in the pebbleos repository: docs/drivers/pwm.md.