mirror of
https://github.com/apache/nuttx.git
synced 2026-08-31 14:13:04 +00:00
Rename up_rtcinitialize to up_rtc_initialize so that it looks like other RTC interfaces
This commit is contained in:
parent
25e54726a3
commit
25a2e17347
6 changed files with 12 additions and 12 deletions
|
|
@ -367,7 +367,7 @@ static uint64_t efm32_get_burtc_tick(void)
|
|||
************************************************************************************/
|
||||
|
||||
/************************************************************************************
|
||||
* Name: up_rtcinitialize
|
||||
* Name: up_rtc_initialize
|
||||
*
|
||||
* Description:
|
||||
* Initialize the hardware RTC per the selected configuration. This function is
|
||||
|
|
@ -381,7 +381,7 @@ static uint64_t efm32_get_burtc_tick(void)
|
|||
*
|
||||
************************************************************************************/
|
||||
|
||||
int up_rtcinitialize(void)
|
||||
int up_rtc_initialize(void)
|
||||
{
|
||||
efm32_rtc_burtc_init();
|
||||
|
||||
|
|
|
|||
|
|
@ -263,7 +263,7 @@ static int rtc_interrupt(int irq, void *context)
|
|||
************************************************************************************/
|
||||
|
||||
/************************************************************************************
|
||||
* Name: up_rtcinitialize
|
||||
* Name: up_rtc_initialize
|
||||
*
|
||||
* Description:
|
||||
* Initialize the hardware RTC per the selected configuration. This function is
|
||||
|
|
@ -277,7 +277,7 @@ static int rtc_interrupt(int irq, void *context)
|
|||
*
|
||||
************************************************************************************/
|
||||
|
||||
int up_rtcinitialize(void)
|
||||
int up_rtc_initialize(void)
|
||||
{
|
||||
int ret;
|
||||
|
||||
|
|
|
|||
|
|
@ -351,7 +351,7 @@ static uint32_t rtc_sync(void)
|
|||
************************************************************************************/
|
||||
|
||||
/************************************************************************************
|
||||
* Name: up_rtcinitialize
|
||||
* Name: up_rtc_initialize
|
||||
*
|
||||
* Description:
|
||||
* Initialize the hardware RTC per the selected configuration. This function is
|
||||
|
|
@ -365,7 +365,7 @@ static uint32_t rtc_sync(void)
|
|||
*
|
||||
************************************************************************************/
|
||||
|
||||
int up_rtcinitialize(void)
|
||||
int up_rtc_initialize(void)
|
||||
{
|
||||
uint32_t ver;
|
||||
|
||||
|
|
|
|||
|
|
@ -308,7 +308,7 @@ static int rtc_interrupt(int irq, void *context)
|
|||
************************************************************************************/
|
||||
|
||||
/************************************************************************************
|
||||
* Name: up_rtcinitialize
|
||||
* Name: up_rtc_initialize
|
||||
*
|
||||
* Description:
|
||||
* Initialize the hardware RTC per the selected configuration. This function is
|
||||
|
|
@ -322,7 +322,7 @@ static int rtc_interrupt(int irq, void *context)
|
|||
*
|
||||
************************************************************************************/
|
||||
|
||||
int up_rtcinitialize(void)
|
||||
int up_rtc_initialize(void)
|
||||
{
|
||||
uint32_t ver;
|
||||
|
||||
|
|
|
|||
|
|
@ -594,7 +594,7 @@ static int rtc_interrupt(int irq, void *context)
|
|||
************************************************************************************/
|
||||
|
||||
/************************************************************************************
|
||||
* Name: up_rtcinitialize
|
||||
* Name: up_rtc_initialize
|
||||
*
|
||||
* Description:
|
||||
* Initialize the hardware RTC per the selected configuration. This function is
|
||||
|
|
@ -608,7 +608,7 @@ static int rtc_interrupt(int irq, void *context)
|
|||
*
|
||||
************************************************************************************/
|
||||
|
||||
int up_rtcinitialize(void)
|
||||
int up_rtc_initialize(void)
|
||||
{
|
||||
uint32_t regval;
|
||||
uint32_t tr_bkp;
|
||||
|
|
|
|||
|
|
@ -350,7 +350,7 @@ static int stm32_rtc_interrupt(int irq, void *context)
|
|||
************************************************************************************/
|
||||
|
||||
/************************************************************************************
|
||||
* Name: up_rtcinitialize
|
||||
* Name: up_rtc_initialize
|
||||
*
|
||||
* Description:
|
||||
* Initialize the hardware RTC per the selected configuration. This function is
|
||||
|
|
@ -364,7 +364,7 @@ static int stm32_rtc_interrupt(int irq, void *context)
|
|||
*
|
||||
************************************************************************************/
|
||||
|
||||
int up_rtcinitialize(void)
|
||||
int up_rtc_initialize(void)
|
||||
{
|
||||
/* Enable write access to the backup domain (RTC registers, RTC backup data
|
||||
* registers and backup SRAM).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue