R

Type Alias R 

Source
pub type R = R<u32, CR2>;
Expand description

Reader of register CR2

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn pecbyte(&self) -> PECBYTE_R

Bit 26 - Packet error checking byte

Source

pub fn autoend(&self) -> AUTOEND_R

Bit 25 - Automatic end mode (master mode)

Source

pub fn reload(&self) -> RELOAD_R

Bit 24 - NBYTES reload mode

Source

pub fn nbytes(&self) -> NBYTES_R

Bits 16:23 - Number of bytes

Source

pub fn nack(&self) -> NACK_R

Bit 15 - NACK generation (slave mode)

Source

pub fn stop(&self) -> STOP_R

Bit 14 - Stop generation (master mode)

Source

pub fn start(&self) -> START_R

Bit 13 - Start generation

Source

pub fn head10r(&self) -> HEAD10R_R

Bit 12 - 10-bit address header only read direction (master receiver mode)

Source

pub fn add10(&self) -> ADD10_R

Bit 11 - 10-bit addressing mode (master mode)

Source

pub fn rd_wrn(&self) -> RD_WRN_R

Bit 10 - Transfer direction (master mode)

Source

pub fn sadd(&self) -> SADD_R

Bits 0:9 - Slave address bit (master mode)