summaryrefslogtreecommitdiff
path: root/tests/i2c-master/hw.h
diff options
context:
space:
mode:
authorKarl Palsson <karlp@tweak.net.au>2017-03-01 23:30:59 +0000
committerKarl Palsson <karlp@tweak.net.au>2017-03-08 23:05:52 +0000
commitd6e9b188c71131cf0745b3b25d033a5e16db886e (patch)
treea752d81785f382636ac52e0ef6626172783da9b1 /tests/i2c-master/hw.h
parent12f454b41b8d64fb22a55ba9cd748f62ec4f34e9 (diff)
downloadolsndot-d6e9b188c71131cf0745b3b25d033a5e16db886e.tar.gz
olsndot-d6e9b188c71131cf0745b3b25d033a5e16db886e.tar.bz2
olsndot-d6e9b188c71131cf0745b3b25d033a5e16db886e.zip
i2c-master: working on l1 too.
Needs retest on f4. then ready to move to new hardware
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;