Jump to main content

##

# 2.4.17 ADCHS_DMASampleCountBaseAddrSet Function

## C

    void ADCHS_DMASampleCountBaseAddrSet(uint32_t baseAddr)

## Summary

Registers the user-defined RAM address at which the DMA engine will start saving the current count of output samples

## Description

Registers the user-defined RAM address at which the DMA engine will start saving the current count of output samples

## Precondition

ADCHS_Initialize() must have been called first for the associated instance.

## Parameters

Param | Description
--- | ---
baseAddr | Physical address of the user-defined RAM address

## Returns

None.

## Example

    __COHERENT uint8_t adcSampleCntBuffer;
    ADCHS_DMASampleCountBaseAddrSet((uint32_t)KVA_TO_PA(adcSampleCntBuffer));

## Remarks

None