Type Alias atsame54n::sercom0::i2cs::ctrla::SPEED_W

source ·
pub type SPEED_W<'a, REG, const O: u8> = FieldWriter<'a, REG, 2, O, SPEEDSELECT_A>;
Expand description

Field SPEED writer - Transfer Speed

Aliased Type§

struct SPEED_W<'a, REG, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, REG, const O: u8> SPEED_W<'a, REG, O>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

pub fn standard_and_fast_mode(self) -> &'a mut W<REG>

Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm) Upto 400kHz

source

pub fn fastplus_mode(self) -> &'a mut W<REG>

Fast-mode Plus Upto 1MHz

source

pub fn high_speed_mode(self) -> &'a mut W<REG>

High-speed mode Upto 3.4MHz