This section contains miscellaneous utility APIs.
Data Structures | |
struct | app_pinmux_cfg_t |
Functions | |
uint64_t | appC7xSecSupv2NonSecSupv (void) |
Switch C7x from secure supervisor to non-secure supervisor. More... | |
void | appC7xClecInitForNonSecAccess (void) |
Init CLEC so that C7x in non-secure mode can program it. More... | |
void | appUtilsSetDLFOBitInACTRLReg (void) |
API to set to DLFO bit in ACTRL register of R5F. More... | |
void | appSetPinmux (app_pinmux_cfg_t *cfg) |
API to set to set pinmux required for running basic demos in Vision Apps. More... | |
void | appPinMuxCfgSetDefault (app_pinmux_cfg_t *cfg) |
Inline Function to initialize Pinmux config to default value. More... | |
int32_t | appUtilsPrintCpuHz (void) |
API to print the CPU Frequency in Hz. More... | |
void | appUtilsTaskInit (void) |
API call OS-specific init API's when creating tasks. More... | |
uint64_t appC7xSecSupv2NonSecSupv | ( | void | ) |
Switch C7x from secure supervisor to non-secure supervisor.
NOTE, this API must be called after MMU and Cache init
void appC7xClecInitForNonSecAccess | ( | void | ) |
Init CLEC so that C7x in non-secure mode can program it.
This also sets defaults for DRU input events to what TIDL needs
This API MUST be called before switching C7x to secure mode
void appUtilsSetDLFOBitInACTRLReg | ( | void | ) |
API to set to DLFO bit in ACTRL register of R5F.
This API uses assembly instruction to set DLFO bit in ACTRL register of R5F. This should be called from the Core reset callback.
void appSetPinmux | ( | app_pinmux_cfg_t * | cfg | ) |
API to set to set pinmux required for running basic demos in Vision Apps.
It internally uses Board API to configure Pinmux.
void appPinMuxCfgSetDefault | ( | app_pinmux_cfg_t * | cfg | ) |
Inline Function to initialize Pinmux config to default value.
int32_t appUtilsPrintCpuHz | ( | void | ) |
API to print the CPU Frequency in Hz.
void appUtilsTaskInit | ( | void | ) |
API call OS-specific init API's when creating tasks.