[][src]Struct k210_pac::sysctl::RegisterBlock

#[repr(C)]
pub struct RegisterBlock {
    pub git_id: GIT_ID,
    pub clk_freq: CLK_FREQ,
    pub pll0: PLL0,
    pub pll1: PLL1,
    pub pll2: PLL2,
    pub pll_lock: PLL_LOCK,
    pub rom_error: ROM_ERROR,
    pub clk_sel0: CLK_SEL0,
    pub clk_sel1: CLK_SEL1,
    pub clk_en_cent: CLK_EN_CENT,
    pub clk_en_peri: CLK_EN_PERI,
    pub soft_reset: SOFT_RESET,
    pub peri_reset: PERI_RESET,
    pub clk_th0: CLK_TH0,
    pub clk_th1: CLK_TH1,
    pub clk_th2: CLK_TH2,
    pub clk_th3: CLK_TH3,
    pub clk_th4: CLK_TH4,
    pub clk_th5: CLK_TH5,
    pub clk_th6: CLK_TH6,
    pub misc: MISC,
    pub peri: PERI,
    pub spi_sleep: SPI_SLEEP,
    pub reset_status: RESET_STATUS,
    pub dma_sel0: DMA_SEL0,
    pub dma_sel1: DMA_SEL1,
    pub power_sel: POWER_SEL,
    // some fields omitted
}

Register block

Fields

git_id: GIT_ID

0x00 - Git short commit id

clk_freq: CLK_FREQ

0x04 - System clock base frequency

pll0: PLL0

0x08 - PLL0 controller

pll1: PLL1

0x0c - PLL1 controller

pll2: PLL2

0x10 - PLL2 controller

pll_lock: PLL_LOCK

0x18 - PLL lock tester

rom_error: ROM_ERROR

0x1c - AXI ROM detector

clk_sel0: CLK_SEL0

0x20 - Clock select controller 0

clk_sel1: CLK_SEL1

0x24 - Clock select controller 1

clk_en_cent: CLK_EN_CENT

0x28 - Central clock enable

clk_en_peri: CLK_EN_PERI

0x2c - Peripheral clock enable

soft_reset: SOFT_RESET

0x30 - Soft reset ctrl

peri_reset: PERI_RESET

0x34 - Peripheral reset controller

clk_th0: CLK_TH0

0x38 - Clock threshold controller 0

clk_th1: CLK_TH1

0x3c - Clock threshold controller 1

clk_th2: CLK_TH2

0x40 - Clock threshold controller 2

clk_th3: CLK_TH3

0x44 - Clock threshold controller 3

clk_th4: CLK_TH4

0x48 - Clock threshold controller 4

clk_th5: CLK_TH5

0x4c - Clock threshold controller 5

clk_th6: CLK_TH6

0x50 - Clock threshold controller 6

misc: MISC

0x54 - Miscellaneous controller

peri: PERI

0x58 - Peripheral controller

spi_sleep: SPI_SLEEP

0x5c - SPI sleep controller

reset_status: RESET_STATUS

0x60 - Reset source status

dma_sel0: DMA_SEL0

0x64 - DMA handshake selector

dma_sel1: DMA_SEL1

0x68 - DMA handshake selector

power_sel: POWER_SEL

0x6c - IO Power Mode Select controller

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]