CaptimStatusReg

Type Alias CaptimStatusReg 

Source
pub type CaptimStatusReg = RegValueT<CaptimStatusReg_SPEC>;
Expand description

Capture Timer status register

Aliased Type§

pub struct CaptimStatusReg { /* private fields */ }

Implementations§

Source§

impl CaptimStatusReg

Source

pub fn captim_oneshot_phase( self, ) -> RegisterField<2, 0x3, 1, 0, u8, u8, CaptimStatusReg_SPEC, R>

0 : Wait for event, 1 : Delay phase, 2 : Start Shot, 3 : Shot phase

Source

pub fn captim_in2_state( self, ) -> RegisterFieldBool<1, 1, 0, CaptimStatusReg_SPEC, R>

Gives the logic level of the IN1

Source

pub fn captim_in1_state( self, ) -> RegisterFieldBool<0, 1, 0, CaptimStatusReg_SPEC, R>

Gives the logic level of the IN2

Trait Implementations§

Source§

impl Default for CaptimStatusReg

Source§

fn default() -> CaptimStatusReg

Returns the “default value” for a type. Read more