Skip to main content

PmenR

Type Alias PmenR 

Source
pub type PmenR = BitReader<Pmen>;
Expand description

Field PMEN reader - Period measurement function enable

Aliased Type§

pub struct PmenR { /* private fields */ }

Implementations§

Source§

impl PmenR

Source

pub const fn variant(&self) -> Pmen

Get enumerated values variant

Source

pub fn is_pmen0(&self) -> bool

Period measurement functions are not used. POSD is loaded to POSDH and then cleared whenever POSD, UPOS, LPOS or REV is read.

Source

pub fn is_pmen1(&self) -> bool

Period measurement functions are used. POSD is loaded into POSDH and then cleared only when POSD is read.