Struct nrf52833_hal::lpcomp::LpComp [−][src]
pub struct LpComp { /* fields omitted */ }
Expand description
A safe wrapper around the LPCOMP
peripheral.
Implementations
Takes ownership of the LPCOMP
peripheral, returning a safe wrapper
using specified input pin and a default Vref of Vdd/2.
Sets analog reference pin.
Enables/disables comparator hysteresis.
Analog detect
event configuration, used for analog signal power up from OFF.
Enables COMP_LPCOMP
interrupt triggering on the specified event.
Disables COMP_LPCOMP
interrupt triggering on the specified event.
Returns reference to Up
transition event endpoint for PPI.
Returns reference to Down
transition event endpoint for PPI.
Returns reference to Cross
transition event endpoint for PPI.
Marks event as handled.
Marks all events as handled.
Returns the output state of the comparator.
Auto Trait Implementations
impl RefUnwindSafe for LpComp
impl UnwindSafe for LpComp
Blanket Implementations
Mutably borrows from an owned value. Read more
Casts the value.
Performs the conversion.
Performs the conversion.
Casts the value.
Casts the value.
Casts the value.
Casts the value.