Module rp2040_pac::pwm

source ·
Expand description

Simple PWM

Re-exports§

  • pub use self::ch::CH;

Modules§

  • Cluster Cluster CH%s, containing CH*_CC, CH*_CSR, CH*_CTR, CH*_DIV, CH*_TOP
  • This register aliases the CSR_EN bits for all channels.
    Writing to this register allows multiple channels to be enabled
    or disabled simultaneously, so they can run in perfect sync.
    For each channel, there is only one physical EN register bit,
    which can be accessed through here or CHx_CSR.
  • Interrupt Enable
  • Interrupt Force
  • Raw Interrupts
  • Interrupt status after masking & forcing

Structs§

Type Aliases§

  • EN (rw) register accessor: This register aliases the CSR_EN bits for all channels.
    Writing to this register allows multiple channels to be enabled
    or disabled simultaneously, so they can run in perfect sync.
    For each channel, there is only one physical EN register bit,
    which can be accessed through here or CHx_CSR.
  • INTE (rw) register accessor: Interrupt Enable
  • INTF (rw) register accessor: Interrupt Force
  • INTR (rw) register accessor: Raw Interrupts
  • INTS (r) register accessor: Interrupt status after masking & forcing