Struct stm32l4x6_hal::rcc::Rcc [] [src]

pub struct Rcc {
    pub ahb: AHB,
    pub apb1: APB1,
    pub apb2: APB2,
    pub bdcr: BDCR,
    pub csr: CSR,
    pub cfgr: CFGR,
}

Constrained RCC peripheral

Fields

AMBA High-performance Bus (AHB) registers.

APB1 peripheral registers.

APB2 peripheral registers.

Backup domain registers.

Control/status register.

HW clock configuration.

Trait Implementations

impl Constrain<Rcc> for RCC
[src]

[src]

Create an RCC peripheral handle.

Per Reference Manual Ch. 6.2 the default System Clock source is MSI clock with frequency 4 MHz

The constrain method enables write access to the BDCR, and the freeze method disables it again. This is to enable changing LSE- and RTC-related settings.

Auto Trait Implementations

impl Send for Rcc

impl Sync for Rcc