aboutsummaryrefslogtreecommitdiff
path: root/docs/modules/ROOT/examples/basic/Cargo.toml
diff options
context:
space:
mode:
authorpennae <[email protected]>2023-04-25 02:27:56 +0200
committerpennae <[email protected]>2023-05-01 12:53:32 +0200
commita10850a6dacc0672f998069457bf104eb970c746 (patch)
tree7dbea9aa55a7cbed002c6e95b85d93c07683548c /docs/modules/ROOT/examples/basic/Cargo.toml
parentce04b732d131f488967846f6f593e10d7721ca86 (diff)
rp/pio: handle all pio irqs in one handler
dma does this too, also with 12 bits to check. this decreases code size significantly (increasing speed when the cache is cold), frees up an interrupt handler, and avoids read-modify-write cycles (which makes each processed flag cheaper). due to more iterations per handler invocation the actual runtime of the handler body remains roughly the same (slightly faster at O2, slightly slower at Oz). notably wakers are now kept in one large array indexed by the irq register bit number instead of three different arrays, this allows for machine code-level optimizations of waker lookups.
Diffstat (limited to 'docs/modules/ROOT/examples/basic/Cargo.toml')
0 files changed, 0 insertions, 0 deletions