Skip to main content

enable_port_clock

Function enable_port_clock 

pub fn enable_port_clock(pin: Pin) -> Result<(), PosixError>
Expand description

Ungate the port’s clock without touching mode/pull — needed before read_odr on a still-analog pin.