Added HAL docs, improved HAL init&locking (#218)
This commit is contained in:
committed by
GitHub
parent
b7f39f883d
commit
2e86d4774b
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
#include "Tactility/hal/i2c/I2c.h"
|
||||
#include <vector>
|
||||
|
||||
namespace tt::hal::i2c {
|
||||
|
||||
/**
|
||||
* Called by main HAL init to ready the internal state of the I2C HAL.
|
||||
* @param[in] configurations HAL configuration for a board
|
||||
* @return true on success
|
||||
*/
|
||||
bool init(const std::vector<i2c::Configuration>& configurations);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user