mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-06-12 01:25:59 +00:00
Updated address scanning
This commit is contained in:
parent
54a8ecf6c7
commit
f3dfb687f2
@ -39,7 +39,7 @@ namespace sta
|
|||||||
* @brief Prints all available addresses via the debug printable.
|
* @brief Prints all available addresses via the debug printable.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
virtual void scanAddresses() = 0;
|
virtual void addressScan() = 0;
|
||||||
protected:
|
protected:
|
||||||
/// @brief The peripheral's address to communicate with.
|
/// @brief The peripheral's address to communicate with.
|
||||||
uint16_t address_;
|
uint16_t address_;
|
||||||
|
@ -29,7 +29,6 @@ namespace sta
|
|||||||
void addressScan();
|
void addressScan();
|
||||||
|
|
||||||
void fill(uint8_t value, size_t count) override;
|
void fill(uint8_t value, size_t count) override;
|
||||||
void scanAddresses() override;
|
|
||||||
private:
|
private:
|
||||||
I2C_HandleTypeDef * handle_;
|
I2C_HandleTypeDef * handle_;
|
||||||
const uint32_t timeout_ = 1000;
|
const uint32_t timeout_ = 1000;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user