esp_idf_hal::usb_serial

Type Alias UsbDMinGpio

Source
pub type UsbDMinGpio = Gpio18;
Expand description

USB D- GPIO pin

Aliased Type§

struct UsbDMinGpio(/* private fields */);

Implementations

Source§

impl Gpio18

Source

pub unsafe fn new() -> Self

§Safety

Care should be taken not to instantiate this peripheral instance, if it is already instantiated and used elsewhere

Trait Implementations

Source§

impl IOPin for Gpio18

Source§

impl InputPin for Gpio18

Source§

impl OutputPin for Gpio18

Source§

impl Peripheral for Gpio18

Source§

type P = Gpio18

Peripheral singleton type
Source§

unsafe fn clone_unchecked(&mut self) -> Self::P

Unsafely clone (duplicate) a peripheral singleton. Read more
Source§

fn into_ref<'a>(self) -> PeripheralRef<'a, Self::P>
where Self: 'a,

Convert a value into a PeripheralRef. Read more
Source§

impl Pin for Gpio18

Source§

fn pin(&self) -> i32

Source§

impl Send for Gpio18