Struct stm32l4x6::pwr::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {Show 23 fields
pub cr1: CR1,
pub cr2: CR2,
pub cr3: CR3,
pub cr4: CR4,
pub sr1: SR1,
pub sr2: SR2,
pub scr: SCR,
pub pucra: PUCRA,
pub pdcra: PDCRA,
pub pucrb: PUCRB,
pub pdcrb: PDCRB,
pub pucrc: PUCRC,
pub pdcrc: PDCRC,
pub pucrd: PUCRD,
pub pdcrd: PDCRD,
pub pucre: PUCRE,
pub pdcre: PDCRE,
pub pucrf: PUCRF,
pub pdcrf: PDCRF,
pub pucrg: PUCRG,
pub pdcrg: PDCRG,
pub pucrh: PUCRH,
pub pdcrh: PDCRH,
/* private fields */
}
Expand description
Register block
Fields§
§cr1: CR1
0x00 - Power control register 1
cr2: CR2
0x04 - Power control register 2
cr3: CR3
0x08 - Power control register 3
cr4: CR4
0x0c - Power control register 4
sr1: SR1
0x10 - Power status register 1
sr2: SR2
0x14 - Power status register 2
scr: SCR
0x18 - Power status clear register
pucra: PUCRA
0x20 - Power Port A pull-up control register
pdcra: PDCRA
0x24 - Power Port A pull-down control register
pucrb: PUCRB
0x28 - Power Port B pull-up control register
pdcrb: PDCRB
0x2c - Power Port B pull-down control register
pucrc: PUCRC
0x30 - Power Port C pull-up control register
pdcrc: PDCRC
0x34 - Power Port C pull-down control register
pucrd: PUCRD
0x38 - Power Port D pull-up control register
pdcrd: PDCRD
0x3c - Power Port D pull-down control register
pucre: PUCRE
0x40 - Power Port E pull-up control register
pdcre: PDCRE
0x44 - Power Port E pull-down control register
pucrf: PUCRF
0x48 - Power Port F pull-up control register
pdcrf: PDCRF
0x4c - Power Port F pull-down control register
pucrg: PUCRG
0x50 - Power Port G pull-up control register
pdcrg: PDCRG
0x54 - Power Port G pull-down control register
pucrh: PUCRH
0x58 - Power Port H pull-up control register
pdcrh: PDCRH
0x5c - Power Port H pull-down control register