Type Definition atsam4ls2b_pac::spi::cr::SWRST_W

source ·
pub type SWRST_W<'a, const O: u8> = BitWriter<'a, u32, CR_SPEC, SWRSTSELECT_AW, O>;
Expand description

Field SWRST writer - SPI Software Reset

Implementations§

source§

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

source

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

No effect.

source

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

Reset the SPI. A software-triggered hardware reset of the SPI interface is performed.