![Logo](ti_logo.svg) |
xWRL6432 MMWAVE-L-SDK
05.04.00.01
|
|
Go to the documentation of this file.
33 #ifndef SOC_XWRL64XX_H_
34 #define SOC_XWRL64XX_H_
54 #include <drivers/hw_include/cslr_soc.h>
61 #define SOC_DOMAIN_ID_TOPSS_CTRL (0U)
62 #define SOC_DOMAIN_ID_APP_RCM (1U)
63 #define SOC_DOMAIN_ID_APP_CTRL (2U)
64 #define SOC_DOMAIN_ID_TOP_IO_MUX (3U)
65 #define SOC_DOMAIN_ID_TOP_PRCM (4U)
71 typedef enum SOC_SysRstReason_e
91 typedef enum SOC_RstReason_e
int32_t SOC_moduleSetClockFrequency(uint32_t moduleId, uint32_t clkId, uint64_t clkRate)
Set module clock to specified frequency.
@ SOC_RESET_REASON_STC_PORZ
Value specifying STC or Power ON Reset.
Definition: soc.h:116
@ SOC_RESET_REASON_STC_WARM
Value specifying STC or Warm Reset.
Definition: soc.h:112
void SOC_controlModuleUnlockMMR(uint32_t domainId, uint32_t partition)
Unlock control module partition to allow writes into control MMRs.
void SOC_setEpwmTbClk(uint32_t enable)
Enable or disable ePWM time base clock from Control MMR.
uint64_t SOC_virtToPhy(void *virtAddr)
SOC Virtual (CPU) to Physical address translation function.
@ SOC_RESET_REASON_WARM
Value specifying Warm Reset.
Definition: soc.h:100
void SOC_triggerSoftReset(void)
Soft reset request.
SOC_RstReason SOC_getRstReason(void)
Retrieves the reset reason.
@ SOC_SYS_RESET_REASON_PORZ
Value specifying Power ON Reset.
Definition: soc.h:76
SOC_RstReason
SOC Reset Reason.
Definition: soc.h:92
@ SOC_RESET_REASON_DEEPSLEEP
Value specifying Deep Sleep Reset.
Definition: soc.h:104
void SOC_logAllClockHz(void)
Print's module clock info to the console.
@ SOC_SYS_RESET_REASON_SR
Value specifying Warm reset due to soft register.
Definition: soc.h:80
@ SOC_RESET_REASON_SOFT
Value specifying Soft Reset.
Definition: soc.h:108
SOC_SysRstReason SOC_getSysRstReason(void)
Retrieves the system reset reason from SYS_RST_CAUSE. All the reset registers will be cleared by the ...
void SOC_triggerWarmReset(void)
Software Warm reset request. Generates warm reset for entire device.
void SOC_controlModuleLockMMR(uint32_t domainId, uint32_t partition)
Lock control module partition to prevent writes into control MMRs.
void SOC_memoryInit(uint16_t flag)
Initializes APPSS shared RAM0, RAM1 and HWASS Shared RAM.
int32_t SOC_moduleClockEnable(uint32_t moduleId, uint32_t enable)
Enable clock to specified module.
void SOC_enableMDLLClock(void)
Enables MDLL Clock.
@ SOC_SYS_RESET_REASON_WDG
Value specifying Warm reset due to WDG.
Definition: soc.h:84
const char * SOC_getCoreName(uint16_t coreId)
Convert a core ID to a user readable name.
SOC_SysRstReason
SOC System Reset Reason.
Definition: soc.h:72
int32_t SOC_clocksEnable(void)
Enables ADPLL.
@ SOC_RESET_REASON_PORZ
Value specifying Power ON Reset.
Definition: soc.h:96