1.6.2.20 ADCHS_DMAStatusGet Function

C

ADCHS_DMA_STATUS ADCHS_DMAStatusGet(void)

Summary

Returns the DMA transfer status

Description

Returns the DMA transfer status. This API is generated when interrupt mode is disabled.

Precondition

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

Parameters

None

Returns

ADCHS_DMA_STATUS - DMA status enumeration

Example

ADCHS_DMA_STATUS status;

status = ADCHS_DMAStatusGet();

if (status & ADCHS_DMA_STATUS_RAF0)
{
    //BufferA is full
}

Remarks

None