Hibernation Module
ROM Location:
ROM_APITABLE is an array of pointers located at 0x0100.0010.
ROM_HIBERNATETABLE is an array of pointers located at ROM_APITABLE[19].
ROM_HibernateRTCSSGet is a function pointer located at ROM_HIBERNATETABLE[27].
Description:
This function will return the current value of the sub second count for the for the RTC in 1/32768
of a second increments.
Returns:
The current RTC sub second count in 1/32768 seconds.
11.2.1.21 ROM_HibernateRTCTrimGet
Gets the value of the RTC predivider trim register.
Prototype:
uint32_t
ROM_HibernateRTCTrimGet(void)
ROM Location:
ROM_APITABLE is an array of pointers located at 0x0100.0010.
ROM_HIBERNATETABLE is an array of pointers located at ROM_APITABLE[19].
ROM_HibernateRTCTrimGet is a function pointer located at ROM_HIBERNATETABLE[17].
Description:
Gets the value of the pre-divider trim register. This function can be used to get the current value
of the trim register prior to making an adjustment by using the ROM_HibernateRTCTrimSet()
function.
Returns:
None.
11.2.1.22 ROM_HibernateRTCTrimSet
Sets the value of the RTC predivider trim register.
Prototype:
void
ROM_HibernateRTCTrimSet(uint32_t ui32Trim)
ROM Location:
ROM_APITABLE is an array of pointers located at 0x0100.0010.
ROM_HIBERNATETABLE is an array of pointers located at ROM_APITABLE[19].
ROM_HibernateRTCTrimSet is a function pointer located at ROM_HIBERNATETABLE[16].
Parameters:
ui32Trim is the new value for the pre-divider trim register.
Description:
Sets the value of the pre-divider trim register. The input time source is divided by the pre-
divider to achieve a one-second clock rate. Once every 64 seconds, the value of the pre-divider
April 8, 2013 119