19#define EFEX_FLAG (0x5AA5A55A)
20#define RTC_FEL_INDEX 2
21#define RTC_DRAM_PARA_ADDR 3
22#define RTC_BOOT_INDEX 6
ul val
Definition memtester.c:33
u32_t uint32_t
Definition stdint.h:13
u8_t uint8_t
Definition stdint.h:7
uint32_t rtc_read_data(int index)
Read data from the RTC register at the specified index.
Definition sys-rtc.c:46
void rtc_set_fel_flag(void)
Set the FEL (Fastboot External Loader) flag in the RTC register.
Definition sys-rtc.c:56
void rtc_set_start_time_ms(void)
Set the start time in milliseconds in the RTC register.
Definition sys-rtc.c:69
void rtc_clear_fel_flag(void)
Clear the FEL (Fastboot External Loader) flag in the RTC register.
Definition sys-rtc.c:109
int rtc_get_bootmode_flag(void)
Get the bootmode flag from the RTC register.
Definition sys-rtc.c:139
int rtc_set_bootmode_flag(uint8_t flag)
Set the bootmode flag in the RTC register.
Definition sys-rtc.c:123
uint32_t rtc_probe_fel_flag(void)
Probe the FEL (Fastboot External Loader) flag in the RTC register.
Definition sys-rtc.c:100
void rtc_set_dram_para(uint32_t dram_para_addr)
Sets the parameters for Dynamic Random Access Memory (DRAM).
Definition sys-rtc.c:88
void rtc_write_data(int index, uint32_t val)
Write data to the RTC register at the specified index.
Definition sys-rtc.c:36
uint16_t index
Definition usb.h:3