Type Alias esp32c6::twai0::data_1::W

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

Register DATA_1 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn tx_byte_1(&mut self) -> TX_BYTE_1_W<'_, DATA_1_SPEC>

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

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