Type Alias atsame70n21b::pwm0::etrg2::TRGEDGE_W

source ·
pub type TRGEDGE_W<'a, const O: u8> = BitWriter<'a, ETRG2_SPEC, O, TRGEDGESELECT_A>;
Expand description

Field TRGEDGE writer - Edge Selection

Aliased Type§

struct TRGEDGE_W<'a, const O: u8> { /* private fields */ }

Implementations§

source§

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

source

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

TRGMODE = 1: TRGINx event detection on falling edge.TRGMODE = 2, 3: TRGINx active level is 0

source

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

TRGMODE = 1: TRGINx event detection on rising edge.TRGMODE = 2, 3: TRGINx active level is 1