rp-pac

Crates

7.0.0

Versions

rp235x

Flavors

Module regs

Source

Structsยง

ChCc
Counter compare values
ChCsr
Control and status register
ChCtr
Direct access to the PWM counter
ChDiv
INT and FRAC form a fixed-point fractional number. Counting rate is system clock frequency divided by this number. Fractional division uses simple 1st-order sigma-delta.
ChTop
Counter wrap value
En
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.
Intr
Raw Interrupts
Irq0inte
Interrupt Enable for irq0
Irq0intf
Interrupt Force for irq0
Irq0ints
Interrupt status after masking & forcing for irq0
Irq1inte
Interrupt Enable for irq1
Irq1intf
Interrupt Force for irq1
Irq1ints
Interrupt status after masking & forcing for irq1