Added HAL docs, improved HAL init&locking (#218)
This commit is contained in:
committed by
GitHub
parent
b7f39f883d
commit
2e86d4774b
@@ -9,9 +9,7 @@
|
||||
|
||||
namespace tt::hal {
|
||||
|
||||
/**
|
||||
* Base class for HAL-related devices.
|
||||
*/
|
||||
/** Base class for HAL-related devices. */
|
||||
class Device {
|
||||
|
||||
public:
|
||||
@@ -37,9 +35,10 @@ public:
|
||||
Device();
|
||||
virtual ~Device() = default;
|
||||
|
||||
/** Unique identifier */
|
||||
inline Id getId() const { return id; }
|
||||
|
||||
/** The type of device. */
|
||||
/** The type of device */
|
||||
virtual Type getType() const = 0;
|
||||
|
||||
/** The part number or hardware name e.g. TdeckTouch, TdeckDisplay, BQ24295, etc. */
|
||||
|
||||
Reference in New Issue
Block a user