TimerStatusReg

Type Alias TimerStatusReg 

Source
pub type TimerStatusReg = RegValueT<TimerStatusReg_SPEC>;
Expand description

Timer status register

Aliased Type§

pub struct TimerStatusReg { /* private fields */ }

Implementations§

Source§

impl TimerStatusReg

Source

pub fn tim_gpio4_event_pending( self, ) -> RegisterFieldBool<7, 1, 0, TimerStatusReg_SPEC, R>

When 1, GPIO4 event is pending.

Source

pub fn tim_gpio3_event_pending( self, ) -> RegisterFieldBool<6, 1, 0, TimerStatusReg_SPEC, R>

When 1, GPIO3 event is pending.

Source

pub fn tim_gpio2_event_pending( self, ) -> RegisterFieldBool<5, 1, 0, TimerStatusReg_SPEC, R>

When 1, GPIO2 event is pending.

Source

pub fn tim_gpio1_event_pending( self, ) -> RegisterFieldBool<4, 1, 0, TimerStatusReg_SPEC, R>

When 1, GPIO1 event is pending.

Source

pub fn tim_oneshot_phase( self, ) -> RegisterField<2, 0x3, 1, 0, u8, u8, TimerStatusReg_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, TimerStatusReg_SPEC, R>

Gives the logic level of the IN1

Source

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

Gives the logic level of the IN2

Trait Implementations§

Source§

impl Default for TimerStatusReg

Source§

fn default() -> TimerStatusReg

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