VS1005g Datasheet
10 VS1005 PERIPHERALS AND REGISTERS
RTC_I_RESET, RTC_I_LOADRTC instructions the RTC_EXEC register must be set for 1 sec-
ond before the instruction is ececuted. The user must reset the RTC_EXEC register after this
time has elapsed.
RTC_GSCK is used to generate RTC memory clock. When RTC_GSCK is set the rtc_if gen-
erates one clock pulse for memory store. RTC_EXEC must be set during this operation. Rtc_if
resets this register automatically.
RTC instructions are 8-bit codes which are written to RTC_HIGH[15:8] before setting RTC_IBUSY.
RTC Instruction Codes
instruction hex code
Delay Description
RTC_I_RESET
RTC_I_LOADRTC
RTC_I_READRTC
RTC_I_RDDIV128
RTC_I_ALARM
EB
59
1/128s Reset control registers
1s Initialize time counter register
56 1/12 MHz Read time counter register
C7 1/12 MHz Read 8-bit divider register (1/128s)
AC
1/128s Set RTC alarm time
RTC_I_MEM_WR
RTC_I_MEM_RD
35 1/12 MHz Write to rtc memory
3A 1/12 MHz Read from RTC memory
Version: 0.2, 2012-03-16
95