Struct cortex_m::peripheral::DWT [] [src]

#[repr(C)]
pub struct DWT { pub ctrl: RW<u32>, pub cyccnt: RW<u32>, pub cpicnt: RW<u32>, pub exccnt: RW<u32>, pub sleepcnt: RW<u32>, pub lsucnt: RW<u32>, pub foldcnt: RW<u32>, pub pcsr: RO<u32>, pub c: [Comparator; 16], pub lar: WO<u32>, pub lsr: RO<u32>, // some fields omitted }

DWT register block

Fields

Control

Cycle Count

CPI Count

Exception Overhead Count

Sleep Count

LSU Count

Folded-instruction Count

Program Counter Sample

Comparators

Lock Access

Lock Status

Methods

impl DWT
[src]

[src]

Enables the cycle counter