Struct esp32c3_hal::peripherals::TWAI0
source · pub struct TWAI0 { /* private fields */ }
Implementations§
source§impl TWAI0
impl TWAI0
sourcepub unsafe fn steal() -> TWAI0
pub unsafe fn steal() -> TWAI0
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 TWAI0
impl Instance for TWAI0
const SYSTEM_PERIPHERAL: Peripheral = system::Peripheral::Twai0
const INPUT_SIGNAL: InputSignal = InputSignal::TWAI_RX
const OUTPUT_SIGNAL: OutputSignal = OutputSignal::TWAI_TX
fn register_block(&self) -> &RegisterBlock
source§impl Peripheral for TWAI0
impl Peripheral for TWAI0
Auto Trait Implementations§
impl RefUnwindSafe for TWAI0
impl Send for TWAI0
impl Sync for TWAI0
impl Unpin for TWAI0
impl UnwindSafe for TWAI0
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