EQEP SDL API

Module: SDL (AM13E230X) APIs

Functions

Name

Common_Sdl_StatusType

Eqep_Sdl_ExecuteStaticRegisterCheck(const Common_Sdl_StaticRegisterCheckCfgType * cfgPtr, Common_Sdl_StaticRegisterCheckOutType * outPtr)
Performs the static register check of a configured peripheral instance’s configuration register.

Defines

Name

EQEP_SDL_STATIC_ADDRESS_LENGTH
Number of static registers to check for.

EQEP_SDL_CHANNEL_ADDRESS_LENGTH
Number of static register per channel to check for.

EQEP_SDL_NUM_CHANNELS
Number of channel in this peripheral.

EQEP_SDL_CHANNEL_ADDRESS_DIFF
Byte difference between two channel configuration registers.

Functions Documentation

function Eqep_Sdl_ExecuteStaticRegisterCheck

static Common_Sdl_StatusType Eqep_Sdl_ExecuteStaticRegisterCheck(
    const Common_Sdl_StaticRegisterCheckCfgType * cfgPtr,
    Common_Sdl_StaticRegisterCheckOutType * outPtr
)

Performs the static register check of a configured peripheral instance’s configuration register.

Relevant Mechanism: EQEP1

Pre-conditions:

  • The peripheral is already powered on, enabled, and configured for normal use

  • The test must have exclusive access to the CRC for the duration of the test

Post-conditions:

  • None

Macros Documentation

define EQEP_SDL_STATIC_ADDRESS_LENGTH

#define EQEP_SDL_STATIC_ADDRESS_LENGTH (10U)

Number of static registers to check for.

define EQEP_SDL_CHANNEL_ADDRESS_LENGTH

#define EQEP_SDL_CHANNEL_ADDRESS_LENGTH (0U)

Number of static register per channel to check for.

define EQEP_SDL_NUM_CHANNELS

#define EQEP_SDL_NUM_CHANNELS (0U)

Number of channel in this peripheral.

define EQEP_SDL_CHANNEL_ADDRESS_DIFF

#define EQEP_SDL_CHANNEL_ADDRESS_DIFF (0U)

Byte difference between two channel configuration registers.