pub struct GpioPin<MODE, const GPIONUM: u8> { /* private fields */ }
Implementations§
source§impl<MODE, const GPIONUM: u8> GpioPin<MODE, GPIONUM>where
GpioPin<MODE, GPIONUM>: GpioProperties,
impl<MODE, const GPIONUM: u8> GpioPin<MODE, GPIONUM>where GpioPin<MODE, GPIONUM>: GpioProperties,
pub fn into_floating_input(self) -> GpioPin<Input<Floating>, GPIONUM>
pub fn into_pull_up_input(self) -> GpioPin<Input<PullUp>, GPIONUM>
pub fn into_pull_down_input(self) -> GpioPin<Input<PullDown>, GPIONUM>
source§impl<MODE, const GPIONUM: u8> GpioPin<MODE, GPIONUM>where
GpioPin<MODE, GPIONUM>: GpioProperties,
<GpioPin<MODE, GPIONUM> as GpioProperties>::PinType: IsOutputPin,
impl<MODE, const GPIONUM: u8> GpioPin<MODE, GPIONUM>where GpioPin<MODE, GPIONUM>: GpioProperties, <GpioPin<MODE, GPIONUM> as GpioProperties>::PinType: IsOutputPin,
pub fn into_push_pull_output(self) -> GpioPin<Output<PushPull>, GPIONUM>
pub fn into_open_drain_output(self) -> GpioPin<Output<OpenDrain>, GPIONUM>
pub fn into_alternate_1(self) -> GpioPin<Alternate<AF1>, GPIONUM>
pub fn into_alternate_2(self) -> GpioPin<Alternate<AF2>, GPIONUM>
source§impl<MODE, const GPIONUM: u8> GpioPin<MODE, GPIONUM>where
GpioPin<MODE, GPIONUM>: GpioProperties,
<GpioPin<MODE, GPIONUM> as GpioProperties>::PinType: IsAnalogPin,
impl<MODE, const GPIONUM: u8> GpioPin<MODE, GPIONUM>where GpioPin<MODE, GPIONUM>: GpioProperties, <GpioPin<MODE, GPIONUM> as GpioProperties>::PinType: IsAnalogPin,
pub fn into_analog(self) -> GpioPin<Analog, GPIONUM>
Trait Implementations§
source§impl<const GPIONUM: u8> From<GpioPin<Unknown, GPIONUM>> for GpioPin<Input<Floating>, GPIONUM>where
GpioPin<Input<Floating>, GPIONUM>: GpioProperties,
<GpioPin<Input<Floating>, GPIONUM> as GpioProperties>::PinType: IsOutputPin,
GpioPin<Unknown, GPIONUM>: GpioProperties,
impl<const GPIONUM: u8> From<GpioPin<Unknown, GPIONUM>> for GpioPin<Input<Floating>, GPIONUM>where GpioPin<Input<Floating>, GPIONUM>: GpioProperties, <GpioPin<Input<Floating>, GPIONUM> as GpioProperties>::PinType: IsOutputPin, GpioPin<Unknown, GPIONUM>: GpioProperties,
source§impl<const GPIONUM: u8> From<GpioPin<Unknown, GPIONUM>> for GpioPin<Input<PullDown>, GPIONUM>where
GpioPin<Input<PullDown>, GPIONUM>: GpioProperties,
<GpioPin<Input<PullDown>, GPIONUM> as GpioProperties>::PinType: IsInputPin,
GpioPin<Unknown, GPIONUM>: GpioProperties,
impl<const GPIONUM: u8> From<GpioPin<Unknown, GPIONUM>> for GpioPin<Input<PullDown>, GPIONUM>where GpioPin<Input<PullDown>, GPIONUM>: GpioProperties, <GpioPin<Input<PullDown>, GPIONUM> as GpioProperties>::PinType: IsInputPin, GpioPin<Unknown, GPIONUM>: GpioProperties,
source§impl<const GPIONUM: u8> From<GpioPin<Unknown, GPIONUM>> for GpioPin<Input<PullUp>, GPIONUM>where
GpioPin<Input<PullUp>, GPIONUM>: GpioProperties,
<GpioPin<Input<PullUp>, GPIONUM> as GpioProperties>::PinType: IsOutputPin,
GpioPin<Unknown, GPIONUM>: GpioProperties,
impl<const GPIONUM: u8> From<GpioPin<Unknown, GPIONUM>> for GpioPin<Input<PullUp>, GPIONUM>where GpioPin<Input<PullUp>, GPIONUM>: GpioProperties, <GpioPin<Input<PullUp>, GPIONUM> as GpioProperties>::PinType: IsOutputPin, GpioPin<Unknown, GPIONUM>: GpioProperties,
source§impl<const GPIONUM: u8> From<GpioPin<Unknown, GPIONUM>> for GpioPin<Output<OpenDrain>, GPIONUM>where
GpioPin<Output<OpenDrain>, GPIONUM>: GpioProperties,
<GpioPin<Output<OpenDrain>, GPIONUM> as GpioProperties>::PinType: IsOutputPin,
GpioPin<Unknown, GPIONUM>: GpioProperties,
<GpioPin<Unknown, GPIONUM> as GpioProperties>::PinType: IsOutputPin,
impl<const GPIONUM: u8> From<GpioPin<Unknown, GPIONUM>> for GpioPin<Output<OpenDrain>, GPIONUM>where GpioPin<Output<OpenDrain>, GPIONUM>: GpioProperties, <GpioPin<Output<OpenDrain>, GPIONUM> as GpioProperties>::PinType: IsOutputPin, GpioPin<Unknown, GPIONUM>: GpioProperties, <GpioPin<Unknown, GPIONUM> as GpioProperties>::PinType: IsOutputPin,
source§impl<const GPIONUM: u8> From<GpioPin<Unknown, GPIONUM>> for GpioPin<Output<PushPull>, GPIONUM>where
GpioPin<Output<PushPull>, GPIONUM>: GpioProperties,
<GpioPin<Output<PushPull>, GPIONUM> as GpioProperties>::PinType: IsOutputPin,
GpioPin<Unknown, GPIONUM>: GpioProperties,
<GpioPin<Unknown, GPIONUM> as GpioProperties>::PinType: IsOutputPin,
impl<const GPIONUM: u8> From<GpioPin<Unknown, GPIONUM>> for GpioPin<Output<PushPull>, GPIONUM>where GpioPin<Output<PushPull>, GPIONUM>: GpioProperties, <GpioPin<Output<PushPull>, GPIONUM> as GpioProperties>::PinType: IsOutputPin, GpioPin<Unknown, GPIONUM>: GpioProperties, <GpioPin<Unknown, GPIONUM> as GpioProperties>::PinType: IsOutputPin,
source§impl<MODE> GpioProperties for GpioPin<MODE, 0>
impl<MODE> GpioProperties for GpioPin<MODE, 0>
type Bank = Bank0GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank0
type Signals = Gpio0Signals
type PinType = InputOutputAnalogPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 1>
impl<MODE> GpioProperties for GpioPin<MODE, 1>
type Bank = Bank0GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank0
type Signals = Gpio1Signals
type PinType = InputOutputPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 10>
impl<MODE> GpioProperties for GpioPin<MODE, 10>
type Bank = Bank0GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank0
type Signals = Gpio10Signals
type PinType = InputOutputPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 11>
impl<MODE> GpioProperties for GpioPin<MODE, 11>
type Bank = Bank0GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank0
type Signals = Gpio11Signals
type PinType = InputOutputPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 12>
impl<MODE> GpioProperties for GpioPin<MODE, 12>
type Bank = Bank0GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank0
type Signals = Gpio12Signals
type PinType = InputOutputAnalogPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 13>
impl<MODE> GpioProperties for GpioPin<MODE, 13>
type Bank = Bank0GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank0
type Signals = Gpio13Signals
type PinType = InputOutputAnalogPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 14>
impl<MODE> GpioProperties for GpioPin<MODE, 14>
type Bank = Bank0GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank0
type Signals = Gpio14Signals
type PinType = InputOutputAnalogPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 15>
impl<MODE> GpioProperties for GpioPin<MODE, 15>
type Bank = Bank0GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank0
type Signals = Gpio15Signals
type PinType = InputOutputAnalogPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 16>
impl<MODE> GpioProperties for GpioPin<MODE, 16>
type Bank = Bank0GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank0
type Signals = Gpio16Signals
type PinType = InputOutputPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 17>
impl<MODE> GpioProperties for GpioPin<MODE, 17>
type Bank = Bank0GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank0
type Signals = Gpio17Signals
type PinType = InputOutputPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 18>
impl<MODE> GpioProperties for GpioPin<MODE, 18>
type Bank = Bank0GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank0
type Signals = Gpio18Signals
type PinType = InputOutputPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 19>
impl<MODE> GpioProperties for GpioPin<MODE, 19>
type Bank = Bank0GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank0
type Signals = Gpio19Signals
type PinType = InputOutputPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 2>
impl<MODE> GpioProperties for GpioPin<MODE, 2>
type Bank = Bank0GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank0
type Signals = Gpio2Signals
type PinType = InputOutputAnalogPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 20>
impl<MODE> GpioProperties for GpioPin<MODE, 20>
type Bank = Bank0GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank0
type Signals = Gpio20Signals
type PinType = InputOutputPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 21>
impl<MODE> GpioProperties for GpioPin<MODE, 21>
type Bank = Bank0GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank0
type Signals = Gpio21Signals
type PinType = InputOutputPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 22>
impl<MODE> GpioProperties for GpioPin<MODE, 22>
type Bank = Bank0GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank0
type Signals = Gpio22Signals
type PinType = InputOutputPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 23>
impl<MODE> GpioProperties for GpioPin<MODE, 23>
type Bank = Bank0GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank0
type Signals = Gpio23Signals
type PinType = InputOutputPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 24>
impl<MODE> GpioProperties for GpioPin<MODE, 24>
type Bank = Bank0GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank0
type Signals = Gpio24Signals
type PinType = InputOutputPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 25>
impl<MODE> GpioProperties for GpioPin<MODE, 25>
type Bank = Bank0GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank0
type Signals = Gpio25Signals
type PinType = InputOutputAnalogPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 26>
impl<MODE> GpioProperties for GpioPin<MODE, 26>
type Bank = Bank0GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank0
type Signals = Gpio26Signals
type PinType = InputOutputAnalogPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 27>
impl<MODE> GpioProperties for GpioPin<MODE, 27>
type Bank = Bank0GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank0
type Signals = Gpio27Signals
type PinType = InputOutputAnalogPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 3>
impl<MODE> GpioProperties for GpioPin<MODE, 3>
type Bank = Bank0GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank0
type Signals = Gpio3Signals
type PinType = InputOutputPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 32>
impl<MODE> GpioProperties for GpioPin<MODE, 32>
type Bank = Bank1GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank1
type Signals = Gpio32Signals
type PinType = InputOutputAnalogPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 33>
impl<MODE> GpioProperties for GpioPin<MODE, 33>
type Bank = Bank1GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank1
type Signals = Gpio33Signals
type PinType = InputOutputAnalogPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 34>
impl<MODE> GpioProperties for GpioPin<MODE, 34>
type Bank = Bank1GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank1
type Signals = Gpio34Signals
type PinType = InputOnlyAnalogPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 35>
impl<MODE> GpioProperties for GpioPin<MODE, 35>
type Bank = Bank1GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank1
type Signals = Gpio35Signals
type PinType = InputOnlyAnalogPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 36>
impl<MODE> GpioProperties for GpioPin<MODE, 36>
type Bank = Bank1GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank1
type Signals = Gpio36Signals
type PinType = InputOnlyAnalogPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 37>
impl<MODE> GpioProperties for GpioPin<MODE, 37>
type Bank = Bank1GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank1
type Signals = Gpio37Signals
type PinType = InputOnlyAnalogPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 38>
impl<MODE> GpioProperties for GpioPin<MODE, 38>
type Bank = Bank1GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank1
type Signals = Gpio38Signals
type PinType = InputOnlyAnalogPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 39>
impl<MODE> GpioProperties for GpioPin<MODE, 39>
type Bank = Bank1GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank1
type Signals = Gpio39Signals
type PinType = InputOnlyAnalogPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 4>
impl<MODE> GpioProperties for GpioPin<MODE, 4>
type Bank = Bank0GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank0
type Signals = Gpio4Signals
type PinType = InputOutputPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 5>
impl<MODE> GpioProperties for GpioPin<MODE, 5>
type Bank = Bank0GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank0
type Signals = Gpio5Signals
type PinType = InputOutputPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 6>
impl<MODE> GpioProperties for GpioPin<MODE, 6>
type Bank = Bank0GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank0
type Signals = Gpio6Signals
type PinType = InputOutputPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 7>
impl<MODE> GpioProperties for GpioPin<MODE, 7>
type Bank = Bank0GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank0
type Signals = Gpio7Signals
type PinType = InputOutputPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 8>
impl<MODE> GpioProperties for GpioPin<MODE, 8>
type Bank = Bank0GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank0
type Signals = Gpio8Signals
type PinType = InputOutputPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 9>
impl<MODE> GpioProperties for GpioPin<MODE, 9>
type Bank = Bank0GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank0
type Signals = Gpio9Signals
type PinType = InputOutputPinType
source§impl<MODE, const GPIONUM: u8> InputPin for GpioPin<Input<MODE>, GPIONUM>where
GpioPin<Input<MODE>, GPIONUM>: GpioProperties,
impl<MODE, const GPIONUM: u8> InputPin for GpioPin<Input<MODE>, GPIONUM>where GpioPin<Input<MODE>, GPIONUM>: GpioProperties,
source§impl<MODE, const GPIONUM: u8> InputPin for GpioPin<MODE, GPIONUM>where
GpioPin<MODE, GPIONUM>: GpioProperties,
impl<MODE, const GPIONUM: u8> InputPin for GpioPin<MODE, GPIONUM>where GpioPin<MODE, GPIONUM>: GpioProperties,
fn set_to_input(&mut self) -> &mut GpioPin<MODE, GPIONUM>
fn enable_input(&mut self, on: bool) -> &mut GpioPin<MODE, GPIONUM>
fn enable_input_in_sleep_mode( &mut self, on: bool ) -> &mut GpioPin<MODE, GPIONUM>
fn is_input_high(&self) -> bool
fn connect_input_to_peripheral_with_options( &mut self, signal: InputSignal, invert: bool, force_via_gpio_mux: bool ) -> &mut GpioPin<MODE, GPIONUM>
source§fn disconnect_input_from_peripheral(
&mut self,
signal: InputSignal
) -> &mut GpioPin<MODE, GPIONUM>
fn disconnect_input_from_peripheral( &mut self, signal: InputSignal ) -> &mut GpioPin<MODE, GPIONUM>
signal
from this input pin. Read morefn connect_input_to_peripheral(&mut self, signal: InputSignal) -> &mut Self
source§impl<const GPIONUM: u8> InputPin for GpioPin<Output<OpenDrain>, GPIONUM>where
GpioPin<Output<OpenDrain>, GPIONUM>: GpioProperties,
impl<const GPIONUM: u8> InputPin for GpioPin<Output<OpenDrain>, GPIONUM>where GpioPin<Output<OpenDrain>, GPIONUM>: GpioProperties,
source§impl<MODE, const GPIONUM: u8> OutputPin for GpioPin<MODE, GPIONUM>where
GpioPin<MODE, GPIONUM>: GpioProperties,
<GpioPin<MODE, GPIONUM> as GpioProperties>::PinType: IsOutputPin,
impl<MODE, const GPIONUM: u8> OutputPin for GpioPin<MODE, GPIONUM>where GpioPin<MODE, GPIONUM>: GpioProperties, <GpioPin<MODE, GPIONUM> as GpioProperties>::PinType: IsOutputPin,
fn set_to_open_drain_output(&mut self) -> &mut GpioPin<MODE, GPIONUM>
fn set_to_push_pull_output(&mut self) -> &mut GpioPin<MODE, GPIONUM>
fn enable_output(&mut self, on: bool) -> &mut GpioPin<MODE, GPIONUM>
fn set_output_high(&mut self, high: bool) -> &mut GpioPin<MODE, GPIONUM>
fn set_drive_strength( &mut self, strength: DriveStrength ) -> &mut GpioPin<MODE, GPIONUM>
fn enable_open_drain(&mut self, on: bool) -> &mut GpioPin<MODE, GPIONUM>
fn internal_pull_up_in_sleep_mode( &mut self, on: bool ) -> &mut GpioPin<MODE, GPIONUM>
fn internal_pull_down_in_sleep_mode( &mut self, on: bool ) -> &mut GpioPin<MODE, GPIONUM>
fn enable_output_in_sleep_mode( &mut self, on: bool ) -> &mut GpioPin<MODE, GPIONUM>
fn connect_peripheral_to_output_with_options( &mut self, signal: OutputSignal, invert: bool, invert_enable: bool, enable_from_gpio: bool, force_via_gpio_mux: bool ) -> &mut GpioPin<MODE, GPIONUM>
source§fn disconnect_peripheral_from_output(&mut self) -> &mut GpioPin<MODE, GPIONUM>
fn disconnect_peripheral_from_output(&mut self) -> &mut GpioPin<MODE, GPIONUM>
fn internal_pull_up(&mut self, on: bool) -> &mut GpioPin<MODE, GPIONUM>
fn internal_pull_down(&mut self, on: bool) -> &mut GpioPin<MODE, GPIONUM>
fn connect_peripheral_to_output(&mut self, signal: OutputSignal) -> &mut Self
source§impl<MODE, const GPIONUM: u8> OutputPin for GpioPin<Output<MODE>, GPIONUM>where
GpioPin<Output<MODE>, GPIONUM>: GpioProperties,
<GpioPin<Output<MODE>, GPIONUM> as GpioProperties>::PinType: IsOutputPin,
impl<MODE, const GPIONUM: u8> OutputPin for GpioPin<Output<MODE>, GPIONUM>where GpioPin<Output<MODE>, GPIONUM>: GpioProperties, <GpioPin<Output<MODE>, GPIONUM> as GpioProperties>::PinType: IsOutputPin,
source§impl<MODE, const GPIONUM: u8> Peripheral for GpioPin<MODE, GPIONUM>where
GpioPin<MODE, GPIONUM>: GpioProperties,
impl<MODE, const GPIONUM: u8> Peripheral for GpioPin<MODE, GPIONUM>where GpioPin<MODE, GPIONUM>: GpioProperties,
source§unsafe fn clone_unchecked(
&mut self
) -> <GpioPin<MODE, GPIONUM> as Peripheral>::P
unsafe fn clone_unchecked( &mut self ) -> <GpioPin<MODE, GPIONUM> as Peripheral>::P
source§impl<MODE, const GPIONUM: u8> Pin for GpioPin<MODE, GPIONUM>where
GpioPin<MODE, GPIONUM>: GpioProperties,
impl<MODE, const GPIONUM: u8> Pin for GpioPin<MODE, GPIONUM>where GpioPin<MODE, GPIONUM>: GpioProperties,
fn number(&self) -> u8
fn sleep_mode(&mut self, on: bool)
fn set_alternate_function(&mut self, alternate: AlternateFunction)
fn listen_with_options( &mut self, event: Event, int_enable: bool, nmi_enable: bool, wake_up_from_light_sleep: bool )
fn is_listening(&self) -> bool
fn unlisten(&mut self)
fn clear_interrupt(&mut self)
fn is_pcore_interrupt_set(&self) -> bool
fn is_pcore_non_maskable_interrupt_set(&self) -> bool
fn is_acore_interrupt_set(&self) -> bool
fn is_acore_non_maskable_interrupt_set(&self) -> bool
fn enable_hold(&mut self, _on: bool)
fn listen(&mut self, event: Event)
source§impl<MODE> RTCPin for GpioPin<MODE, 0>where
GpioPin<MODE, 0>: GpioProperties,
impl<MODE> RTCPin for GpioPin<MODE, 0>where GpioPin<MODE, 0>: GpioProperties,
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 RTC properties of the pin. If mux
is true then then pin is
routed to RTC, when false it is routed to IO_MUX.
fn rtc_number(&self) -> u8
source§impl<MODE> RTCPin for GpioPin<MODE, 12>where
GpioPin<MODE, 12>: GpioProperties,
impl<MODE> RTCPin for GpioPin<MODE, 12>where GpioPin<MODE, 12>: GpioProperties,
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 RTC properties of the pin. If mux
is true then then pin is
routed to RTC, when false it is routed to IO_MUX.
fn rtc_number(&self) -> u8
source§impl<MODE> RTCPin for GpioPin<MODE, 13>where
GpioPin<MODE, 13>: GpioProperties,
impl<MODE> RTCPin for GpioPin<MODE, 13>where GpioPin<MODE, 13>: GpioProperties,
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 RTC properties of the pin. If mux
is true then then pin is
routed to RTC, when false it is routed to IO_MUX.
fn rtc_number(&self) -> u8
source§impl<MODE> RTCPin for GpioPin<MODE, 14>where
GpioPin<MODE, 14>: GpioProperties,
impl<MODE> RTCPin for GpioPin<MODE, 14>where GpioPin<MODE, 14>: GpioProperties,
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 RTC properties of the pin. If mux
is true then then pin is
routed to RTC, when false it is routed to IO_MUX.
fn rtc_number(&self) -> u8
source§impl<MODE> RTCPin for GpioPin<MODE, 15>where
GpioPin<MODE, 15>: GpioProperties,
impl<MODE> RTCPin for GpioPin<MODE, 15>where GpioPin<MODE, 15>: GpioProperties,
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 RTC properties of the pin. If mux
is true then then pin is
routed to RTC, when false it is routed to IO_MUX.
fn rtc_number(&self) -> u8
source§impl<MODE> RTCPin for GpioPin<MODE, 2>where
GpioPin<MODE, 2>: GpioProperties,
impl<MODE> RTCPin for GpioPin<MODE, 2>where GpioPin<MODE, 2>: GpioProperties,
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 RTC properties of the pin. If mux
is true then then pin is
routed to RTC, when false it is routed to IO_MUX.
fn rtc_number(&self) -> u8
source§impl<MODE> RTCPin for GpioPin<MODE, 25>where
GpioPin<MODE, 25>: GpioProperties,
impl<MODE> RTCPin for GpioPin<MODE, 25>where GpioPin<MODE, 25>: GpioProperties,
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 RTC properties of the pin. If mux
is true then then pin is
routed to RTC, when false it is routed to IO_MUX.
fn rtc_number(&self) -> u8
source§impl<MODE> RTCPin for GpioPin<MODE, 26>where
GpioPin<MODE, 26>: GpioProperties,
impl<MODE> RTCPin for GpioPin<MODE, 26>where GpioPin<MODE, 26>: GpioProperties,
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 RTC properties of the pin. If mux
is true then then pin is
routed to RTC, when false it is routed to IO_MUX.
fn rtc_number(&self) -> u8
source§impl<MODE> RTCPin for GpioPin<MODE, 27>where
GpioPin<MODE, 27>: GpioProperties,
impl<MODE> RTCPin for GpioPin<MODE, 27>where GpioPin<MODE, 27>: GpioProperties,
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 RTC properties of the pin. If mux
is true then then pin is
routed to RTC, when false it is routed to IO_MUX.
fn rtc_number(&self) -> u8
source§impl<MODE> RTCPin for GpioPin<MODE, 32>where
GpioPin<MODE, 32>: GpioProperties,
impl<MODE> RTCPin for GpioPin<MODE, 32>where GpioPin<MODE, 32>: GpioProperties,
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 RTC properties of the pin. If mux
is true then then pin is
routed to RTC, when false it is routed to IO_MUX.
fn rtc_number(&self) -> u8
source§impl<MODE> RTCPin for GpioPin<MODE, 33>where
GpioPin<MODE, 33>: GpioProperties,
impl<MODE> RTCPin for GpioPin<MODE, 33>where GpioPin<MODE, 33>: GpioProperties,
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 RTC properties of the pin. If mux
is true then then pin is
routed to RTC, when false it is routed to IO_MUX.
fn rtc_number(&self) -> u8
source§impl<MODE> RTCPin for GpioPin<MODE, 34>where
GpioPin<MODE, 34>: GpioProperties,
impl<MODE> RTCPin for GpioPin<MODE, 34>where GpioPin<MODE, 34>: GpioProperties,
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 RTC properties of the pin. If mux
is true then then pin is
routed to RTC, when false it is routed to IO_MUX.
fn rtc_number(&self) -> u8
source§impl<MODE> RTCPin for GpioPin<MODE, 35>where
GpioPin<MODE, 35>: GpioProperties,
impl<MODE> RTCPin for GpioPin<MODE, 35>where GpioPin<MODE, 35>: GpioProperties,
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 RTC properties of the pin. If mux
is true then then pin is
routed to RTC, when false it is routed to IO_MUX.
fn rtc_number(&self) -> u8
source§impl<MODE> RTCPin for GpioPin<MODE, 36>where
GpioPin<MODE, 36>: GpioProperties,
impl<MODE> RTCPin for GpioPin<MODE, 36>where GpioPin<MODE, 36>: GpioProperties,
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 RTC properties of the pin. If mux
is true then then pin is
routed to RTC, when false it is routed to IO_MUX.
fn rtc_number(&self) -> u8
source§impl<MODE> RTCPin for GpioPin<MODE, 37>where
GpioPin<MODE, 37>: GpioProperties,
impl<MODE> RTCPin for GpioPin<MODE, 37>where GpioPin<MODE, 37>: GpioProperties,
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 RTC properties of the pin. If mux
is true then then pin is
routed to RTC, when false it is routed to IO_MUX.
fn rtc_number(&self) -> u8
source§impl<MODE> RTCPin for GpioPin<MODE, 38>where
GpioPin<MODE, 38>: GpioProperties,
impl<MODE> RTCPin for GpioPin<MODE, 38>where GpioPin<MODE, 38>: GpioProperties,
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 RTC properties of the pin. If mux
is true then then pin is
routed to RTC, when false it is routed to IO_MUX.
fn rtc_number(&self) -> u8
source§impl<MODE> RTCPin for GpioPin<MODE, 39>where
GpioPin<MODE, 39>: GpioProperties,
impl<MODE> RTCPin for GpioPin<MODE, 39>where GpioPin<MODE, 39>: GpioProperties,
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 RTC properties of the pin. If mux
is true then then pin is
routed to RTC, when false it is routed to IO_MUX.
fn rtc_number(&self) -> u8
source§impl<MODE> RTCPin for GpioPin<MODE, 4>where
GpioPin<MODE, 4>: GpioProperties,
impl<MODE> RTCPin for GpioPin<MODE, 4>where GpioPin<MODE, 4>: GpioProperties,
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 RTC properties of the pin. If mux
is true then then pin is
routed to RTC, when false it is routed to IO_MUX.