Type Alias atsame54n::adc0::swtrig::W

source ·
pub type W = W<SWTRIG_SPEC>;
Expand description

Register SWTRIG writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn flush(&mut self) -> FLUSH_W<'_, SWTRIG_SPEC, 0>

Bit 0 - ADC Conversion Flush

source

pub fn start(&mut self) -> START_W<'_, SWTRIG_SPEC, 1>

Bit 1 - Start ADC Conversion

source

pub unsafe fn bits(&mut self, bits: u8) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual