aboutsummaryrefslogtreecommitdiff
path: root/src/peripheral/dwt.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/peripheral/dwt.rs')
-rw-r--r--src/peripheral/dwt.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peripheral/dwt.rs b/src/peripheral/dwt.rs
index 84ea6a7..4097c8d 100644
--- a/src/peripheral/dwt.rs
+++ b/src/peripheral/dwt.rs
@@ -78,7 +78,7 @@ bitfield! {
#[derive(Copy, Clone)]
/// Comparator FUNCTIONn register.
pub struct Function(u32);
- get_function, set_function: 3, 0;
+ u8, get_function, set_function: 3, 0;
get_emitrange, set_emitrange: 5;
get_cycmatch, set_cycmatch: 7;
get_datavmatch, set_datavmatch: 8;