Ftm0ObeCtrlR

Type Alias Ftm0ObeCtrlR 

pub type Ftm0ObeCtrlR = BitReader<Ftm0ObeCtrl>;
Expand description

Field FTM0_OBE_CTRL reader - FTM0 OBE CTRL bit

Aliased Type§

pub struct Ftm0ObeCtrlR { /* private fields */ }

Implementations§

§

impl Ftm0ObeCtrlR

pub const fn variant(&self) -> Ftm0ObeCtrl

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].