Function imxrt_hal::pit::new

source ·
pub fn new<const N: u8>(pit: Instance<N>) -> Channels
Expand description

Convert the PIT peripheral instances into four timer channels.

new will reset all timer control registers before returning the channels. It is is guaranteed to not touch the FRZ bit in MCR.