#include <stdint.h>
#include <stdbool.h>
#include <time.h>
Go to the source code of this file.
Functions | |
void | HibernateGPIORetentionEnable (void) |
void | HibernateGPIORetentionDisable (void) |
bool | HibernateGPIORetentionGet (void) |
void | HibernateEnableExpClk (uint32_t ui32HibClk) |
void | HibernateDisable (void) |
void | HibernateRTCEnable (void) |
void | HibernateRTCDisable (void) |
void | HibernateWakeSet (uint32_t ui32WakeFlags) |
uint32_t | HibernateWakeGet (void) |
void | HibernateLowBatSet (uint32_t ui32LowBatFlags) |
uint32_t | HibernateLowBatGet (void) |
void | HibernateRTCSet (uint32_t ui32RTCValue) |
uint32_t | HibernateRTCGet (void) |
void | HibernateRTCMatchSet (uint32_t ui32Match, uint32_t ui32Value) |
uint32_t | HibernateRTCMatchGet (uint32_t ui32Match) |
void | HibernateRTCTrimSet (uint32_t ui32Trim) |
uint32_t | HibernateRTCTrimGet (void) |
void | HibernateDataSet (uint32_t *pui32Data, uint32_t ui32Count) |
void | HibernateDataGet (uint32_t *pui32Data, uint32_t ui32Count) |
void | HibernateRequest (void) |
void | HibernateIntEnable (uint32_t ui32IntFlags) |
void | HibernateIntDisable (uint32_t ui32IntFlags) |
void | HibernateIntRegister (void(*pfnHandler)(void)) |
void | HibernateIntUnregister (void) |
uint32_t | HibernateIntStatus (bool bMasked) |
void | HibernateIntClear (uint32_t ui32IntFlags) |
uint32_t | HibernateIsActive (void) |
void | HibernateRTCSSMatchSet (uint32_t ui32Match, uint32_t ui32Value) |
uint32_t | HibernateRTCSSMatchGet (uint32_t ui32Match) |
uint32_t | HibernateRTCSSGet (void) |
void | HibernateClockConfig (uint32_t ui32Config) |
void | HibernateBatCheckStart (void) |
uint32_t | HibernateBatCheckDone (void) |
void | HibernateCounterMode (uint32_t ui32Config) |
void | HibernateCalendarSet (struct tm *psTime) |
int | HibernateCalendarGet (struct tm *psTime) |
void | HibernateCalendarMatchSet (uint32_t ui32Index, struct tm *psTime) |
void | HibernateCalendarMatchGet (uint32_t ui32Index, struct tm *psTime) |
void | HibernateTamperEnable (void) |
void | HibernateTamperEventsConfig (uint32_t ui32Config) |
bool | HibernateTamperEventsGet (uint32_t ui32Index, uint32_t *pui32RTC, uint32_t *pui32Event) |
void | HibernateTamperEventsClear (void) |
void | HibernateTamperEventsClearNoLock (void) |
void | HibernateTamperUnLock (void) |
void | HibernateTamperLock (void) |
void | HibernateTamperDisable (void) |
void | HibernateTamperIOEnable (uint32_t ui32Input, uint32_t ui32Config) |
void | HibernateTamperIODisable (uint32_t ui32Input) |
uint32_t | HibernateTamperStatusGet (void) |
void | HibernateTamperExtOscRecover (void) |
bool | HibernateTamperExtOscValid (void) |
#define HIBERNATE_WAKE_PIN 0x00000010 |
Referenced by HibernateWakeGet(), and HibernateWakeSet().
#define HIBERNATE_WAKE_RTC 0x00000008 |
Referenced by HibernateWakeGet(), and HibernateWakeSet().
#define HIBERNATE_WAKE_LOW_BAT 0x00000200 |
Referenced by HibernateWakeGet(), and HibernateWakeSet().
#define HIBERNATE_WAKE_GPIO 0x00000010 |
Referenced by HibernateWakeGet(), and HibernateWakeSet().
#define HIBERNATE_WAKE_RESET 0x00100010 |
Referenced by HibernateWakeGet(), and HibernateWakeSet().
#define HIBERNATE_LOW_BAT_DETECT 0x00000020 |
#define HIBERNATE_LOW_BAT_ABORT 0x000000A0 |
Referenced by HibernateLowBatGet(), and HibernateLowBatSet().
#define HIBERNATE_LOW_BAT_1_9V 0x00000000 |
#define HIBERNATE_LOW_BAT_2_1V 0x00002000 |
#define HIBERNATE_LOW_BAT_2_3V 0x00004000 |
#define HIBERNATE_LOW_BAT_2_5V 0x00006000 |
#define HIBERNATE_INT_VDDFAIL 0x00000080 |
Referenced by HibernateIntClear(), HibernateIntDisable(), and HibernateIntEnable().
#define HIBERNATE_INT_RESET_WAKE 0x00000040 |
Referenced by HibernateIntClear(), HibernateIntDisable(), and HibernateIntEnable().
#define HIBERNATE_INT_GPIO_WAKE 0x00000020 |
Referenced by HibernateIntClear(), HibernateIntDisable(), and HibernateIntEnable().
#define HIBERNATE_INT_WR_COMPLETE 0x00000010 |
Referenced by HibernateIntClear(), HibernateIntDisable(), and HibernateIntEnable().
#define HIBERNATE_INT_PIN_WAKE 0x00000008 |
Referenced by HibernateIntClear(), HibernateIntDisable(), and HibernateIntEnable().
#define HIBERNATE_INT_LOW_BAT 0x00000004 |
Referenced by HibernateIntClear(), HibernateIntDisable(), and HibernateIntEnable().
#define HIBERNATE_INT_RTC_MATCH_0 0x00000001 |
Referenced by HibernateIntClear(), HibernateIntDisable(), and HibernateIntEnable().
#define HIBERNATE_OSC_LFIOSC 0x00080000 |
Referenced by HibernateClockConfig().
#define HIBERNATE_OSC_LOWDRIVE 0x00000000 |
Referenced by HibernateClockConfig().
#define HIBERNATE_OSC_HIGHDRIVE 0x00020000 |
Referenced by HibernateClockConfig().
#define HIBERNATE_OSC_DISABLE 0x00010000 |
Referenced by HibernateClockConfig().
#define HIBERNATE_OUT_WRSTALL 0x20000000 |
#define HIBERNATE_OUT_SYSCLK 0x00000001 |
#define HIBERNATE_OUT_ALT1CLK 0x00000002 |
#define HIBERNATE_COUNTER_RTC 0x00000000 |
#define HIBERNATE_COUNTER_12HR 0x00000001 |
#define HIBERNATE_COUNTER_24HR 0x00000005 |
#define HIBERNATE_TAMPER_EVENTS_NO_HIB_WAKE 0x00000000 |
#define HIBERNATE_TAMPER_EVENTS_HIB_WAKE 0x00000800 |
#define HIBERNATE_TAMPER_EVENTS_NO_ERASE_HIB_MEM 0x00000000 |
#define HIBERNATE_TAMPER_EVENTS_ERASE_LOW_HIB_MEM 0x00000100 |
#define HIBERNATE_TAMPER_EVENTS_ERASE_HIGH_HIB_MEM 0x00000200 |
#define HIBERNATE_TAMPER_EVENTS_ERASE_ALL_HIB_MEM 0x00000300 |
#define HIBERNATE_TAMPER_STATUS_INACTIVE 0x00000010 |
Referenced by HibernateTamperStatusGet().
#define HIBERNATE_TAMPER_STATUS_ACTIVE 0x00000020 |
#define HIBERNATE_TAMPER_STATUS_EVENT 0x00000040 |
#define HIBERNATE_TAMPER_STATUS_EXT_OSC_ACTIVE 0x00000008 |
Referenced by HibernateTamperExtOscValid(), and HibernateTamperStatusGet().
#define HIBERNATE_TAMPER_STATUS_EXT_OSC_INACTIVE 0x00000002 |
#define HIBERNATE_TAMPER_STATUS_EXT_OSC_VALID 0x00000004 |
Referenced by HibernateTamperExtOscValid(), and HibernateTamperStatusGet().
#define HIBERNATE_TAMPER_STATUS_EXT_OSC_FAILED 0x00000001 |
#define HIBERNATE_TAMPER_IO_TRIGGER_LOW 0x00000000 |
#define HIBERNATE_TAMPER_IO_TRIGGER_HIGH 0x00000002 |
#define HIBERNATE_TAMPER_IO_WPU_DISABLED 0x00000000 |
#define HIBERNATE_TAMPER_IO_WPU_ENABLED 0x00000004 |
#define HIBERNATE_TAMPER_IO_MATCH_SHORT 0x00000000 |
#define HIBERNATE_TAMPER_IO_MATCH_LONG 0x00000008 |
#define HIBERNATE_TAMPER_EVENT_0 0x00000001 |
#define HIBERNATE_TAMPER_EVENT_1 0x00000002 |
#define HIBERNATE_TAMPER_EVENT_2 0x00000004 |
#define HIBERNATE_TAMPER_EVENT_3 0x00000008 |
#define HIBERNATE_TAMPER_EVENT_EXT_OSC 0x00010000 |