SyterKit 0.4.0.x
SyterKit is a bare-metal framework
Loading...
Searching...
No Matches
Macros | Functions
rtc.h File Reference

Go to the source code of this file.

Macros

#define SUNXI_RTC_BASE   (0x07000000)
 
#define SUNXI_RTC_DATA_BASE   (SUNXI_RTC_BASE + 0x100)
 
#define RTC_FEL_INDEX   2
 

Functions

void set_timer_count ()
 Set timer count.
 

Macro Definition Documentation

◆ RTC_FEL_INDEX

#define RTC_FEL_INDEX   2

◆ SUNXI_RTC_BASE

#define SUNXI_RTC_BASE   (0x07000000)

◆ SUNXI_RTC_DATA_BASE

#define SUNXI_RTC_DATA_BASE   (SUNXI_RTC_BASE + 0x100)

Function Documentation

◆ set_timer_count()

void set_timer_count ( )

Set timer count.

This function is used to set the count value of the timer.

Note
Before calling this function, timer-related hardware configuration should be initialized.

Set timer count.

This function calls the frequency detection routine and initializes the timestamp based on the current time in microseconds.

This function is used to set the count value of the timer.

Note
Before calling this function, timer-related hardware configuration should be initialized.

Set timer count.

This function calls the frequency detection routine and initializes the timestamp based on the current time in microseconds.