From 12f454b41b8d64fb22a55ba9cd748f62ec4f34e9 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Wed, 1 Mar 2017 22:53:58 +0000 Subject: i2c-master: tidy up more. Still f4 only, but cleaner, and more testing with sigrok for verification --- tests/i2c-master/hw.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/i2c-master/hw.h') 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; -- cgit