diff options
author | Karl Palsson <karlp@tweak.net.au> | 2017-03-01 22:53:58 +0000 |
---|---|---|
committer | Karl Palsson <karlp@tweak.net.au> | 2017-03-01 22:53:58 +0000 |
commit | 12f454b41b8d64fb22a55ba9cd748f62ec4f34e9 (patch) | |
tree | 3e464cd1d49f216a803b79a575dff6e70ede984e /tests/i2c-master/hw.h | |
parent | d30f38ed3c2bf38ef57dd14fac672722b480927c (diff) | |
download | olsndot-12f454b41b8d64fb22a55ba9cd748f62ec4f34e9.tar.gz olsndot-12f454b41b8d64fb22a55ba9cd748f62ec4f34e9.tar.bz2 olsndot-12f454b41b8d64fb22a55ba9cd748f62ec4f34e9.zip |
i2c-master: tidy up more.
Still f4 only, but cleaner, and more testing with sigrok for
verification
Diffstat (limited to 'tests/i2c-master/hw.h')
-rw-r--r-- | tests/i2c-master/hw.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/i2c-master/hw.h b/tests/i2c-master/hw.h index 7ce9c50..34aef32 100644 --- a/tests/i2c-master/hw.h +++ b/tests/i2c-master/hw.h @@ -15,6 +15,9 @@ struct hw_detail uint32_t pins; /* eg: GPIO8 | GPIO9 */ /* ASSUMES SAME PORT*/ uint32_t port; /* eg GPIOB */ uint32_t port_rcc; /* eg RCC_GPIOB */ + uint32_t trigger_rcc; + uint32_t trigger_port; + uint32_t trigger_pin; }; extern struct hw_detail hw_details; |