Type Alias esp32c6::twai0::data_3::W

source ·
pub type W = W<DATA_3_SPEC>;
Expand description

Register DATA_3 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn tx_byte_3(&mut self) -> TX_BYTE_3_W<'_, DATA_3_SPEC>

Bits 0:7 - In reset mode, it is acceptance code register 3 with R/W Permission. In operation mode, when software initiate write operation, it is tx data register 3 and when software initiate read operation, it is rx data register 3.

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

Safety

Passing incorrect value can cause undefined behaviour. See reference manual