[−][src]Struct esp32_hal::gpio::Gpio34
Pin
Implementations
impl<MODE> Gpio34<MODE>
[src]
pub fn into_floating_input(self) -> Gpio34<Input<Floating>>
[src]
impl<MODE> Gpio34<MODE>
[src]
pub fn into_analog(self) -> Gpio34<Analog>
[src]
pub fn into_floating_rtc_input(self) -> Gpio34<RTCInput<Floating>>
[src]
pub fn into_pull_up_rtc_input(self) -> Gpio34<RTCInput<PullUp>>
[src]
pub fn into_pull_down_rtc_input(self) -> Gpio34<RTCInput<PullDown>>
[src]
Trait Implementations
impl Channel<ADC1> for Gpio34<Analog>
[src]
impl<MODE> InputPin for Gpio34<MODE>
[src]
fn set_to_input(&mut self) -> &mut Self
[src]
fn enable_input(&mut self, on: bool) -> &mut Self
[src]
fn enable_input_in_sleep_mode(&mut self, on: bool) -> &mut Self
[src]
fn is_input_high(&mut self) -> bool
[src]
fn connect_input_to_peripheral_with_options(
&mut self,
signal: InputSignal,
invert: bool,
force_via_gpio_mux: bool
) -> &mut Self
[src]
&mut self,
signal: InputSignal,
invert: bool,
force_via_gpio_mux: bool
) -> &mut Self
fn connect_input_to_peripheral(&mut self, signal: InputSignal) -> &mut Self
[src]
impl<MODE> InputPin for Gpio34<Input<MODE>>
[src]
type Error = Infallible
Error type
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for Gpio34<RTCInput<MODE>>
[src]
type Error = Infallible
Error type
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> Pin for Gpio34<MODE>
[src]
fn sleep_mode(&mut self, on: bool) -> &mut Self
[src]
fn set_alternate_function(&mut self, alternate: AlternateFunction) -> &mut Self
[src]
fn listen_with_options(
&mut self,
event: Event,
pro_int: bool,
app_int: bool,
pro_nmi: bool,
app_nmi: bool,
wake_up_from_light_sleep: bool
)
[src]
&mut self,
event: Event,
pro_int: bool,
app_int: bool,
pro_nmi: bool,
app_nmi: bool,
wake_up_from_light_sleep: bool
)
fn unlisten(&mut self)
[src]
fn clear_interrupt(&mut self)
[src]
fn is_interrupt_set(&mut self) -> bool
[src]
fn is_non_maskable_interrupt_set(&mut self) -> bool
[src]
fn enable_hold(&mut self, on: bool)
[src]
fn listen(&mut self, event: Event)
[src]
impl<MODE> RTCInputPin for Gpio34<MODE>
[src]
fn rtc_sleep_mode(&mut self, on: bool) -> &mut Self
[src]
fn rtc_enable_input(&mut self, on: bool) -> &mut Self
[src]
fn rtc_enable_input_in_sleep_mode(&mut self, on: bool) -> &mut Self
[src]
fn rtc_is_input_high(&mut self) -> bool
[src]
Auto Trait Implementations
impl<MODE> Send for Gpio34<MODE> where
MODE: Send,
MODE: Send,
impl<MODE> Sync for Gpio34<MODE> where
MODE: Sync,
MODE: Sync,
impl<MODE> Unpin for Gpio34<MODE> where
MODE: Unpin,
MODE: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T> InputPin for T where
T: InputPin,
[src]
T: InputPin,
type Error = ()
Error type
fn is_low(&self) -> Result<bool, <T as InputPin>::Error>
[src]
fn is_high(&self) -> Result<bool, <T as InputPin>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,