mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-08-05 18:21:54 +00:00
Last clean-up; removed config.hpp
This commit is contained in:
@@ -26,9 +26,9 @@ namespace sta
|
||||
|
||||
private:
|
||||
I2C * intf_;
|
||||
int address_; /**< device address */
|
||||
int master_;
|
||||
int blocking_;
|
||||
int address_; /**< device address */
|
||||
int master_; /**< is the mcu the master? */
|
||||
int blocking_; /**< blocking or non-blocking transmits / receives */
|
||||
};
|
||||
|
||||
} // namespace sta
|
||||
|
@@ -24,8 +24,9 @@ namespace sta
|
||||
/**
|
||||
* @brief Specify the mode of communication via the bus.
|
||||
*
|
||||
* @param master
|
||||
* @param blocking
|
||||
* @param address The peripheral's address to communicate with.
|
||||
* @param master Whether the mcu is a master or slave.
|
||||
* @param blocking Whether to use blocking or non-blocking transmits / receives.
|
||||
*/
|
||||
void setSettings(uint16_t address, bool master, bool blocking);
|
||||
|
||||
|
Reference in New Issue
Block a user