Type Alias d1_pac::spi0::spi_gcr::MODE_W

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

Field mode writer - SPI Function Mode Select

Aliased Type§

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

Implementations§

source§

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

source

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

0

source

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

1