Struct lpc55_pac::adc0::cmdl14::ADCH_W [−][src]
pub struct ADCH_W<'a> { /* fields omitted */ }
Field ADCH
writer - Input channel select
Implementations
impl<'a> ADCH_W<'a>
[src]
impl<'a> ADCH_W<'a>
[src]pub fn variant(self, variant: ADCH_A) -> &'a mut W
[src]
Writes variant
to the field
pub fn adch_0(self) -> &'a mut W
[src]
Select CH0A or CH0B or CH0A/CH0B pair.
pub fn adch_1(self) -> &'a mut W
[src]
Select CH1A or CH1B or CH1A/CH1B pair.
pub fn adch_2(self) -> &'a mut W
[src]
Select CH2A or CH2B or CH2A/CH2B pair.
pub fn adch_3(self) -> &'a mut W
[src]
Select CH3A or CH3B or CH3A/CH3B pair.
pub fn adch_4(self) -> &'a mut W
[src]
Select corresponding channel CHnA or CHnB or CHnA/CHnB pair.
pub fn adch_5(self) -> &'a mut W
[src]
Select corresponding channel CHnA or CHnB or CHnA/CHnB pair.
pub fn adch_6(self) -> &'a mut W
[src]
Select corresponding channel CHnA or CHnB or CHnA/CHnB pair.
pub fn adch_7(self) -> &'a mut W
[src]
Select corresponding channel CHnA or CHnB or CHnA/CHnB pair.
pub fn adch_8(self) -> &'a mut W
[src]
Select corresponding channel CHnA or CHnB or CHnA/CHnB pair.
pub fn adch_9(self) -> &'a mut W
[src]
Select corresponding channel CHnA or CHnB or CHnA/CHnB pair.
pub fn adch_30(self) -> &'a mut W
[src]
Select CH30A or CH30B or CH30A/CH30B pair.
pub fn adch_31(self) -> &'a mut W
[src]
Select CH31A or CH31B or CH31A/CH31B pair.
pub unsafe fn bits(self, value: u8) -> &'a mut W
[src]
Writes raw bits to the field