pub type BlockingPit<const N: u8, const HZ: u32> = Blocking<Pit<N>, HZ>;Expand description
A single PIT channel that acts as a blocking timer.
Aliased Type§
pub struct BlockingPit<const N: u8, const HZ: u32> { /* private fields */ }Implementations§
Source§impl<const N: u8, const HZ: u32> BlockingPit<N, HZ>
impl<const N: u8, const HZ: u32> BlockingPit<N, HZ>
Sourcepub fn from_pit_channel(pit: Pit<N>) -> Self
👎Deprecated since 0.5.1: Use from_pit
pub fn from_pit_channel(pit: Pit<N>) -> Self
Use from_pit
Create a blocking adapter from a PIT channel.
Prefer from_pit, which is easier to type
and matches the name of the type we’re converting.