Type Definition atsam4lc4c_pac::spi::cr::SPIDIS_W
source · pub type SPIDIS_W<'a, const O: u8> = BitWriter<'a, u32, CR_SPEC, SPIDISSELECT_AW, O>;
Expand description
Field SPIDIS
writer - SPI Disable
Implementations§
source§impl<'a, const O: u8> SPIDIS_W<'a, O>
impl<'a, const O: u8> SPIDIS_W<'a, O>
sourcepub fn _1(self) -> &'a mut W
pub fn _1(self) -> &'a mut W
Disables the SPI.All pins are set in input mode and no data is received or transmitted.If a transfer is in progress, the transfer is finished before the SPI is disabled.If both SPIEN and SPIDIS are equal to one when the control register is written, the SPI is disabled.