AM263Px MCU+ SDK  10.01.00
sdl_soc_tog.h File Reference

Go to the source code of this file.

Macros

#define SDL_TOG_INSTANCE_TIMEOUT0_CFG   0U
 
#define SDL_TOG_MAX_INSTANCE   1U
 
#define SDL_TOG_INSTANCE   0U
 

Typedefs

typedef uint8_t SDL_TOG_Inst
 

Functions

int32_t SDL_TOG_getBaseaddr (SDL_TOG_Inst instance, uint32_t *baseAddr)
 This API is used to get the base address of the instance. More...
 
int32_t SDL_TOG_registerInterrupt (void)
 This API is used to get the base address of the instance. More...
 
void SDL_TOG_irqHandler (void)
 This API is the interrupt handler for TOG. More...
 

Variables

static uint32_t SDL_TOG_baseAddress [SDL_TOG_MAX_INSTANCE]
 

Function Documentation

◆ SDL_TOG_getBaseaddr()

int32_t SDL_TOG_getBaseaddr ( SDL_TOG_Inst  instance,
uint32_t *  baseAddr 
)

This API is used to get the base address of the instance.

Parameters
instanceTOG instance
baseAddrBase address of the instance.
Returns
status return the base address of the instance. SDL_PASS: success SDL_EBADARGS: failure, indicate translation failed

◆ SDL_TOG_registerInterrupt()

int32_t SDL_TOG_registerInterrupt ( void  )

This API is used to get the base address of the instance.

Returns
status SDL_PASS: success SDL_EFAIL: failure, indicate interrpt registration failed

◆ SDL_TOG_irqHandler()

void SDL_TOG_irqHandler ( void  )

This API is the interrupt handler for TOG.

Variable Documentation

◆ SDL_TOG_baseAddress

uint32_t SDL_TOG_baseAddress[SDL_TOG_MAX_INSTANCE]
static
Initial value:
=
{
SDL_MCU_TIMEOUT0_CFG_BASE
}