AM261x MCU+ SDK: sdl_soc_tog.h File Reference

| AM261x MCU+ SDK 26.00.00 |

Macros | Typedefs | Functions | Variables
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

  instance | TOG instance
  baseAddr | Base 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_FSS_VBUSM_TO_CFG_U_BASE
}