Struct zinc_hal_lpc11xx::ioregs::SYSCON_ssp1clkdiv_Get
[−]
[src]
pub struct SYSCON_ssp1clkdiv_Get { // some fields omitted }
SSP1CLKDIV
: SPI1 clock divder
Methods
impl SYSCON_ssp1clkdiv_Get
fn new(reg: &SYSCON_ssp1clkdiv) -> SYSCON_ssp1clkdiv_Get
Create a getter reflecting the current value of the given register.
fn raw(&self) -> u32
Get the raw value of the register.
fn div(&self) -> u32
Get value of DIV
field: SPI1_PCLK clock divider values 0: Disable SPI1_PCLK. 1: Divide by 1. to 255: Divide by 255.