Type Alias nrf52840_pac::comp::psel::PSEL_W
source · pub type PSEL_W<'a, const O: u8> = FieldWriterSafe<'a, u32, PSEL_SPEC, u8, PSEL_A, 3, O>;
Expand description
Field PSEL
writer - Analog pin select
Aliased Type§
struct PSEL_W<'a, const O: u8> { /* private fields */ }
Implementations§
source§impl<'a, const O: u8> PSEL_W<'a, O>
impl<'a, const O: u8> PSEL_W<'a, O>
sourcepub fn analog_input0(self) -> &'a mut W
pub fn analog_input0(self) -> &'a mut W
AIN0 selected as analog input
sourcepub fn analog_input1(self) -> &'a mut W
pub fn analog_input1(self) -> &'a mut W
AIN1 selected as analog input
sourcepub fn analog_input2(self) -> &'a mut W
pub fn analog_input2(self) -> &'a mut W
AIN2 selected as analog input
sourcepub fn analog_input3(self) -> &'a mut W
pub fn analog_input3(self) -> &'a mut W
AIN3 selected as analog input
sourcepub fn analog_input4(self) -> &'a mut W
pub fn analog_input4(self) -> &'a mut W
AIN4 selected as analog input
sourcepub fn analog_input5(self) -> &'a mut W
pub fn analog_input5(self) -> &'a mut W
AIN5 selected as analog input
sourcepub fn analog_input6(self) -> &'a mut W
pub fn analog_input6(self) -> &'a mut W
AIN6 selected as analog input
sourcepub fn analog_input7(self) -> &'a mut W
pub fn analog_input7(self) -> &'a mut W
AIN7 selected as analog input