Struct ep_pin_toggle::EPPinToggle [−][src]
pub struct EPPinToggle<E, P> where
P: OutputPin<Error = E>, { /* fields omitted */ }Expand description
Implements EmbeddedProfiler by toggling the given pin.
Implementations
Creates a new EPPinToggle with the given pin.
Consumes EPPinToggle, returning the pin.
Trait Implementations
Takes a reading from the clock. Read more
Optional function that gets called at the start of the snapshot recording. Read more
Optionally log the snapshot to some output, like a serial port.
takes the starting snapshot of a specific trace. Read more
fn end_snapshot(
&self,
start: Instant<u32, 1_u32, 1000000_u32>,
name: &'static str
) -> Option<EPSnapshot>
fn end_snapshot(
&self,
start: Instant<u32, 1_u32, 1000000_u32>,
name: &'static str
) -> Option<EPSnapshot>
computes the duration of the snapshot given the start time, if there hasn’t been overflow.
