Struct esp32_hal::serial::Pins [−][src]
pub struct Pins<TX: OutputPin, RX: InputPin, CTS: InputPin = Gpio19<Input<Floating>>, RTS: OutputPin = Gpio22<Output<PushPull>>> { pub tx: TX, pub rx: RX, pub cts: Option<CTS>, pub rts: Option<RTS>, }
Expand description
Pins used by the UART interface
Note that any two pins may be used
Fields
tx: TX
rx: RX
cts: Option<CTS>
rts: Option<RTS>