Hello,
I am using SDK 2.7.0 for RT1020 with eDMA driver 2.3.0.
I just realized that the SDK API is sometimes referring to enums which do not have a typedef. For example the eDMA API provides the function

As mask I should use the type _edma_channel_status_flags_t but this type is not defined in eDMA SDK driver 2.3.0 for RT1020 because the enum is included in fsl_edma.h as the following statement
/*!@brief _edma_channel_status_flags eDMA channel status flags. */
enum
{
kEDMA_DoneFlag = 0x1U, /*!< DONE flag, set while transfer finished, CITER value exhausted*/
kEDMA_ErrorFlag = 0x2U, /*!< eDMA error flag, an error occurred in a transfer */
kEDMA_InterruptFlag = 0x4U, /*!< eDMA interrupt flag, set while an interrupt occurred of this channel */
};
The typedef is missing here. That is also the reason why you can't find it easily in the HTML API documentation with the search function.
The same is true for the enum _edma_error_status_flags and _edma_transfer_status.
Is there a reason why some enums in SDK are without a typedef?
Why are the enums not used as parameter types in functions instead of a parameter uint32_t mask and then specifying in the documentation that you should use the enum values?
Kind regards,
Stefan