Struct esp32c6_hal::peripherals::TWAI1
source · pub struct TWAI1 { /* private fields */ }
Implementations§
source§impl TWAI1
impl TWAI1
sourcepub unsafe fn steal() -> TWAI1
pub unsafe fn steal() -> TWAI1
Unsafely create an instance of this peripheral out of thin air.
Safety
You must ensure that you’re only using one instance of this type at a time.
Trait Implementations§
source§impl Instance for TWAI1
impl Instance for TWAI1
const SYSTEM_PERIPHERAL: Peripheral = system::Peripheral::Twai1
const INPUT_SIGNAL: InputSignal = InputSignal::TWAI1_RX
const OUTPUT_SIGNAL: OutputSignal = OutputSignal::TWAI1_TX
fn register_block(&self) -> &RegisterBlock
source§impl Peripheral for TWAI1
impl Peripheral for TWAI1
Auto Trait Implementations§
impl RefUnwindSafe for TWAI1
impl Send for TWAI1
impl Sync for TWAI1
impl Unpin for TWAI1
impl UnwindSafe for TWAI1
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