Type Definition atsam4ls8b_pac::iisc::mr::MODE_W

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

Field MODE writer - Master/Slave/Controller Mode

Implementations§

source§

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

source

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

Slave mode (only serial data handled, clocks received from external master or controller)

source

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

Master mode (clocks generated and output by IISC, serial data handled if CR.RXEN and/or CR.TXEN written to 1)