Struct lpc55_pac::spi0::div::W [−][src]
pub struct W(_);
Register DIV
writer
Implementations
impl W
[src]
impl W
[src]pub fn divval(&mut self) -> DIVVAL_W<'_>
[src]
Bits 0:15 - Rate divider value. Specifies how the Flexcomm clock (FCLK) is divided to produce the SPI clock rate in master mode. DIVVAL is -1 encoded such that the value 0 results in FCLK/1, the value 1 results in FCLK/2, up to the maximum possible divide value of 0xFFFF, which results in FCLK/65536.
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
Writes raw bits to the register.