pub struct L6360_HW<'a> {
uart_instance: Option<USART1>,
tx_pin: Option<PA9>,
rx_pin: Option<PA10>,
enl_plus: Output<'a>,
en_cq: Output<'a>,
in_cq: Option<Output<'a>>,
out_cq: Option<Input<'a>>,
uart: Option<Uart<'a, Blocking>>,
mode: Mode,
}
Fields§
§uart_instance: Option<USART1>
§tx_pin: Option<PA9>
§rx_pin: Option<PA10>
§enl_plus: Output<'a>
§en_cq: Output<'a>
§in_cq: Option<Output<'a>>
§out_cq: Option<Input<'a>>
§uart: Option<Uart<'a, Blocking>>
§mode: Mode
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for L6360_HW<'a>
impl<'a> !RefUnwindSafe for L6360_HW<'a>
impl<'a> Send for L6360_HW<'a>
impl<'a> Sync for L6360_HW<'a>
impl<'a> Unpin for L6360_HW<'a>
impl<'a> !UnwindSafe for L6360_HW<'a>
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