*******************************************************************************************************
* Detailed Description:
This demo showcases how to use eMIOS in Input Capture mode with DMA. It demonstrates how timestamp data from captured input signals is stored and how a GPIO toggle provides a simple visual confirmation that the interrupt is being triggered as expected.
Configures EMIOS 0 Channel 1 as OPWMB (Output Pulse Width Modulation Buffered).
This channel generates a waveform that will be captured by Channel 9
* eMIOS Icu with DMA:
Configures EMIOS 0 Channel 9 in ICU_MODE_TIMESTAMP using SAIC (Single Action Input Capture) mode.
This channel captures the timestamps of the waveform generated by Channel 1.
After a predefined number of captures, a DMA interrupt is triggered.
*******************************************************************************************************
* Test HW: S32K3X4EVB-T172
* MCU: S32K344
* Debugger: S32DS 3.6.2, OpenSDA
* Target: internal_FLASH
*******************************************************************************************************