Ftm6ObeCtrlR

Type Alias Ftm6ObeCtrlR 

pub type Ftm6ObeCtrlR = BitReader<Ftm6ObeCtrl>;
Expand description

Field FTM6_OBE_CTRL reader - FTM6 OBE CTRL bit

Aliased Type§

pub struct Ftm6ObeCtrlR { /* private fields */ }

Implementations§

§

impl Ftm6ObeCtrlR

pub const fn variant(&self) -> Ftm6ObeCtrl

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