1.6.2.20 1.7.2.20 1.10.1.20 1.11.1.20 1.12.1.20 1.13.1.20 1.22.1.20 1.23.1.20 1.24.1.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