AM64x MCU+ SDK  10.00.00
POK Functions

Introduction

Structures and Enums

Data Structures

struct  SDL_POK_staticRegs
 POK Static Registers structure. More...
 

Functions

int32_t SDL_POK_getStaticRegisters (SDL_POK_Inst instance, SDL_POK_staticRegs *pStaticRegs)
 
int32_t SDL_POK_init (SDL_POK_Inst instance, SDL_POK_config *pConfig)
 POK module configuration API. More...
 
int32_t SDL_POK_verifyConfig (SDL_POK_Inst instance, SDL_POK_config *pConfig)
 POK Function to verify the written configuration. This function checks the provided config against the written config and returns the verification status. More...
 
int32_t SDL_POK_enablePP (SDL_PRG_Inst instance, bool enable)
 POK Function to enable or diable ping/pong mode for a specified PRG. Only supported for v1 version of the IP. More...
 

Function Documentation

◆ SDL_POK_getStaticRegisters()

int32_t SDL_POK_getStaticRegisters ( SDL_POK_Inst  instance,
SDL_POK_staticRegs pStaticRegs 
)

◆ SDL_POK_init()

int32_t SDL_POK_init ( SDL_POK_Inst  instance,
SDL_POK_config pConfig 
)

POK module configuration API.

Parameters
instanceInstance of POK
pConfigPointer to the configuration structure
Returns
SDL_PASS for success. SDL Error Code for Failure.

◆ SDL_POK_verifyConfig()

int32_t SDL_POK_verifyConfig ( SDL_POK_Inst  instance,
SDL_POK_config pConfig 
)

POK Function to verify the written configuration. This function checks the provided config against the written config and returns the verification status.

Parameters
instanceInstance of POK
pConfigPointer to the configuration structure
Returns
SDL_PASS if configuration is verified to match. SDL Error Code for Failure.

◆ SDL_POK_enablePP()

int32_t SDL_POK_enablePP ( SDL_PRG_Inst  instance,
bool  enable 
)

POK Function to enable or diable ping/pong mode for a specified PRG. Only supported for v1 version of the IP.

Parameters
instanceInstance of PRG
enableEnable or disable the ping/pong mode
Returns
SDL_PASS for success. SDL Error Code for failure.