mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
Update some comments
This commit is contained in:
@@ -220,7 +220,14 @@ static int rtc_bcd2bin(uint8_t value)
|
||||
*
|
||||
* Description:
|
||||
* Initialize the hardware RTC per the selected configuration. This function is
|
||||
* called once during the OS initialization sequence
|
||||
* called once during the OS initialization sequence by board-specific logic.
|
||||
*
|
||||
* After ds3231_rtc_initialize() is called, the OS function clock_synchronize()
|
||||
* should also be called to synchronize the system timer to a hardware RTC. That
|
||||
* operation is normally performed automatically by the system during clock
|
||||
* initialization. However, when an external RTC is used, the board logic will
|
||||
* need to explicitly re-synchronize the system timer to the RTC when the RTC
|
||||
* becomes available.
|
||||
*
|
||||
* Input Parameters:
|
||||
* None
|
||||
|
||||
@@ -61,7 +61,14 @@ extern "C"
|
||||
*
|
||||
* Description:
|
||||
* Initialize the hardware RTC per the selected configuration. This function is
|
||||
* called once during the OS initialization sequence
|
||||
* called once during the OS initialization sequence by board-specific logic.
|
||||
*
|
||||
* After ds3231_rtc_initialize() is called, the OS function clock_synchronize()
|
||||
* should also be called to synchronize the system timer to a hardware RTC. That
|
||||
* operation is normally performed automatically by the system during clock
|
||||
* initialization. However, when an external RTC is used, the board logic will
|
||||
* need to explicitly re-synchronize the system timer to the RTC when the RTC
|
||||
* becomes available.
|
||||
*
|
||||
* Input Parameters:
|
||||
* None
|
||||
|
||||
Reference in New Issue
Block a user