3.3.4.10 EMAFE_GetAllDataChannel Function

C

void EMAFE_GetAllDataChannel(uint8_t *pData);

Summary

Get the last samples of all low-pass filters. Only supported if DMA is not enabled in EMAFE component in MCC configuration.

Description

Get the last samples of all low-pass filters.

Precondition

Low-pass filter must be enabled and DMA must be disabled.

Parameters

ParamDescription
pDataPointer to data memory where data values will be written.

Returns

None.

Example


uint32_t samples[5];

/* Get data from all channels */
EMAFE_GetAllDataChannel((uint8_t *)samples);

Remarks

None.