Skip to main content

read_odr

Function read_odr 

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

Read ODR (latched output bit). Use instead of read on a pin that may still be in analog mode — IDR is forced to 0 there (RM0432 §8.3.12). Clock must be ungated.