pub trait RTCPin: Pin {
// Required methods
fn rtc_set_config(
&mut self,
input_enable: bool,
mux: bool,
func: RtcFunction
);
fn rtcio_pad_hold(&mut self, enable: bool);
unsafe fn apply_wakeup(&mut self, wakeup: bool, level: u8);
}Required Methods§
fn rtc_set_config(&mut self, input_enable: bool, mux: bool, func: RtcFunction)
fn rtcio_pad_hold(&mut self, enable: bool)
sourceunsafe fn apply_wakeup(&mut self, wakeup: bool, level: u8)
unsafe fn apply_wakeup(&mut self, wakeup: bool, level: u8)
§Safety
The level argument needs to be a valid setting for the
rtc_cntl.gpio_wakeup.gpio_pinX_int_type.