Type Alias R

Source
pub type R = R<CONFIG2_SPEC>;
Expand description

Register CONFIG2 reader

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn slave_id(&self) -> SLAVE_ID_R

Bits 0:7 - I2C RTC Slave ID

Source

pub fn addr(&self) -> ADDR_R

Bits 8:15 - I2C RTC Address

Source

pub fn data(&self) -> DATA_R

Bits 16:23 - I2C RTC Data

Source

pub fn sar_mask(&self) -> SAR_MASK_R

Bit 18 - I2C RTC SAR Mask

Source

pub fn bod_mask(&self) -> BOD_MASK_R

Bit 22 - I2C RTC BOD Mask

Source

pub fn wr_cntl(&self) -> WR_CNTL_R

Bit 24 - I2C RTC Write Control

Source

pub fn busy(&self) -> BUSY_R

Bit 25 - I2C RTC Busy