Type Definition atsam4lc8a_pac::spi::mr::MSTR_W

source ·
pub type MSTR_W<'a, const O: u8> = BitWriter<'a, u32, MR_SPEC, MSTRSELECT_A, O>;
Expand description

Field MSTR writer - Master/Slave Mode

Implementations§

source§

impl<'a, const O: u8> MSTR_W<'a, O>

source

pub fn _0(self) -> &'a mut W

SPI is in Slave mode.

source

pub fn _1(self) -> &'a mut W

SPI is in Master mode.