pub type ENETRG_W<'a, const O: u8> = BitWriter<'a, u32, WAVEFORM_CMR_ALT_SPEC, ENETRGSELECT_A, O>;
Expand description

Field ENETRG writer - External Event Trigger Enable

Implementations§

source§

impl<'a, const O: u8> ENETRG_W<'a, O>

source

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

The external event has no effect on the counter and its clock. In this case, the selected external event only controls the TIOA output.

source

pub fn _1(self) -> &'a mut W

The external event resets the counter and starts the counter clock.