Type Definition lpc81x_pac::lpc811::spi0::div::DIVVAL_W

source ·
pub type DIVVAL_W<'a, const O: u8> = FieldWriter<'a, u32, DIV_SPEC, u16, u16, 16, O>;
Expand description

Field DIVVAL writer - 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.