Type Alias gd32f1::gd32f190::i2c0::samcs::W

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

Register SAMCS writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn samen(&mut self) -> SamenW<'_, SamcsSpec>

Bit 0 - SAM_V interface enable

source

pub fn stoen(&mut self) -> StoenW<'_, SamcsSpec>

Bit 1 - SAM_V interface timeout detect enable

source

pub fn tffie(&mut self) -> TffieW<'_, SamcsSpec>

Bit 4 - Txframe fall interrupt enable

source

pub fn tfrie(&mut self) -> TfrieW<'_, SamcsSpec>

Bit 5 - Txframe rise interrupt enable

source

pub fn rffie(&mut self) -> RffieW<'_, SamcsSpec>

Bit 6 - Rxframe fall interrupt enable

source

pub fn rfrie(&mut self) -> RfrieW<'_, SamcsSpec>

Bit 7 - Rxframe rise interrupt enable

source

pub fn txf(&mut self) -> TxfW<'_, SamcsSpec>

Bit 8 - Level of Txframe signal

source

pub fn rxf(&mut self) -> RxfW<'_, SamcsSpec>

Bit 9 - Level of Rxframe signal

source

pub fn tff(&mut self) -> TffW<'_, SamcsSpec>

Bit 12 - Txframe fall flag

source

pub fn tfr(&mut self) -> TfrW<'_, SamcsSpec>

Bit 13 - Txframe rise flag

source

pub fn rff(&mut self) -> RffW<'_, SamcsSpec>

Bit 14 - Rxframe fall flag

source

pub fn rfr(&mut self) -> RfrW<'_, SamcsSpec>

Bit 15 - Rxframe rise flag