Azure Sphere MT3620 M4 API Reference Manual
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Define

This section introduces the Macro definition which is used as SPIM M-HAL's API error return type. More...

Overview

This section introduces the Macro definition which is used as SPIM M-HAL's API error return type.

Macros

#define SPIM_EPTR   1
 Invalid argument, it means the pointer is NULL.
 
#define SPIM_ELENGTH   2
 Invalid argument, it means the transfer length isn't supported.
 
#define SPIM_ENOMEM   3
 Out of memory, it means memory malloc fail.
 
#define SPIM_EBUSY   4
 DMA resource busy.
 
#define MTK_SPIM_DMA_BUFFER_BYTES   (48 + 4)
 SPIM DMA tmp buffer size.