AM64x MCU+ SDK  10.00.00
sdl_dpl.h File Reference

Introduction

This file contains the SDL DPL API's.

Provides the APIs for DPL.

Go to the source code of this file.

Data Structures

struct  SDL_DPL_HwipParams
 This structure contains the parameters for interrupt registration through the SDL DPL interface. More...
 
struct  SDL_DPL_Interface
 This structure contains the pointers for the DPL interfaces provided by the application to SDL_DPL_init. More...
 

Typedefs

typedef void(* pSDL_DPL_InterruptCallbackFunction) (void *arg)
 Prototype for the interrupt callback function. More...
 
typedef void * pSDL_DPL_HwipHandle
 
typedef int32_t(* pSDL_DPL_InterruptFunction) (int32_t intNum)
 Prototype for the interrupt enable/disable functions. More...
 
typedef pSDL_DPL_HwipHandle(* pSDL_DPL_RegisterFunction) (SDL_DPL_HwipParams *pParams)
 Prototype for the interrupt registration function. More...
 
typedef int32_t(* pSDL_DPL_DeregisterFunction) (pSDL_DPL_HwipHandle handle)
 Prototype for the interrupt de-register function. More...
 
typedef int32_t(* pSDL_DPL_DelayFunction) (int32_t ndelay)
 Prototype for the delay function. More...
 
typedef void *(* pSDL_DPL_AddrTranslateFunction) (uint64_t addr, uint32_t size)
 Prototype for address translation function. More...
 
typedef int32_t(* pSDL_DPL_globalDisableInterruptsFunction) (uintptr_t *key)
 Prototype for the interrupt global disable function. More...
 
typedef int32_t(* pSDL_DPL_globalRestoreInterruptsFunction) (uintptr_t key)
 Prototype for the interrupt global restore function. More...
 

Functions

int32_t SDL_DPL_init (SDL_DPL_Interface *dplInterface)
 DPL init. More...
 
int32_t SDL_DPL_enableInterrupt (int32_t intNum)
 DPL enable interrupt. More...
 
int32_t SDL_DPL_disableInterrupt (int32_t intNum)
 DPL disable interrupt. More...
 
int32_t SDL_DPL_registerInterrupt (SDL_DPL_HwipParams *pParams, pSDL_DPL_HwipHandle *handle)
 DPL register interrupt. More...
 
int32_t SDL_DPL_deregisterInterrupt (pSDL_DPL_HwipHandle handle)
 DPL deregister interrupt. More...
 
int32_t SDL_DPL_delay (int32_t ndelay)
 DPL delay. More...
 
void * SDL_DPL_addrTranslate (uint64_t addr, uint32_t size)
 DPL Address translation function. More...
 
int32_t SDL_DPL_globalDisableInterrupts (uintptr_t *key)
 DPL globally disable interrupts. More...
 
int32_t SDL_DPL_globalRestoreInterrupts (uintptr_t key)
 DPL globally enable interrupts. More...