RawCountDownPit

Type Alias RawCountDownPit 

Source
pub type RawCountDownPit<const N: u8> = RawCountDown<Pit<N>>;
Expand description

A count down timer over a PIT channel.

Aliased Type§

pub struct RawCountDownPit<const N: u8> { /* private fields */ }

Implementations§

Source§

impl<const N: u8> RawCountDownPit<N>

Source

pub fn from_pit(pit: Pit<N>) -> Self

Create a count down timer from a PIT channel.

Source

pub fn from_pit_channel(pit: Pit<N>) -> Self

👎Deprecated since 0.5.1: Use from_pit

Create a count down timer from a PIT channel.

Prefer from_pit, which is easier to type and matches the name of the type we’re converting.