Skip to main content

BlockingGpt

Type Alias BlockingGpt 

Source
pub type BlockingGpt<const N: u8, const HZ: u32> = Blocking<Gpt<N>, HZ>;
Expand description

A GPT that acts as a blocking timer.

Aliased Type§

pub struct BlockingGpt<const N: u8, const HZ: u32> { /* private fields */ }

Implementations§

Source§

impl<const N: u8, const HZ: u32> BlockingGpt<N, HZ>

Source

pub fn from_gpt(gpt: Gpt<N>) -> Self

Create a blocking adapter from a GPT.