pub struct GpioPin<const GPIONUM: u8>;Expand description
GPIO pin
Implementations§
Trait Implementations§
Source§impl<const GPIONUM: u8> Peripheral for GpioPin<GPIONUM>where
Self: Pin,
impl<const GPIONUM: u8> Peripheral for GpioPin<GPIONUM>where
Self: Pin,
Source§impl RtcPin for GpioPin<0>
impl RtcPin for GpioPin<0>
Source§fn rtc_set_config(&mut self, input_enable: bool, mux: bool, func: RtcFunction)
fn rtc_set_config(&mut self, input_enable: bool, mux: bool, func: RtcFunction)
Set the LP properties of the pin. If mux is true then then pin is
routed to LP_IO, when false it is routed to IO_MUX.
Source§fn rtcio_pad_hold(&mut self, enable: bool)
fn rtcio_pad_hold(&mut self, enable: bool)
Source§impl RtcPin for GpioPin<1>
impl RtcPin for GpioPin<1>
Source§fn rtc_set_config(&mut self, input_enable: bool, mux: bool, func: RtcFunction)
fn rtc_set_config(&mut self, input_enable: bool, mux: bool, func: RtcFunction)
Set the LP properties of the pin. If mux is true then then pin is
routed to LP_IO, when false it is routed to IO_MUX.
Source§fn rtcio_pad_hold(&mut self, enable: bool)
fn rtcio_pad_hold(&mut self, enable: bool)
Source§impl RtcPin for GpioPin<2>
impl RtcPin for GpioPin<2>
Source§fn rtc_set_config(&mut self, input_enable: bool, mux: bool, func: RtcFunction)
fn rtc_set_config(&mut self, input_enable: bool, mux: bool, func: RtcFunction)
Set the LP properties of the pin. If mux is true then then pin is
routed to LP_IO, when false it is routed to IO_MUX.
Source§fn rtcio_pad_hold(&mut self, enable: bool)
fn rtcio_pad_hold(&mut self, enable: bool)
Source§impl RtcPin for GpioPin<3>
impl RtcPin for GpioPin<3>
Source§fn rtc_set_config(&mut self, input_enable: bool, mux: bool, func: RtcFunction)
fn rtc_set_config(&mut self, input_enable: bool, mux: bool, func: RtcFunction)
Set the LP properties of the pin. If mux is true then then pin is
routed to LP_IO, when false it is routed to IO_MUX.
Source§fn rtcio_pad_hold(&mut self, enable: bool)
fn rtcio_pad_hold(&mut self, enable: bool)
Source§impl RtcPin for GpioPin<4>
impl RtcPin for GpioPin<4>
Source§fn rtc_set_config(&mut self, input_enable: bool, mux: bool, func: RtcFunction)
fn rtc_set_config(&mut self, input_enable: bool, mux: bool, func: RtcFunction)
Set the LP properties of the pin. If mux is true then then pin is
routed to LP_IO, when false it is routed to IO_MUX.
Source§fn rtcio_pad_hold(&mut self, enable: bool)
fn rtcio_pad_hold(&mut self, enable: bool)
Source§impl RtcPin for GpioPin<5>
impl RtcPin for GpioPin<5>
Source§fn rtc_set_config(&mut self, input_enable: bool, mux: bool, func: RtcFunction)
fn rtc_set_config(&mut self, input_enable: bool, mux: bool, func: RtcFunction)
Set the LP properties of the pin. If mux is true then then pin is
routed to LP_IO, when false it is routed to IO_MUX.
Source§fn rtcio_pad_hold(&mut self, enable: bool)
fn rtcio_pad_hold(&mut self, enable: bool)
Source§impl RtcPin for GpioPin<6>
impl RtcPin for GpioPin<6>
Source§fn rtc_set_config(&mut self, input_enable: bool, mux: bool, func: RtcFunction)
fn rtc_set_config(&mut self, input_enable: bool, mux: bool, func: RtcFunction)
Set the LP properties of the pin. If mux is true then then pin is
routed to LP_IO, when false it is routed to IO_MUX.
Source§fn rtcio_pad_hold(&mut self, enable: bool)
fn rtcio_pad_hold(&mut self, enable: bool)
Source§impl RtcPin for GpioPin<7>
impl RtcPin for GpioPin<7>
Source§fn rtc_set_config(&mut self, input_enable: bool, mux: bool, func: RtcFunction)
fn rtc_set_config(&mut self, input_enable: bool, mux: bool, func: RtcFunction)
Set the LP properties of the pin. If mux is true then then pin is
routed to LP_IO, when false it is routed to IO_MUX.