26#include <fastarduino/boards/board.h>
51#define MANAGER_FUTURE(M) typename M::ABSTRACT_FUTURE
169 template<I2CMode MODE_>
170 struct I2CManager_trait<I2CSyncManager<MODE_>>
171 : I2CManager_trait_impl<false, false, false, MODE_> {};
173 template<I2CMode MODE_,
typename STATUS_HOOK_>
174 struct I2CManager_trait<I2CSyncStatusManager<MODE_, STATUS_HOOK_>>
175 : I2CManager_trait_impl<false, true, false, MODE_> {};
177 template<I2CMode MODE_,
typename DEBUG_HOOK_>
178 struct I2CManager_trait<I2CSyncDebugManager<MODE_, DEBUG_HOOK_>>
179 : I2CManager_trait_impl<false, false, true, MODE_> {};
181 template<I2CMode MODE_,
typename STATUS_HOOK_,
typename DEBUG_HOOK_>
182 struct I2CManager_trait<I2CSyncStatusDebugManager<MODE_, STATUS_HOOK_, DEBUG_HOOK_>>
183 : I2CManager_trait_impl<false, true, true, MODE_> {};
Define API to define and manage I2C devices.