Ftm1ObeCtrlW

Type Alias Ftm1ObeCtrlW 

pub type Ftm1ObeCtrlW<'a, REG> = BitWriter<'a, REG, Ftm1ObeCtrl>;
Expand description

Field FTM1_OBE_CTRL writer - FTM1 OBE CTRL bit

Aliased Type§

pub struct Ftm1ObeCtrlW<'a, REG> { /* private fields */ }

Implementations§

§

impl<'a, REG> Ftm1ObeCtrlW<'a, REG>
where REG: Writable + RegisterSpec,

pub fn _0(self) -> &'a mut W<REG>

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 _1(self) -> &'a mut W<REG>

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