Type Alias nrf52840_pac::spi0::frequency::FREQUENCY_W

source ·
pub type FREQUENCY_W<'a, const O: u8> = FieldWriter<'a, u32, FREQUENCY_SPEC, u32, FREQUENCY_A, 32, O>;
Expand description

Field FREQUENCY writer - SPI master data rate

Aliased Type§

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

Implementations§

source§

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

source

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

125 kbps

source

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

250 kbps

source

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

500 kbps

source

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

1 Mbps

source

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

2 Mbps

source

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

4 Mbps

source

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

8 Mbps