pub struct UartPanicWriterConfig {
pub params: Parameters,
pub txd: Pin,
pub rxd: Pin,
pub cts: Option<Pin>,
pub rts: Option<Pin>,
}Expand description
Configuration for the synchronous UART panic writer.
This captures everything needed to setup the UART for panic display, even if the normal kernel had initialized it differently.
Fields§
§params: Parameters§txd: Pin§rxd: Pin§cts: Option<Pin>§rts: Option<Pin>Auto Trait Implementations§
impl Freeze for UartPanicWriterConfig
impl RefUnwindSafe for UartPanicWriterConfig
impl Send for UartPanicWriterConfig
impl Sync for UartPanicWriterConfig
impl Unpin for UartPanicWriterConfig
impl UnwindSafe for UartPanicWriterConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more