Struct msp430fr6972::comparator_e::cectl2::W[][src]

pub struct W(_);

Register CECTL2 writer

Implementations

impl W[src]

pub fn ceref0(&mut self) -> CEREF0_W<'_>[src]

Bits 0:4 - Comp. E Reference 0 Resistor Select Bit : 0

pub fn cersel(&mut self) -> CERSEL_W<'_>[src]

Bit 5 - Comp. E Reference select

pub fn cers(&mut self) -> CERS_W<'_>[src]

Bits 6:7 - Comp. E Reference Source Bit : 0

pub fn ceref1(&mut self) -> CEREF1_W<'_>[src]

Bits 8:12 - Comp. E Reference 1 Resistor Select Bit : 0

pub fn cerefl(&mut self) -> CEREFL_W<'_>[src]

Bits 13:14 - Comp. E Reference voltage level Bit : 0

pub fn cerefacc(&mut self) -> CEREFACC_W<'_>[src]

Bit 15 - Comp. E Reference Accuracy

pub unsafe fn bits(&mut self, bits: u16) -> &mut Self[src]

Writes raw bits to the register.

Methods from Deref<Target = W<CECTL2_SPEC>>

pub unsafe fn bits(&mut self, bits: REG::Ux) -> &mut Self[src]

Writes raw bits to the register.

Trait Implementations

impl Deref for W[src]

type Target = W<CECTL2_SPEC>

The resulting type after dereferencing.

fn deref(&self) -> &Self::Target[src]

Dereferences the value.

impl DerefMut for W[src]

fn deref_mut(&mut self) -> &mut Self::Target[src]

Mutably dereferences the value.

impl From<W<CECTL2_SPEC>> for W[src]

fn from(writer: W<CECTL2_SPEC>) -> Self[src]

Performs the conversion.

Auto Trait Implementations

impl Send for W

impl Sync for W

impl Unpin for W

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

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

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

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

Performs the conversion.