esp_idf_hal::usb_serial

Type Alias UsbDPlusGpio

Source
pub type UsbDPlusGpio = Gpio19;
Expand description

USB D+ GPIO pin

Aliased Type§

struct UsbDPlusGpio(/* private fields */);

Implementations

Source§

impl Gpio19

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 Gpio19

Source§

impl InputPin for Gpio19

Source§

impl OutputPin for Gpio19

Source§

impl Peripheral for Gpio19

Source§

type P = Gpio19

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 Gpio19

Source§

fn pin(&self) -> i32

Source§

impl Send for Gpio19