aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor/src
diff options
context:
space:
mode:
authorMatt Johnston <[email protected]>2025-09-14 16:30:31 +0800
committerMatt Johnston <[email protected]>2025-09-14 16:54:14 +0800
commit8f10e3638d77cadf058b9083de09fc7189048b0b (patch)
tree804739dd75306154351460b0ee4dde51a3170caa /embassy-executor/src
parentbe794533d3929e316c65b4296de47292ae0eae67 (diff)
rp/pio: Add onewire strong pullups, parasite power
DS18B20 sensors require a strong pullup to be applied for the duration of the temperature conversion, within 10us of the command. The rp2xxx pins have sufficient drive strength to use as the pullup (no external mosfet needed). Add a new write_bytes_pullup() that will apply the pullup after bytes are written. Existing read_bytes()/write_bytes() has no change to onewire timing. A pio_onewire_parasite example reads multiple sensors individually, applying the strong pullup.
Diffstat (limited to 'embassy-executor/src')
0 files changed, 0 insertions, 0 deletions