Type Alias atsame54n::sercom0::i2cs::ctrla::R

source ·
pub type R = R<CTRLA_SPEC>;
Expand description

Register CTRLA reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn swrst(&self) -> SWRST_R

Bit 0 - Software Reset

source

pub fn enable(&self) -> ENABLE_R

Bit 1 - Enable

source

pub fn mode(&self) -> MODE_R

Bits 2:4 - Operating Mode

source

pub fn runstdby(&self) -> RUNSTDBY_R

Bit 7 - Run during Standby

source

pub fn pinout(&self) -> PINOUT_R

Bit 16 - Pin Usage

source

pub fn sdahold(&self) -> SDAHOLD_R

Bits 20:21 - SDA Hold Time

source

pub fn sexttoen(&self) -> SEXTTOEN_R

Bit 23 - Slave SCL Low Extend Timeout

source

pub fn speed(&self) -> SPEED_R

Bits 24:25 - Transfer Speed

source

pub fn sclsm(&self) -> SCLSM_R

Bit 27 - SCL Clock Stretch Mode

source

pub fn lowtouten(&self) -> LOWTOUTEN_R

Bit 30 - SCL Low Timeout Enable