Merge pull request #16906 from benpicco/rtt_rtc.h-doxfix
rtt_rtc: clarify documentation about epoch
This commit is contained in:
commit
7bfcda979b
@ -28,7 +28,8 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Set the time as epoch with sub-second precision
|
* @brief Set the time as epoch (elapsed seconds since @ref RIOT_EPOCH)
|
||||||
|
* with sub-second precision
|
||||||
* This feature is an extension provided by the `rtt_rtc` module.
|
* This feature is an extension provided by the `rtt_rtc` module.
|
||||||
*
|
*
|
||||||
* @note The actual µs precision depends on the underlying hardware.
|
* @note The actual µs precision depends on the underlying hardware.
|
||||||
@ -40,7 +41,8 @@ extern "C" {
|
|||||||
void rtt_rtc_settimeofday(uint32_t s, uint32_t us);
|
void rtt_rtc_settimeofday(uint32_t s, uint32_t us);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Get the current epoch with sub-second precision
|
* @brief Get the current epoch (elapsed seconds since @ref RIOT_EPOCH)
|
||||||
|
* with sub-second precision
|
||||||
* This feature is an extension provided by the `rtt_rtc` module.
|
* This feature is an extension provided by the `rtt_rtc` module.
|
||||||
*
|
*
|
||||||
* @note The actual µs precision depends on the underlying hardware.
|
* @note The actual µs precision depends on the underlying hardware.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user