Struct esp32c2_hal::serial::AllPins
source · pub struct AllPins<TX, RX, CTS, RTS>where
TX: OutputPin,
RX: InputPin,
CTS: InputPin,
RTS: OutputPin,{
pub tx: Option<TX>,
pub rx: Option<RX>,
pub cts: Option<CTS>,
pub rts: Option<RTS>,
}
Expand description
All pins offered by UART
Fields§
§tx: Option<TX>
§rx: Option<RX>
§cts: Option<CTS>
§rts: Option<RTS>