Struct esp32c3_hal::pac::twai::data_1::W
pub struct W(_);
Expand description
Register DATA_1
writer
Implementations
impl W
impl W
pub fn tx_byte_1(
&mut self
) -> FieldWriterRaw<'_, u32, DATA_1_SPEC, u8, u8, Unsafe, 8, 0>
pub fn tx_byte_1(
&mut self
) -> FieldWriterRaw<'_, u32, DATA_1_SPEC, u8, u8, Unsafe, 8, 0>
Bits 0:7 - In reset mode, it is acceptance code register 1 with R/W Permission. In operation mode, it stores the 1st byte of the data to be transmitted or received. In operation mode, writing writes to the transmit buffer while reading reads from the receive buffer.
Methods from Deref<Target = W<DATA_1_SPEC>>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Safety
Read datasheet or reference manual to find what values are allowed to pass.
Trait Implementations
impl From<W<DATA_1_SPEC>> for W
impl From<W<DATA_1_SPEC>> for W
fn from(writer: W<DATA_1_SPEC>) -> W
fn from(writer: W<DATA_1_SPEC>) -> W
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more