ADC SDL API

Module: SDL (AM13E230X) APIs

More…

Functions

Name

Common_Sdl_StatusType

Adc_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

ADC_SDL_STATIC_ADDRESS_LENGTH
Number of static registers to check for.

ADC_SDL_CHANNEL_ADDRESS_LENGTH
Number of static register per channel to check for.

ADC_SDL_NUM_CHANNELS
Number of channel in this peripheral.

ADC_SDL_CHANNEL_ADDRESS_DIFF
Byte difference between two channel configuration registers.

ADC_SDL_CHANNEL_MASK_ARRAY_LENGTH
Channel mask array length.

Detailed Description

Note: , in case of ADC a channel corresponds to a SOC (Start of conversion)

Functions Documentation

function Adc_Sdl_ExecuteStaticRegisterCheck

static Common_Sdl_StatusType Adc_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: ADC1

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 ADC_SDL_STATIC_ADDRESS_LENGTH

#define ADC_SDL_STATIC_ADDRESS_LENGTH (13U)

Number of static registers to check for.

define ADC_SDL_CHANNEL_ADDRESS_LENGTH

#define ADC_SDL_CHANNEL_ADDRESS_LENGTH (1U)

Number of static register per channel to check for.

define ADC_SDL_NUM_CHANNELS

#define ADC_SDL_NUM_CHANNELS (16U)

Number of channel in this peripheral.

define ADC_SDL_CHANNEL_ADDRESS_DIFF

#define ADC_SDL_CHANNEL_ADDRESS_DIFF (0x4U)

Byte difference between two channel configuration registers.

define ADC_SDL_CHANNEL_MASK_ARRAY_LENGTH

#define ADC_SDL_CHANNEL_MASK_ARRAY_LENGTH (1U)

Channel mask array length.