Ftm1ObeCtrlR

Type Alias Ftm1ObeCtrlR 

pub type Ftm1ObeCtrlR = BitReader<Ftm1ObeCtrl>;
Expand description

Field FTM1_OBE_CTRL reader - FTM1 OBE CTRL bit

Aliased Type§

pub struct Ftm1ObeCtrlR { /* private fields */ }

Implementations§

§

impl Ftm1ObeCtrlR

pub const fn variant(&self) -> Ftm1ObeCtrl

Get enumerated values variant

pub fn is_0(&self) -> bool

The FTM channel output is put to safe state when the FTM counter is enabled and the FTM channel output is enabled by Fault Control (FTM_MODE[FAULTM]!=2’b00 and FTM_FLTCTRL[FSTATE]=1’b0) and PWM is enabled (FTM_SC[PWMENn] = 1’b1). Otherwise the channel output is tristated.

pub fn is_1(&self) -> bool

The FTM channel output state is retained when the channel is in output mode. The output channel is tristated when the channel is in input capture [DECAPEN=1’b0, COMBINE=1’b0, MSnB:MSnA=2’b00] or dual edge capture mode [DECAPEN=1’b1].