Type Alias atsame54n::sercom0::spim::ctrla::MODE_W

source ·
pub type MODE_W<'a, REG, const O: u8> = FieldWriter<'a, REG, 3, O, MODESELECT_A>;
Expand description

Field MODE writer - Operating Mode

Aliased Type§

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

Implementations§

source§

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

source

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

USART with external clock

source

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

USART with internal clock

source

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

SPI in slave operation

source

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

SPI in master operation

source

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

I2C slave operation

source

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

I2C master operation