Enum ublox_cellular::command::gpio::types::GpioMode[][src]

pub enum GpioMode {
Show 28 variants Output(GpioOutValue), Input(GpioInPull), NetworkStatus, ExternalGnssSupplyEnable, ExternalGnssDataReady, ExternalGnssRtcSharing, JammingDetection, SimDetection, HeadsetDetection, GsmTxIndication, ModuleOperatingStatus, ModuleFunctionalityStatus, I2SDigitalAudio, SpiSerial, MasterClockGeneration, Uart, WifiEnable, RingIndication, LastGaspEnable, ExternalGnssAntenna, TimePulseGnss, TimePulseModem, TimestampExternalInterrupt, FastPoweroff, Lwm2mPulse, HardwareFlowControl, ClockOutput, PadDisabled,
}

Variants

Output(GpioOutValue)

• 0: output

Tuple Fields of Output

0: GpioOutValue
Input(GpioInPull)

• 1: input

Tuple Fields of Input

0: GpioInPull
NetworkStatus

• 2: network status indication

ExternalGnssSupplyEnable

• 3: external GNSS supply enable

ExternalGnssDataReady

• 4: external GNSS data ready

ExternalGnssRtcSharing

• 5: external GNSS RTC sharing

JammingDetection

• 6: jamming detection indication

SimDetection

• 7: SIM card detection

HeadsetDetection

• 8: headset detection

GsmTxIndication

• 9: GSM Tx burst indication

ModuleOperatingStatus

• 10: module operating status indication

ModuleFunctionalityStatus

• 11: module functionality status indication

I2SDigitalAudio

• 12: I2S digital audio interface

SpiSerial

• 13: SPI serial interface

MasterClockGeneration

• 14: master clock generation

Uart

• 15: UART (DSR, DTR, DCD e RI) interface

WifiEnable

• 16: Wi-Fi enable

RingIndication

• 18: ring indication

LastGaspEnable

• 19: last gasp enable

ExternalGnssAntenna

• 20: external GNSS antenna / LNA control enable

TimePulseGnss

• 21: time pulse GNSS

TimePulseModem

• 22: time pulse modem

TimestampExternalInterrupt

• 23: time stamp of external interrupt

FastPoweroff

• 24: fast power-off

Lwm2mPulse

• 25: LwM2M pulse

HardwareFlowControl

• 26: hardware flow control (RTS, CTS)

ClockOutput

• 32: 32.768 kHz output

PadDisabled

• 255: pad disabled

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.