Type Alias nrf52840_pac::spis0::enable::ENABLE_W

source ·
pub type ENABLE_W<'a, const O: u8> = FieldWriter<'a, u32, ENABLE_SPEC, u8, ENABLE_A, 4, O>;
Expand description

Field ENABLE writer - Enable or disable SPI slave

Aliased Type§

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

Implementations§

source§

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

source

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

Disable SPI slave

source

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

Enable SPI slave