Trait esp32_hal::gpio::RTCInputPin [−][src]
pub trait RTCInputPin { fn rtc_sleep_mode(&mut self, on: bool) -> &mut Self; fn rtc_enable_input(&mut self, on: bool) -> &mut Self; fn rtc_enable_input_in_sleep_mode(&mut self, on: bool) -> &mut Self; fn rtc_is_input_high(&mut self) -> bool; }
Expand description
Functions available on RTC input pins
Required methods
fn rtc_sleep_mode(&mut self, on: bool) -> &mut Self
fn rtc_sleep_mode(&mut self, on: bool) -> &mut Self
Enable/Disable the sleep mode of the RTC pad
fn rtc_enable_input(&mut self, on: bool) -> &mut Self
fn rtc_enable_input(&mut self, on: bool) -> &mut Self
Enable/Disable RTC input circuitry
fn rtc_enable_input_in_sleep_mode(&mut self, on: bool) -> &mut Self
fn rtc_enable_input_in_sleep_mode(&mut self, on: bool) -> &mut Self
Enable/Disable RTC input circuitry while in sleep mode
fn rtc_is_input_high(&mut self) -> bool
fn rtc_is_input_high(&mut self) -> bool
Get state of RTC input