Struct esp32s3_hal::gpio::GpioPin
source · 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,
sourcepub fn into_floating_input(self) -> GpioPin<Input<Floating>, GPIONUM>
pub fn into_floating_input(self) -> GpioPin<Input<Floating>, GPIONUM>
Configures the pin to operate as a floating input pin
sourcepub fn into_pull_up_input(self) -> GpioPin<Input<PullUp>, GPIONUM>
pub fn into_pull_up_input(self) -> GpioPin<Input<PullUp>, GPIONUM>
Configures the pin to operate as a pulled up input pin
sourcepub fn into_pull_down_input(self) -> GpioPin<Input<PullDown>, GPIONUM>
pub fn into_pull_down_input(self) -> GpioPin<Input<PullDown>, GPIONUM>
Configures the pin to operate as a pulled down input pin
sourcepub fn into_inverted_floating_input(
self
) -> GpioPin<InvertedInput<Floating>, GPIONUM>
pub fn into_inverted_floating_input( self ) -> GpioPin<InvertedInput<Floating>, GPIONUM>
Configures the pin to operate as an inverted floating input pin. Only suitable to be passed into a peripheral driver.
sourcepub fn into_inverted_pull_up_input(
self
) -> GpioPin<InvertedInput<PullUp>, GPIONUM>
pub fn into_inverted_pull_up_input( self ) -> GpioPin<InvertedInput<PullUp>, GPIONUM>
Configures the pin to operate as an inverted pulled up input pin. Only suitable to be passed into a peripheral driver.
sourcepub fn into_inverted_pull_down_input(
self
) -> GpioPin<InvertedInput<PullDown>, GPIONUM>
pub fn into_inverted_pull_down_input( self ) -> GpioPin<InvertedInput<PullDown>, GPIONUM>
Configures the pin to operate as an inverted pulled down input pin. Only suitable to be passed into a peripheral driver.
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,
sourcepub fn into_push_pull_output(self) -> GpioPin<Output<PushPull>, GPIONUM>
pub fn into_push_pull_output(self) -> GpioPin<Output<PushPull>, GPIONUM>
Configures the pin to operate as an push pull output pin
sourcepub fn into_open_drain_output(self) -> GpioPin<Output<OpenDrain>, GPIONUM>
pub fn into_open_drain_output(self) -> GpioPin<Output<OpenDrain>, GPIONUM>
Configures the pin to operate as an open drain output pin
sourcepub fn into_inverted_push_pull_output(
self
) -> GpioPin<InvertedOutput<PushPull>, GPIONUM>
pub fn into_inverted_push_pull_output( self ) -> GpioPin<InvertedOutput<PushPull>, GPIONUM>
Configures the pin to operate as an inverted push pull output pin. Only suitable to be passed into an peripheral driver
sourcepub fn into_inverted_open_drain_output(
self
) -> GpioPin<InvertedOutput<OpenDrain>, GPIONUM>
pub fn into_inverted_open_drain_output( self ) -> GpioPin<InvertedOutput<OpenDrain>, GPIONUM>
Configures the pin to operate as an open drain output pin. Only suitable to be passed into an peripheral driver
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<Analog, GPIONUM>where
GpioPin<Analog, GPIONUM>: GpioProperties,
<GpioPin<Analog, GPIONUM> as GpioProperties>::PinType: IsAnalogPin,
GpioPin<Unknown, GPIONUM>: GpioProperties,
<GpioPin<Unknown, GPIONUM> as GpioProperties>::PinType: IsAnalogPin,
impl<const GPIONUM: u8> From<GpioPin<Unknown, GPIONUM>> for GpioPin<Analog, GPIONUM>where
GpioPin<Analog, GPIONUM>: GpioProperties,
<GpioPin<Analog, GPIONUM> as GpioProperties>::PinType: IsAnalogPin,
GpioPin<Unknown, GPIONUM>: GpioProperties,
<GpioPin<Unknown, GPIONUM> as GpioProperties>::PinType: IsAnalogPin,
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<InvertedInput<Floating>, GPIONUM>where
GpioPin<InvertedInput<Floating>, GPIONUM>: GpioProperties,
<GpioPin<InvertedInput<Floating>, GPIONUM> as GpioProperties>::PinType: IsInputPin,
GpioPin<Unknown, GPIONUM>: GpioProperties,
impl<const GPIONUM: u8> From<GpioPin<Unknown, GPIONUM>> for GpioPin<InvertedInput<Floating>, GPIONUM>where
GpioPin<InvertedInput<Floating>, GPIONUM>: GpioProperties,
<GpioPin<InvertedInput<Floating>, GPIONUM> as GpioProperties>::PinType: IsInputPin,
GpioPin<Unknown, GPIONUM>: GpioProperties,
source§impl<const GPIONUM: u8> From<GpioPin<Unknown, GPIONUM>> for GpioPin<InvertedInput<PullDown>, GPIONUM>where
GpioPin<InvertedInput<PullDown>, GPIONUM>: GpioProperties,
<GpioPin<InvertedInput<PullDown>, GPIONUM> as GpioProperties>::PinType: IsInputPin,
GpioPin<Unknown, GPIONUM>: GpioProperties,
impl<const GPIONUM: u8> From<GpioPin<Unknown, GPIONUM>> for GpioPin<InvertedInput<PullDown>, GPIONUM>where
GpioPin<InvertedInput<PullDown>, GPIONUM>: GpioProperties,
<GpioPin<InvertedInput<PullDown>, GPIONUM> as GpioProperties>::PinType: IsInputPin,
GpioPin<Unknown, GPIONUM>: GpioProperties,
source§impl<const GPIONUM: u8> From<GpioPin<Unknown, GPIONUM>> for GpioPin<InvertedInput<PullUp>, GPIONUM>where
GpioPin<InvertedInput<PullUp>, GPIONUM>: GpioProperties,
<GpioPin<InvertedInput<PullUp>, GPIONUM> as GpioProperties>::PinType: IsOutputPin,
GpioPin<Unknown, GPIONUM>: GpioProperties,
impl<const GPIONUM: u8> From<GpioPin<Unknown, GPIONUM>> for GpioPin<InvertedInput<PullUp>, GPIONUM>where
GpioPin<InvertedInput<PullUp>, GPIONUM>: GpioProperties,
<GpioPin<InvertedInput<PullUp>, GPIONUM> as GpioProperties>::PinType: IsOutputPin,
GpioPin<Unknown, GPIONUM>: GpioProperties,
source§impl<const GPIONUM: u8> From<GpioPin<Unknown, GPIONUM>> for GpioPin<InvertedOutput<OpenDrain>, GPIONUM>where
GpioPin<InvertedOutput<OpenDrain>, GPIONUM>: GpioProperties,
<GpioPin<InvertedOutput<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<InvertedOutput<OpenDrain>, GPIONUM>where
GpioPin<InvertedOutput<OpenDrain>, GPIONUM>: GpioProperties,
<GpioPin<InvertedOutput<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<InvertedOutput<PushPull>, GPIONUM>where
GpioPin<InvertedOutput<PushPull>, GPIONUM>: GpioProperties,
<GpioPin<InvertedOutput<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<InvertedOutput<PushPull>, GPIONUM>where
GpioPin<InvertedOutput<PushPull>, GPIONUM>: GpioProperties,
<GpioPin<InvertedOutput<PushPull>, 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<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 = InputOutputAnalogPinType
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 = InputOutputAnalogPinType
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 = InputOutputAnalogPinType
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 = InputOutputAnalogPinType
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 = InputOutputAnalogPinType
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 = InputOutputAnalogPinType
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 = InputOutputAnalogPinType
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 = InputOutputAnalogPinType
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 = 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 = InputOutputPinType
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 = InputOutputPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 28>
impl<MODE> GpioProperties for GpioPin<MODE, 28>
type Bank = Bank0GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank0
type Signals = Gpio28Signals
type PinType = InputOutputPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 29>
impl<MODE> GpioProperties for GpioPin<MODE, 29>
type Bank = Bank0GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank0
type Signals = Gpio29Signals
type PinType = InputOutputPinType
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 = InputOutputAnalogPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 30>
impl<MODE> GpioProperties for GpioPin<MODE, 30>
type Bank = Bank0GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank0
type Signals = Gpio30Signals
type PinType = InputOutputPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 31>
impl<MODE> GpioProperties for GpioPin<MODE, 31>
type Bank = Bank0GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank0
type Signals = Gpio31Signals
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 = InputOutputPinType
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 = InputOutputPinType
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 = InputOutputPinType
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 = InputOutputPinType
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 = InputOutputPinType
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 = InputOutputPinType
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 = InputOutputPinType
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 = InputOutputPinType
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 = InputOutputAnalogPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 40>
impl<MODE> GpioProperties for GpioPin<MODE, 40>
type Bank = Bank1GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank1
type Signals = Gpio40Signals
type PinType = InputOutputPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 41>
impl<MODE> GpioProperties for GpioPin<MODE, 41>
type Bank = Bank1GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank1
type Signals = Gpio41Signals
type PinType = InputOutputPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 42>
impl<MODE> GpioProperties for GpioPin<MODE, 42>
type Bank = Bank1GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank1
type Signals = Gpio42Signals
type PinType = InputOutputPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 43>
impl<MODE> GpioProperties for GpioPin<MODE, 43>
type Bank = Bank1GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank1
type Signals = Gpio43Signals
type PinType = InputOutputPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 44>
impl<MODE> GpioProperties for GpioPin<MODE, 44>
type Bank = Bank1GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank1
type Signals = Gpio44Signals
type PinType = InputOutputPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 45>
impl<MODE> GpioProperties for GpioPin<MODE, 45>
type Bank = Bank1GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank1
type Signals = Gpio45Signals
type PinType = InputOutputPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 46>
impl<MODE> GpioProperties for GpioPin<MODE, 46>
type Bank = Bank1GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank1
type Signals = Gpio46Signals
type PinType = InputOutputPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 47>
impl<MODE> GpioProperties for GpioPin<MODE, 47>
type Bank = Bank1GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank1
type Signals = Gpio47Signals
type PinType = InputOutputPinType
source§impl<MODE> GpioProperties for GpioPin<MODE, 48>
impl<MODE> GpioProperties for GpioPin<MODE, 48>
type Bank = Bank1GpioRegisterAccess
type InterruptStatus = InterruptStatusRegisterAccessBank1
type Signals = Gpio48Signals
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 = InputOutputAnalogPinType
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 = InputOutputAnalogPinType
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 = InputOutputAnalogPinType
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 = InputOutputAnalogPinType
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 = InputOutputAnalogPinType
source§impl<MODE, const GPIONUM: u8> InputPin for GpioPin<MODE, GPIONUM>where
GpioPin<MODE, GPIONUM>: GpioProperties,
MODE: InputMode,
impl<MODE, const GPIONUM: u8> InputPin for GpioPin<MODE, GPIONUM>where
GpioPin<MODE, GPIONUM>: GpioProperties,
MODE: InputMode,
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( &mut self, signal: InputSignal ) -> &mut GpioPin<MODE, GPIONUM>
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 moresource§impl<MODE> IntoLowPowerPin<0> for GpioPin<MODE, 0>
impl<MODE> IntoLowPowerPin<0> for GpioPin<MODE, 0>
fn into_low_power(self) -> LowPowerPin<Unknown, 0>
source§impl<MODE> IntoLowPowerPin<1> for GpioPin<MODE, 1>
impl<MODE> IntoLowPowerPin<1> for GpioPin<MODE, 1>
fn into_low_power(self) -> LowPowerPin<Unknown, 1>
source§impl<MODE> IntoLowPowerPin<10> for GpioPin<MODE, 10>
impl<MODE> IntoLowPowerPin<10> for GpioPin<MODE, 10>
fn into_low_power(self) -> LowPowerPin<Unknown, 10>
source§impl<MODE> IntoLowPowerPin<11> for GpioPin<MODE, 11>
impl<MODE> IntoLowPowerPin<11> for GpioPin<MODE, 11>
fn into_low_power(self) -> LowPowerPin<Unknown, 11>
source§impl<MODE> IntoLowPowerPin<12> for GpioPin<MODE, 12>
impl<MODE> IntoLowPowerPin<12> for GpioPin<MODE, 12>
fn into_low_power(self) -> LowPowerPin<Unknown, 12>
source§impl<MODE> IntoLowPowerPin<13> for GpioPin<MODE, 13>
impl<MODE> IntoLowPowerPin<13> for GpioPin<MODE, 13>
fn into_low_power(self) -> LowPowerPin<Unknown, 13>
source§impl<MODE> IntoLowPowerPin<14> for GpioPin<MODE, 14>
impl<MODE> IntoLowPowerPin<14> for GpioPin<MODE, 14>
fn into_low_power(self) -> LowPowerPin<Unknown, 14>
source§impl<MODE> IntoLowPowerPin<15> for GpioPin<MODE, 15>
impl<MODE> IntoLowPowerPin<15> for GpioPin<MODE, 15>
fn into_low_power(self) -> LowPowerPin<Unknown, 15>
source§impl<MODE> IntoLowPowerPin<16> for GpioPin<MODE, 16>
impl<MODE> IntoLowPowerPin<16> for GpioPin<MODE, 16>
fn into_low_power(self) -> LowPowerPin<Unknown, 16>
source§impl<MODE> IntoLowPowerPin<17> for GpioPin<MODE, 17>
impl<MODE> IntoLowPowerPin<17> for GpioPin<MODE, 17>
fn into_low_power(self) -> LowPowerPin<Unknown, 17>
source§impl<MODE> IntoLowPowerPin<18> for GpioPin<MODE, 18>
impl<MODE> IntoLowPowerPin<18> for GpioPin<MODE, 18>
fn into_low_power(self) -> LowPowerPin<Unknown, 18>
source§impl<MODE> IntoLowPowerPin<19> for GpioPin<MODE, 19>
impl<MODE> IntoLowPowerPin<19> for GpioPin<MODE, 19>
fn into_low_power(self) -> LowPowerPin<Unknown, 19>
source§impl<MODE> IntoLowPowerPin<2> for GpioPin<MODE, 2>
impl<MODE> IntoLowPowerPin<2> for GpioPin<MODE, 2>
fn into_low_power(self) -> LowPowerPin<Unknown, 2>
source§impl<MODE> IntoLowPowerPin<20> for GpioPin<MODE, 20>
impl<MODE> IntoLowPowerPin<20> for GpioPin<MODE, 20>
fn into_low_power(self) -> LowPowerPin<Unknown, 20>
source§impl<MODE> IntoLowPowerPin<21> for GpioPin<MODE, 21>
impl<MODE> IntoLowPowerPin<21> for GpioPin<MODE, 21>
fn into_low_power(self) -> LowPowerPin<Unknown, 21>
source§impl<MODE> IntoLowPowerPin<3> for GpioPin<MODE, 3>
impl<MODE> IntoLowPowerPin<3> for GpioPin<MODE, 3>
fn into_low_power(self) -> LowPowerPin<Unknown, 3>
source§impl<MODE> IntoLowPowerPin<4> for GpioPin<MODE, 4>
impl<MODE> IntoLowPowerPin<4> for GpioPin<MODE, 4>
fn into_low_power(self) -> LowPowerPin<Unknown, 4>
source§impl<MODE> IntoLowPowerPin<5> for GpioPin<MODE, 5>
impl<MODE> IntoLowPowerPin<5> for GpioPin<MODE, 5>
fn into_low_power(self) -> LowPowerPin<Unknown, 5>
source§impl<MODE> IntoLowPowerPin<6> for GpioPin<MODE, 6>
impl<MODE> IntoLowPowerPin<6> for GpioPin<MODE, 6>
fn into_low_power(self) -> LowPowerPin<Unknown, 6>
source§impl<MODE> IntoLowPowerPin<7> for GpioPin<MODE, 7>
impl<MODE> IntoLowPowerPin<7> for GpioPin<MODE, 7>
fn into_low_power(self) -> LowPowerPin<Unknown, 7>
source§impl<MODE> IntoLowPowerPin<8> for GpioPin<MODE, 8>
impl<MODE> IntoLowPowerPin<8> for GpioPin<MODE, 8>
fn into_low_power(self) -> LowPowerPin<Unknown, 8>
source§impl<MODE> IntoLowPowerPin<9> for GpioPin<MODE, 9>
impl<MODE> IntoLowPowerPin<9> for GpioPin<MODE, 9>
fn into_low_power(self) -> LowPowerPin<Unknown, 9>
source§impl<MODE, const GPIONUM: u8> OutputPin for GpioPin<MODE, GPIONUM>where
GpioPin<MODE, GPIONUM>: GpioProperties,
<GpioPin<MODE, GPIONUM> as GpioProperties>::PinType: IsOutputPin,
MODE: OutputMode,
impl<MODE, const GPIONUM: u8> OutputPin for GpioPin<MODE, GPIONUM>where
GpioPin<MODE, GPIONUM>: GpioProperties,
<GpioPin<MODE, GPIONUM> as GpioProperties>::PinType: IsOutputPin,
MODE: OutputMode,
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 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 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§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)
source§fn listen_with_options(
&mut self,
event: Event,
int_enable: bool,
nmi_enable: bool,
wake_up_from_light_sleep: bool
)
fn listen_with_options( &mut self, event: Event, int_enable: bool, nmi_enable: bool, wake_up_from_light_sleep: bool )
source§fn is_listening(&self) -> bool
fn is_listening(&self) -> bool
source§fn is_interrupt_set(&self) -> bool
fn is_interrupt_set(&self) -> bool
source§fn clear_interrupt(&mut self)
fn clear_interrupt(&mut self)
source§impl<MODE> RTCPin for GpioPin<MODE, 0>
impl<MODE> RTCPin for GpioPin<MODE, 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 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
fn rtcio_pad_hold(&mut self, enable: bool)
source§impl<MODE> RTCPin for GpioPin<MODE, 1>
impl<MODE> RTCPin for GpioPin<MODE, 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 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
fn rtcio_pad_hold(&mut self, enable: bool)
source§impl<MODE> RTCPin for GpioPin<MODE, 10>
impl<MODE> RTCPin for GpioPin<MODE, 10>
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
fn rtcio_pad_hold(&mut self, enable: bool)
source§impl<MODE> RTCPin for GpioPin<MODE, 11>
impl<MODE> RTCPin for GpioPin<MODE, 11>
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
fn rtcio_pad_hold(&mut self, enable: bool)
source§impl<MODE> RTCPin for GpioPin<MODE, 12>
impl<MODE> RTCPin for GpioPin<MODE, 12>
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
fn rtcio_pad_hold(&mut self, enable: bool)
source§impl<MODE> RTCPin for GpioPin<MODE, 13>
impl<MODE> RTCPin for GpioPin<MODE, 13>
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
fn rtcio_pad_hold(&mut self, enable: bool)
source§impl<MODE> RTCPin for GpioPin<MODE, 14>
impl<MODE> RTCPin for GpioPin<MODE, 14>
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
fn rtcio_pad_hold(&mut self, enable: bool)
source§impl<MODE> RTCPin for GpioPin<MODE, 15>
impl<MODE> RTCPin for GpioPin<MODE, 15>
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
fn rtcio_pad_hold(&mut self, enable: bool)
source§impl<MODE> RTCPin for GpioPin<MODE, 16>
impl<MODE> RTCPin for GpioPin<MODE, 16>
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
fn rtcio_pad_hold(&mut self, enable: bool)
source§impl<MODE> RTCPin for GpioPin<MODE, 17>
impl<MODE> RTCPin for GpioPin<MODE, 17>
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
fn rtcio_pad_hold(&mut self, enable: bool)
source§impl<MODE> RTCPin for GpioPin<MODE, 18>
impl<MODE> RTCPin for GpioPin<MODE, 18>
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
fn rtcio_pad_hold(&mut self, enable: bool)
source§impl<MODE> RTCPin for GpioPin<MODE, 19>
impl<MODE> RTCPin for GpioPin<MODE, 19>
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
fn rtcio_pad_hold(&mut self, enable: bool)
source§impl<MODE> RTCPin for GpioPin<MODE, 2>
impl<MODE> RTCPin for GpioPin<MODE, 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 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
fn rtcio_pad_hold(&mut self, enable: bool)
source§impl<MODE> RTCPin for GpioPin<MODE, 20>
impl<MODE> RTCPin for GpioPin<MODE, 20>
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
fn rtcio_pad_hold(&mut self, enable: bool)
source§impl<MODE> RTCPin for GpioPin<MODE, 21>
impl<MODE> RTCPin for GpioPin<MODE, 21>
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
fn rtcio_pad_hold(&mut self, enable: bool)
source§impl<MODE> RTCPin for GpioPin<MODE, 3>
impl<MODE> RTCPin for GpioPin<MODE, 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 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
fn rtcio_pad_hold(&mut self, enable: bool)
source§impl<MODE> RTCPin for GpioPin<MODE, 4>
impl<MODE> RTCPin for GpioPin<MODE, 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 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
fn rtcio_pad_hold(&mut self, enable: bool)
source§impl<MODE> RTCPin for GpioPin<MODE, 5>
impl<MODE> RTCPin for GpioPin<MODE, 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 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
fn rtcio_pad_hold(&mut self, enable: bool)
source§impl<MODE> RTCPin for GpioPin<MODE, 6>
impl<MODE> RTCPin for GpioPin<MODE, 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 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
fn rtcio_pad_hold(&mut self, enable: bool)
source§impl<MODE> RTCPin for GpioPin<MODE, 7>
impl<MODE> RTCPin for GpioPin<MODE, 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 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
fn rtcio_pad_hold(&mut self, enable: bool)
source§impl<MODE> RTCPin for GpioPin<MODE, 8>
impl<MODE> RTCPin for GpioPin<MODE, 8>
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
fn rtcio_pad_hold(&mut self, enable: bool)
source§impl<MODE> RTCPin for GpioPin<MODE, 9>
impl<MODE> RTCPin for GpioPin<MODE, 9>
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.