![Logo](ti_logo.svg) |
xWRL6432 MMWAVE-L-SDK
05.01.00.04
|
|
Go to the documentation of this file.
33 #ifndef SOC_RCM_XWRL64XX_H
34 #define SOC_RCM_XWRL64XX_H
54 #define SOC_RCM_FREQ_HZ2MHZ(hz) ((hz)/(1000000U))
55 #define SOC_RCM_FREQ_MHZ2HZ(mhz) ((mhz)*(1000000U))
57 #define SOC_RCM_MEMINIT_APPSS_RAM1A_INIT (1U << 0U)
58 #define SOC_RCM_MEMINIT_APPSS_RAM2A_INIT (1U << 1U)
59 #define SOC_RCM_MEMINIT_APPSS_RAM3A_INIT (1U << 2U)
60 #define SOC_RCM_MEMINIT_APPSS_ALL_INIT (SOC_RCM_MEMINIT_APPSS_RAM1A_INIT | \
61 SOC_RCM_MEMINIT_APPSS_RAM2A_INIT | \
62 SOC_RCM_MEMINIT_APPSS_RAM3A_INIT)
72 typedef enum SOC_RcmResetCause_e
108 typedef enum SOC_RcmPeripheralId_e
184 typedef enum SOC_RcmPeripheralClockSource_e
228 typedef enum SOC_RcmM4ClockSource_e
240 typedef enum SOC_RcmQspiClockFreqId_e {
263 typedef enum SOC_RcmPeripheralClockGate_e {
@ SOC_RcmM4ClockSource_SLOW_CLK
Definition: soc_rcm.h:231
@ SOC_RcmQspiClockFreqId_CLK_80MHZ
Value specifying QSPI clock of 80 Mhz.
Definition: soc_rcm.h:252
SOC_RcmPeripheralClockGate
Peripheral Clock Gate Status.
Definition: soc_rcm.h:263
@ SOC_RcmPeripheralClockSource_OSC_CLK
Value specifying Crystal Clock (40MHz)
Definition: soc_rcm.h:189
@ SOC_RcmResetCause_POWER_CAUSE_CLEAR
Value specifying Reset Cause Clear.
Definition: soc_rcm.h:77
void SOC_rcmEnableADPLLClock()
Enable ADPLL.
@ SOC_rcmM4ClockSrc_SLOW_CLK
Definition: soc_rcm.h:65
@ SOC_rcmM4ClockSrc_OSC_CLK
Definition: soc_rcm.h:64
void SOC_rcmStartMemInitTpcc(void)
Start memory initialization for TPCCA and TPCCB.
void SOC_rcmStartMemInitHwassShared(void)
Start memory initialization for HWASS Shared Memory RAM0, RAM1.
SOC_RcmPeripheralClockSource
Peripheral Clock Sources.
Definition: soc_rcm.h:185
@ SOC_RcmPeripheralClockSource_RC_CLK_10M
Value specifying RC_CLK_10M Clock (10Mhz)
Definition: soc_rcm.h:213
@ SOC_RcmPeripheralClockSource_XREF_IN_CLK
Value specifying XREF_IN Clock (40MHz)
Definition: soc_rcm.h:205
@ SOC_rcmM4ClockSrc_FAST_CLK
Definition: soc_rcm.h:67
@ SOC_RcmPeripheralId_APPSS_LIN
Value specifying LIN.
Definition: soc_rcm.h:117
@ SOC_RcmPeripheralId_APPSS_PWM
Value specifying APPSS PWM.
Definition: soc_rcm.h:165
@ SOC_RcmPeripheralClockSource_FAST_CLK
Value specifying Fast Clock (160Mhz)
Definition: soc_rcm.h:201
@ SOC_RcmPeripheralId_APPSS_QSPI
Value specifying QSPI (Quad SPI)
Definition: soc_rcm.h:121
@ SOC_rcmM4ClockSrc_MDLL_CLK
Definition: soc_rcm.h:66
SOC_RcmQspiClockFreqId
QSPI frequency values.
Definition: soc_rcm.h:240
@ SOC_RcmPeripheralId_APPSS_RTI
Value specifying APPSS RTIA (Timer)
Definition: soc_rcm.h:125
SOC_RcmResetCause SOC_rcmGetResetCause(void)
Get SOC reset cause.
@ SOC_RcmResetCause_POWER_ON_RESET
Value specifying Power ON Reset.
Definition: soc_rcm.h:81
@ SOC_RcmPeripheralClockSource_MDLL_CLK
Value specifying MDLL Clock (160Mhz)
Definition: soc_rcm.h:197
SOC_RcmPeripheralId
Peripheral IDs.
Definition: soc_rcm.h:109
uint32_t SOC_rcmGetM4Clock(void)
Get M4 frequency.
int32_t SOC_rcmSetPeripheralClock(SOC_RcmPeripheralId periphId, SOC_RcmPeripheralClockSource clkSource, uint32_t freqHz)
Set peripheral frequency.
int32_t SOC_rcmEnablePeripheralClock(SOC_RcmPeripheralId periphId, SOC_RcmPeripheralClockGate enable)
Enable/Disable peripheral Clock gating.
@ SOC_RcmResetCause_CORE_RESET
Value specifying M4 Core Reset.
Definition: soc_rcm.h:97
@ SOC_RcmResetCause_CPU_ONLY_RESET
Value specifying M4 CPU Reset.
Definition: soc_rcm.h:93
@ SOC_RcmPeripheralId_HWASS
Value specifying HWASS.
Definition: soc_rcm.h:173
@ SOC_RcmPeripheralId_APPSS_WDT
Value specifying APPSS WatchDog.
Definition: soc_rcm.h:129
@ SOC_RcmPeripheralId_MAX_VALUE
max value
Definition: soc_rcm.h:177
SOC_RcmResetCause
Reset Causes.
Definition: soc_rcm.h:73
@ SOC_RcmPeripheralId_APPSS_I2C
Value specifying APPSS I2C.
Definition: soc_rcm.h:141
@ SOC_RcmM4ClockSource_MDLL_CLK
Definition: soc_rcm.h:232
@ SOC_RcmPeripheralClockSource_MAX_VALUE
max value
Definition: soc_rcm.h:221
@ SOC_RcmPeripheralClockGateEnable
Peripheral Clock Ungate.
Definition: soc_rcm.h:267
int32_t SOC_rcmSetM4Clock(uint32_t m4FreqHz)
Set M4 frequency.
@ SOC_RcmPeripheralId_APPSS_ESM
Value specifying APPSS ESM.
Definition: soc_rcm.h:153
@ SOC_RcmPeripheralId_APPSS_CRC
Value specifying APPSS CRC.
Definition: soc_rcm.h:161
@ SOC_RcmPeripheralId_APPSS_UART0
Value specifying APPSS SCI-A (UART)
Definition: soc_rcm.h:145
SOC_rcmM4ClockSrc
Definition: soc_rcm.h:64
int32_t SOC_rcmSetM4ClockSrc(SOC_rcmM4ClockSrc m4Src)
Set M4 Clock Source.
void SOC_rcmWaitMemInitTpcc(void)
Wait memory initialization to complete TPCCA and TPCCB.
@ SOC_RcmPeripheralClockSource_RCCLK32K
Value specifying RCCLK32K Clock (32KHz)
Definition: soc_rcm.h:217
@ SOC_RcmPeripheralClockGateDisable
Peripheral Clock Gate.
Definition: soc_rcm.h:271
@ SOC_RcmPeripheralClockSource_SLOW_CLK
Value specifying Slow Clock (33Khz)
Definition: soc_rcm.h:193
@ SOC_RcmM4ClockSource_MAX_VALUE
Definition: soc_rcm.h:234
@ SOC_RcmM4ClockSource_FAST_CLK
Definition: soc_rcm.h:233
@ SOC_RcmQspiClockFreqId_CLK_40MHZ
Value specifying QSPI clock of 40 Mhz.
Definition: soc_rcm.h:244
@ SOC_RcmPeripheralId_APPSS_MCSPIB
Value specifying APPSS SPI-1.
Definition: soc_rcm.h:137
@ SOC_RcmM4ClockSource_OSC_CLK
Definition: soc_rcm.h:230
@ SOC_RcmPeripheralId_APPSS_UART1
Value specifying APPSS SCI-B (UART)
Definition: soc_rcm.h:149
@ SOC_RcmResetCause_STC_RESET
Value specifying STC Reset.
Definition: soc_rcm.h:89
@ SOC_RcmPeripheralId_APPSS_MCAN
Value specifying CAN.
Definition: soc_rcm.h:113
@ SOC_RcmResetCause_WARM_RESET
Value specifying Warm Reset or Subsystem Reset.
Definition: soc_rcm.h:85
@ SOC_RcmQspiClockFreqId_CLK_60MHZ
Value specifying QSPI clock of 60 Mhz.
Definition: soc_rcm.h:248
SOC_RcmM4ClockSource
M4 Clock Sources.
Definition: soc_rcm.h:229
void SOC_rcmWaitMemInitHwassShared(void)
Wait memory initialization to complete HWASS Shared Memory RAM0, RAM1.
uint32_t SOC_rcmGetPeripheralClock(SOC_RcmPeripheralId periphId)
Get peripheral frequency.
@ SOC_RcmQspiClockFreqId_MAX_VALUE
max value
Definition: soc_rcm.h:256
@ SOC_RcmPeripheralId_APPSS_EDMA
Value specifying APPSS EDMA.
Definition: soc_rcm.h:157
@ SOC_RcmResetCause_MAX_VALUE
max value
Definition: soc_rcm.h:101
@ SOC_RcmPeripheralId_APPSS_MCSPIA
Value specifying APPSS SPI-0.
Definition: soc_rcm.h:133
@ SOC_RcmPeripheralId_APPSS_GIO
Value specifying APPSS PWM.
Definition: soc_rcm.h:169
@ SOC_RcmPeripheralClockSource_OSC_CLKX2
Value specifying OSC_CLKx2 Clock (80Mhz)
Definition: soc_rcm.h:209