Timer4StatusReg

Type Alias Timer4StatusReg 

Source
pub type Timer4StatusReg = RegValueT<Timer4StatusReg_SPEC>;
Expand description

Timer status register

Aliased Type§

pub struct Timer4StatusReg { /* private fields */ }

Implementations§

Source§

impl Timer4StatusReg

Source

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

OneShot phase 0 = Wait for event 1 = Delay phase 2 = Start Shot 3 = Shot phase

Source

pub fn tim_in2_state( self, ) -> RegisterFieldBool<1, 1, 0, Timer4StatusReg_SPEC, R>

Gives the logic level of the IN1

Source

pub fn tim_in1_state( self, ) -> RegisterFieldBool<0, 1, 0, Timer4StatusReg_SPEC, R>

Gives the logic level of the IN2

Trait Implementations§

Source§

impl Default for Timer4StatusReg

Source§

fn default() -> Timer4StatusReg

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