62 unsigned long ulClkReg;
63 unsigned long ulRstReg;
71 #define PRCM_RUN_MODE_CLK 0x00000001 72 #define PRCM_SLP_MODE_CLK 0x00000100 78 #define PRCM_SRAM_COL_1 0x00000001 79 #define PRCM_SRAM_COL_2 0x00000002 80 #define PRCM_SRAM_COL_3 0x00000004 81 #define PRCM_SRAM_COL_4 0x00000008 87 #define PRCM_SRAM_LPDS_RET 0x00000002 93 #define PRCM_LPDS_HOST_IRQ 0x00000080 94 #define PRCM_LPDS_GPIO 0x00000010 95 #define PRCM_LPDS_TIMER 0x00000001 100 #define PRCM_LPDS_LOW_LEVEL 0x00000002 101 #define PRCM_LPDS_HIGH_LEVEL 0x00000000 102 #define PRCM_LPDS_FALL_EDGE 0x00000001 103 #define PRCM_LPDS_RISE_EDGE 0x00000003 108 #define PRCM_LPDS_GPIO2 0x00000000 109 #define PRCM_LPDS_GPIO4 0x00000001 110 #define PRCM_LPDS_GPIO13 0x00000002 111 #define PRCM_LPDS_GPIO17 0x00000003 112 #define PRCM_LPDS_GPIO11 0x00000004 113 #define PRCM_LPDS_GPIO24 0x00000005 114 #define PRCM_LPDS_GPIO26 0x00000006 120 #define PRCM_HIB_SLOW_CLK_CTR 0x00000001 125 #define PRCM_HIB_LOW_LEVEL 0x00000000 126 #define PRCM_HIB_HIGH_LEVEL 0x00000001 127 #define PRCM_HIB_FALL_EDGE 0x00000002 128 #define PRCM_HIB_RISE_EDGE 0x00000003 134 #define PRCM_HIB_GPIO2 0x00010000 135 #define PRCM_HIB_GPIO4 0x00020000 136 #define PRCM_HIB_GPIO13 0x00040000 137 #define PRCM_HIB_GPIO17 0x00080000 138 #define PRCM_HIB_GPIO11 0x00100000 139 #define PRCM_HIB_GPIO24 0x00200000 140 #define PRCM_HIB_GPIO26 0x00400000 145 #define PRCM_POWER_ON 0x00000000 146 #define PRCM_LPDS_EXIT 0x00000001 147 #define PRCM_CORE_RESET 0x00000003 148 #define PRCM_MCU_RESET 0x00000004 149 #define PRCM_WDT_RESET 0x00000005 150 #define PRCM_SOC_RESET 0x00000006 151 #define PRCM_HIB_EXIT 0x00000007 156 #define PRCM_HIB_WAKEUP_CAUSE_SLOW_CLOCK 0x00000002 157 #define PRCM_HIB_WAKEUP_CAUSE_GPIO 0x00000004 162 #define PRCM_INT_SLOW_CLK_CTR 0x00004000 168 #define PRCM_CAMERA 0x00000000 169 #define PRCM_I2S 0x00000001 170 #define PRCM_SDHOST 0x00000002 171 #define PRCM_GSPI 0x00000003 172 #define PRCM_LSPI 0x00000004 173 #define PRCM_UDMA 0x00000005 174 #define PRCM_GPIOA0 0x00000006 175 #define PRCM_GPIOA1 0x00000007 176 #define PRCM_GPIOA2 0x00000008 177 #define PRCM_GPIOA3 0x00000009 178 #define PRCM_GPIOA4 0x0000000A 179 #define PRCM_WDT 0x0000000B 180 #define PRCM_UARTA0 0x0000000C 181 #define PRCM_UARTA1 0x0000000D 182 #define PRCM_TIMERA0 0x0000000E 183 #define PRCM_TIMERA1 0x0000000F 184 #define PRCM_TIMERA2 0x00000010 185 #define PRCM_TIMERA3 0x00000011 186 #define PRCM_DTHE 0x00000012 187 #define PRCM_SSPI 0x00000013 188 #define PRCM_I2CA0 0x00000014 191 #define PRCM_ADC 0x000000FF 202 unsigned long ulClkFlags);
204 unsigned long ulClkFlags);
214 unsigned long ulFlags);
216 unsigned long ulFlags);
218 unsigned long ulRestorePC);
224 unsigned long ulType);
231 unsigned long ulType);
241 unsigned long ulRegValue);
251 extern void PRCMRTCSet(
unsigned long ulSecs,
unsigned short usMsec);
252 extern void PRCMRTCGet(
unsigned long *ulSecs,
unsigned short *usMsec);
253 extern void PRCMRTCMatchSet(
unsigned long ulSecs,
unsigned short usMsec);
254 extern void PRCMRTCMatchGet(
unsigned long *ulSecs,
unsigned short *usMsec);
257 extern void PRCMHIBRegWrite(
unsigned long ulRegAddr,
unsigned long ulValue);
259 unsigned char ulWidth);
void PRCMIntRegister(void(*pfnHandler)(void))
Definition: prcm.c:1400
void PRCMLPDSEnterKeepDebugIf(void)
Definition: prcm.c:698
unsigned long PRCMCameraFreqSet(unsigned char ulDivider, unsigned char ulWidth)
Definition: prcm.c:2001
void PRCMLPDSWakeupSourceDisable(unsigned long ulLpdsWakeupSrc)
Definition: prcm.c:797
tBoolean PRCMPeripheralStatusGet(unsigned long ulPeripheral)
Definition: prcm.c:518
void PRCMIntEnable(unsigned long ulIntFlags)
Definition: prcm.c:1453
void PRCMSRAMRetentionEnable(unsigned long ulSramColSel, unsigned long ulFlags)
Definition: prcm.c:937
void PRCMRTCMatchSet(unsigned long ulSecs, unsigned short usMsec)
Definition: prcm.c:1657
void PRCMRTCGet(unsigned long *ulSecs, unsigned short *usMsec)
Definition: prcm.c:1622
void PRCMIntDisable(unsigned long ulIntFlags)
Definition: prcm.c:1489
void PRCMRTCInUseSet(void)
Definition: prcm.c:1542
void PRCMHibernateWakeupSourceDisable(unsigned long ulHIBWakupSrc)
Definition: prcm.c:1056
void PRCMSlowClkCtrMatchSet(unsigned long long ullTicks)
Definition: prcm.c:1311
unsigned long PRCMLPDSWakeupCauseGet(void)
Definition: prcm.c:814
void PRCMHibernateEnter(void)
Definition: prcm.c:1218
unsigned long long PRCMSlowClkCtrGet(void)
Definition: prcm.c:1250
unsigned long long PRCMSlowClkCtrFastGet(void)
Definition: prcm.c:1284
unsigned long PRCMOCRRegisterRead(unsigned char ucIndex)
Definition: prcm.c:1379
unsigned long PRCMHibernateWakeupCauseGet(void)
Definition: prcm.c:1103
void PRCMOCRRegisterWrite(unsigned char ucIndex, unsigned long ulRegValue)
Definition: prcm.c:1362
void PRCMI2SClockFreqSet(unsigned long ulI2CClkFreq)
Definition: prcm.c:561
void PRCMLPDSRestoreInfoSet(unsigned long ulRestoreSP, unsigned long ulRestorePC)
Definition: prcm.c:592
void PRCMRTCSet(unsigned long ulSecs, unsigned short usMsec)
Definition: prcm.c:1589
void PRCMLPDSWakeUpGPIOSelect(unsigned long ulGPIOPin, unsigned long ulType)
Definition: prcm.c:878
unsigned long PRCMPeripheralClockGet(unsigned long ulPeripheral)
Definition: prcm.c:424
void PRCMRTCMatchGet(unsigned long *ulSecs, unsigned short *usMsec)
Definition: prcm.c:1690
unsigned long PRCMHIBRegRead(unsigned long ulRegAddr)
Definition: prcm.c:1925
unsigned long PRCMSysResetCauseGet(void)
Definition: prcm.c:319
void PRCMHibernateWakeUpGPIOSelect(unsigned long ulMultiGPIOBitMap, unsigned long ulType)
Definition: prcm.c:1182
void PRCMHibernateIntervalSet(unsigned long long ullTicks)
Definition: prcm.c:1120
unsigned long PRCMIntStatus(void)
Definition: prcm.c:1519
void PRCMLPDSIntervalSet(unsigned long ulTicks)
Definition: prcm.c:833
void PRCMPeripheralReset(unsigned long ulPeripheral)
Definition: prcm.c:477
void PRCMLPDSEnter(void)
Definition: prcm.c:623
void PRCMCC3200MCUInit(void)
Definition: prcm.c:1715
void PRCMHIBRegWrite(unsigned long ulRegAddr, unsigned long ulValue)
Definition: prcm.c:1958
unsigned long long PRCMSlowClkCtrMatchGet(void)
Definition: prcm.c:1332
void PRCMLPDSWakeupSourceEnable(unsigned long ulLpdsWakeupSrc)
Definition: prcm.c:761
tBoolean PRCMRTCInUseGet(void)
Definition: prcm.c:1565
void PRCMPeripheralClkEnable(unsigned long ulPeripheral, unsigned long ulClkFlags)
Definition: prcm.c:364
void PRCMPeripheralClkDisable(unsigned long ulPeripheral, unsigned long ulClkFlags)
Definition: prcm.c:401
void PRCMSRAMRetentionDisable(unsigned long ulSramColSel, unsigned long ulFlags)
Definition: prcm.c:973
void PRCMIntUnregister(void)
Definition: prcm.c:1425
void PRCMHibernateWakeupSourceEnable(unsigned long ulHIBWakupSrc)
Definition: prcm.c:1007
void PRCMSleepEnter(void)
Definition: prcm.c:904
void PRCMMCUReset(tBoolean bIncludeSubsystem)
Definition: prcm.c:272