mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-13 15:23:33 +08:00
STM32 doc comments
This commit is contained in:
@@ -164,7 +164,8 @@ public:
|
||||
unsigned getRxQueueLength() const;
|
||||
|
||||
/**
|
||||
* Returns last hardware error code (LEC field in the register ESR)
|
||||
* Returns last hardware error code (LEC field in the register ESR).
|
||||
* The error code will be reset.
|
||||
*/
|
||||
uavcan::uint8_t yieldLastHardwareErrorCode();
|
||||
|
||||
@@ -177,7 +178,7 @@ public:
|
||||
|
||||
/**
|
||||
* CAN driver, incorporates all available CAN ifaces.
|
||||
* Please avoid direct usage, prefer @ref CanInitHelper instead.
|
||||
* Please avoid direct use, prefer @ref CanInitHelper instead.
|
||||
*/
|
||||
class CanDriver : public uavcan::ICanDriver, uavcan::Noncopyable
|
||||
{
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace clock
|
||||
void init();
|
||||
|
||||
/**
|
||||
* Returns current monotonic time passed since the moment when clock::init() was called.
|
||||
* Returns current monotonic time since the moment when clock::init() was called.
|
||||
* This function is thread safe.
|
||||
*/
|
||||
uavcan::MonotonicTime getMonotonic();
|
||||
@@ -30,7 +30,7 @@ uavcan::MonotonicTime getMonotonic();
|
||||
uavcan::UtcTime getUtc();
|
||||
|
||||
/**
|
||||
* Performs UTC time adjustment.
|
||||
* Performs UTC phase and frequency adjustment.
|
||||
* The UTC time will be zero until first adjustment has been performed.
|
||||
* This function is thread safe.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user