summaryrefslogtreecommitdiff
path: root/tests/i2c-master/hw.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/i2c-master/hw.h')
-rw-r--r--tests/i2c-master/hw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/i2c-master/hw.h b/tests/i2c-master/hw.h
index 34aef32..8b235be 100644
--- a/tests/i2c-master/hw.h
+++ b/tests/i2c-master/hw.h
@@ -18,6 +18,7 @@ struct hw_detail
uint32_t trigger_rcc;
uint32_t trigger_port;
uint32_t trigger_pin;
+ int i2c_clock_megahz; /* eg 42 for APB1 on an F4@168Mhz */
};
extern struct hw_detail hw_details;