Struct nrf9160_hal::gpio::p0::P0_03[][src]

pub struct P0_03<MODE> { /* fields omitted */ }

Implementations

Convert the pin to be a floating input

Convert the pin to bepin a push-pull output with normal drive

Convert the pin to be an open-drain output

This method currently does not support configuring an internal pull-up or pull-down resistor.

Disconnects the pin.

In disconnected mode the pin cannot be used as input or output. It is primarily useful to reduce power usage.

Degrade to a generic pin struct, which can be used with peripherals

Trait Implementations

Error type

Is the input pin high?

Is the input pin low?

Set the output as high

Set the output as low

Error type

Drives the pin high or low depending on the provided value Read more

Is the output pin set as high?

Is the output pin set as low?

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.