Struct gd32f1x0_hal::pac::CorePeripherals [−][src]
pub struct CorePeripherals {}
Expand description
Core peripherals
Fields
CBP: CBP
Expand description
Cache and branch predictor maintenance operations. Not available on Armv6-M.
CPUID: CPUID
Expand description
CPUID
DCB: DCB
Expand description
Debug Control Block
DWT: DWT
Expand description
Data Watchpoint and Trace unit
FPB: FPB
Expand description
Flash Patch and Breakpoint unit. Not available on Armv6-M.
FPU: FPU
Expand description
Floating Point Unit.
ICB: ICB
Expand description
Implementation Control Block.
The name is from the v8-M spec, but the block existed in earlier revisions, without a name.
ITM: ITM
Expand description
Instrumentation Trace Macrocell. Not available on Armv6-M and Armv8-M Baseline.
MPU: MPU
Expand description
Memory Protection Unit
NVIC: NVIC
Expand description
Nested Vector Interrupt Controller
SAU: SAU
Expand description
Security Attribution Unit
SCB: SCB
Expand description
System Control Block
SYST: SYST
Expand description
SysTick: System Timer
TPIU: TPIU
Expand description
Trace Port Interface Unit. Not available on Armv6-M.
Implementations
impl Peripherals
[src]
impl Peripherals
[src]pub fn take() -> Option<Peripherals>
[src]
pub fn take() -> Option<Peripherals>
[src]Returns all the core peripherals once
pub unsafe fn steal() -> Peripherals
[src]
pub unsafe fn steal() -> Peripherals
[src]Unchecked version of Peripherals::take