1.24.1.18 ADCHS_DMAResultBaseAddrSet Function

C

void ADCHS_DMAResultBaseAddrSet(uint32_t baseAddr)

Summary

Registers the user-defined RAM address at which the DMA engine will start saving the converted data

Description

Registers the user-defined RAM address at which the DMA engine will start saving the converted data

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 uint16_t adcResultBuffer[4];
ADCHS_DMAResultBaseAddrSet((uint32_t)KVA_TO_PA(adcResultBuffer));

Remarks

None