Type Alias imxrt_hal::timer::RawCountDownPit

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

A count down timer over a PIT channel.

Aliased Type§

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.