[−][src]Struct mk66f18::adc1::sc1::ADCH_W
Write proxy for field ADCH
Methods
impl<'a> ADCH_W<'a>
[src]
pub fn variant(self, variant: ADCH_A) -> &'a mut W
[src]
Writes variant
to the field
pub fn _00000(self) -> &'a mut W
[src]
When DIFF=0, DADP0 is selected as input; when DIFF=1, DAD0 is selected as input.
pub fn _00001(self) -> &'a mut W
[src]
When DIFF=0, DADP1 is selected as input; when DIFF=1, DAD1 is selected as input.
pub fn _00010(self) -> &'a mut W
[src]
When DIFF=0, DADP2 is selected as input; when DIFF=1, DAD2 is selected as input.
pub fn _00011(self) -> &'a mut W
[src]
When DIFF=0, DADP3 is selected as input; when DIFF=1, DAD3 is selected as input.
pub fn _00100(self) -> &'a mut W
[src]
When DIFF=0, AD4 is selected as input; when DIFF=1, it is reserved.
pub fn _00101(self) -> &'a mut W
[src]
When DIFF=0, AD5 is selected as input; when DIFF=1, it is reserved.
pub fn _00110(self) -> &'a mut W
[src]
When DIFF=0, AD6 is selected as input; when DIFF=1, it is reserved.
pub fn _00111(self) -> &'a mut W
[src]
When DIFF=0, AD7 is selected as input; when DIFF=1, it is reserved.
pub fn _01000(self) -> &'a mut W
[src]
When DIFF=0, AD8 is selected as input; when DIFF=1, it is reserved.
pub fn _01001(self) -> &'a mut W
[src]
When DIFF=0, AD9 is selected as input; when DIFF=1, it is reserved.
pub fn _01010(self) -> &'a mut W
[src]
When DIFF=0, AD10 is selected as input; when DIFF=1, it is reserved.
pub fn _01011(self) -> &'a mut W
[src]
When DIFF=0, AD11 is selected as input; when DIFF=1, it is reserved.
pub fn _01100(self) -> &'a mut W
[src]
When DIFF=0, AD12 is selected as input; when DIFF=1, it is reserved.
pub fn _01101(self) -> &'a mut W
[src]
When DIFF=0, AD13 is selected as input; when DIFF=1, it is reserved.
pub fn _01110(self) -> &'a mut W
[src]
When DIFF=0, AD14 is selected as input; when DIFF=1, it is reserved.
pub fn _01111(self) -> &'a mut W
[src]
When DIFF=0, AD15 is selected as input; when DIFF=1, it is reserved.
pub fn _10000(self) -> &'a mut W
[src]
When DIFF=0, AD16 is selected as input; when DIFF=1, it is reserved.
pub fn _10001(self) -> &'a mut W
[src]
When DIFF=0, AD17 is selected as input; when DIFF=1, it is reserved.
pub fn _10010(self) -> &'a mut W
[src]
When DIFF=0, AD18 is selected as input; when DIFF=1, it is reserved.
pub fn _10011(self) -> &'a mut W
[src]
When DIFF=0, AD19 is selected as input; when DIFF=1, it is reserved.
pub fn _10100(self) -> &'a mut W
[src]
When DIFF=0, AD20 is selected as input; when DIFF=1, it is reserved.
pub fn _10101(self) -> &'a mut W
[src]
When DIFF=0, AD21 is selected as input; when DIFF=1, it is reserved.
pub fn _10110(self) -> &'a mut W
[src]
When DIFF=0, AD22 is selected as input; when DIFF=1, it is reserved.
pub fn _10111(self) -> &'a mut W
[src]
When DIFF=0, AD23 is selected as input; when DIFF=1, it is reserved.
pub fn _11010(self) -> &'a mut W
[src]
When DIFF=0, Temp Sensor (single-ended) is selected as input; when DIFF=1, Temp Sensor (differential) is selected as input.
pub fn _11011(self) -> &'a mut W
[src]
When DIFF=0, Bandgap (single-ended) is selected as input; when DIFF=1, Bandgap (differential) is selected as input.
pub fn _11101(self) -> &'a mut W
[src]
When DIFF=0,VREFSH is selected as input; when DIFF=1, -VREFSH (differential) is selected as input. Voltage reference selected is determined by SC2[REFSEL].
pub fn _11110(self) -> &'a mut W
[src]
When DIFF=0,VREFSL is selected as input; when DIFF=1, it is reserved. Voltage reference selected is determined by SC2[REFSEL].
pub fn _11111(self) -> &'a mut W
[src]
Module is disabled.
pub unsafe fn bits(self, value: u8) -> &'a mut W
[src]
Writes raw bits to the field
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self