Struct daisy::pac::hrtim_common::adc2r::W

pub struct W(/* private fields */);
Expand description

Register ADC2R writer

Implementations§

§

impl W

pub fn ad2terst(&mut self) -> BitWriterRaw<'_, u32, ADC2R_SPEC, bool, BitM, 31>

Bit 31 - ADC trigger 2 on Timer E Reset

pub fn ad2tec4(&mut self) -> BitWriterRaw<'_, u32, ADC2R_SPEC, bool, BitM, 30>

Bit 30 - ADC trigger 2 on Timer E compare 4

pub fn ad2tec3(&mut self) -> BitWriterRaw<'_, u32, ADC2R_SPEC, bool, BitM, 29>

Bit 29 - ADC trigger 2 on Timer E compare 3

pub fn ad2tec2(&mut self) -> BitWriterRaw<'_, u32, ADC2R_SPEC, bool, BitM, 28>

Bit 28 - ADC trigger 2 on Timer E compare 2

pub fn ad2tdrst(&mut self) -> BitWriterRaw<'_, u32, ADC2R_SPEC, bool, BitM, 27>

Bit 27 - ADC trigger 2 on Timer D Reset

pub fn ad2tdper(&mut self) -> BitWriterRaw<'_, u32, ADC2R_SPEC, bool, BitM, 26>

Bit 26 - ADC trigger 2 on Timer D Period

pub fn ad2tdc4(&mut self) -> BitWriterRaw<'_, u32, ADC2R_SPEC, bool, BitM, 25>

Bit 25 - ADC trigger 2 on Timer D compare 4

pub fn ad2tdc3(&mut self) -> BitWriterRaw<'_, u32, ADC2R_SPEC, bool, BitM, 24>

Bit 24 - ADC trigger 2 on Timer D compare 3

pub fn ad2tdc2(&mut self) -> BitWriterRaw<'_, u32, ADC2R_SPEC, bool, BitM, 23>

Bit 23 - ADC trigger 2 on Timer D compare 2

pub fn ad2tcrst(&mut self) -> BitWriterRaw<'_, u32, ADC2R_SPEC, bool, BitM, 22>

Bit 22 - ADC trigger 2 on Timer C Reset

pub fn ad2tcper(&mut self) -> BitWriterRaw<'_, u32, ADC2R_SPEC, bool, BitM, 21>

Bit 21 - ADC trigger 2 on Timer C Period

pub fn ad2tcc4(&mut self) -> BitWriterRaw<'_, u32, ADC2R_SPEC, bool, BitM, 20>

Bit 20 - ADC trigger 2 on Timer C compare 4

pub fn ad2tcc3(&mut self) -> BitWriterRaw<'_, u32, ADC2R_SPEC, bool, BitM, 19>

Bit 19 - ADC trigger 2 on Timer C compare 3

pub fn ad2tcc2(&mut self) -> BitWriterRaw<'_, u32, ADC2R_SPEC, bool, BitM, 18>

Bit 18 - ADC trigger 2 on Timer C compare 2

pub fn ad2tbper(&mut self) -> BitWriterRaw<'_, u32, ADC2R_SPEC, bool, BitM, 17>

Bit 17 - ADC trigger 2 on Timer B Period

pub fn ad2tbc4(&mut self) -> BitWriterRaw<'_, u32, ADC2R_SPEC, bool, BitM, 16>

Bit 16 - ADC trigger 2 on Timer B compare 4

pub fn ad2tbc3(&mut self) -> BitWriterRaw<'_, u32, ADC2R_SPEC, bool, BitM, 15>

Bit 15 - ADC trigger 2 on Timer B compare 3

pub fn ad2tbc2(&mut self) -> BitWriterRaw<'_, u32, ADC2R_SPEC, bool, BitM, 14>

Bit 14 - ADC trigger 2 on Timer B compare 2

pub fn ad2taper(&mut self) -> BitWriterRaw<'_, u32, ADC2R_SPEC, bool, BitM, 13>

Bit 13 - ADC trigger 2 on Timer A Period

pub fn ad2tac4(&mut self) -> BitWriterRaw<'_, u32, ADC2R_SPEC, bool, BitM, 12>

Bit 12 - ADC trigger 2 on Timer A compare 4

pub fn ad2tac3(&mut self) -> BitWriterRaw<'_, u32, ADC2R_SPEC, bool, BitM, 11>

Bit 11 - ADC trigger 2 on Timer A compare 3

pub fn ad2tac2(&mut self) -> BitWriterRaw<'_, u32, ADC2R_SPEC, bool, BitM, 10>

Bit 10 - ADC trigger 2 on Timer A compare 2

pub fn ad2eev10(&mut self) -> BitWriterRaw<'_, u32, ADC2R_SPEC, bool, BitM, 9>

Bit 9 - ADC trigger 2 on External Event 10

pub fn ad2eev9(&mut self) -> BitWriterRaw<'_, u32, ADC2R_SPEC, bool, BitM, 8>

Bit 8 - ADC trigger 2 on External Event 9

pub fn ad2eev8(&mut self) -> BitWriterRaw<'_, u32, ADC2R_SPEC, bool, BitM, 7>

Bit 7 - ADC trigger 2 on External Event 8

pub fn ad2eev7(&mut self) -> BitWriterRaw<'_, u32, ADC2R_SPEC, bool, BitM, 6>

Bit 6 - ADC trigger 2 on External Event 7

pub fn ad2eev6(&mut self) -> BitWriterRaw<'_, u32, ADC2R_SPEC, bool, BitM, 5>

Bit 5 - ADC trigger 2 on External Event 6

pub fn ad2mper(&mut self) -> BitWriterRaw<'_, u32, ADC2R_SPEC, bool, BitM, 4>

Bit 4 - ADC trigger 2 on Master Period

pub fn ad2mc4(&mut self) -> BitWriterRaw<'_, u32, ADC2R_SPEC, bool, BitM, 3>

Bit 3 - ADC trigger 2 on Master Compare 4

pub fn ad2mc3(&mut self) -> BitWriterRaw<'_, u32, ADC2R_SPEC, bool, BitM, 2>

Bit 2 - ADC trigger 2 on Master Compare 3

pub fn ad2mc2(&mut self) -> BitWriterRaw<'_, u32, ADC2R_SPEC, bool, BitM, 1>

Bit 1 - ADC trigger 2 on Master Compare 2

pub fn ad2mc1(&mut self) -> BitWriterRaw<'_, u32, ADC2R_SPEC, bool, BitM, 0>

Bit 0 - ADC trigger 2 on Master Compare 1

pub unsafe fn bits(&mut self, bits: u32) -> &mut W

Writes raw bits to the register.

Methods from Deref<Target = W<ADC2R_SPEC>>§

pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>

Writes raw bits to the register.

Trait Implementations§

§

impl Deref for W

§

type Target = W<ADC2R_SPEC>

The resulting type after dereferencing.
§

fn deref(&self) -> &<W as Deref>::Target

Dereferences the value.
§

impl DerefMut for W

§

fn deref_mut(&mut self) -> &mut <W as Deref>::Target

Mutably dereferences the value.
§

impl From<W<ADC2R_SPEC>> for W

§

fn from(writer: W<ADC2R_SPEC>) -> W

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for W

§

impl RefUnwindSafe for W

§

impl Send for W

§

impl Sync for W

§

impl Unpin for W

§

impl UnwindSafe for W

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.