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

This section introduces the Serial Peripheral Interface Master (SPIM) APIs including terms and acronyms, supported features, software architecture, details on how to use this driver, enums, structures and functions. More...

Overview

This section introduces the Serial Peripheral Interface Master (SPIM) APIs including terms and acronyms, supported features, software architecture, details on how to use this driver, enums, structures and functions.

Terms and Acronyms

Terms Details
DMA Direct Memory Access.
FIFO First In, First Out.
SPI Serial Peripheral Interface.

Supported Features

The SPI controller supports a wide range of SPI interface devices, including full-duplex transaction ability to communicate with both half-duplex and full-duplex devices.
For more details, please refer to SPIM datasheet.

How to use this driver

Modules

 Define
 This section introduces the Macro definition which is used as SPIM M-HAL's API error return type.
 
 Enum
 This section introduces the enumerations that SPIM should configure before performing transfer.
 
 Function
 This section provides Fixed APIs(defined as Common Interface) to fully control the MediaTek SPIM HW.
 
 Struct
 This section introduces the structure that SPIM OS-HAL/M-HAL/HDL used.
 
 Typedef
 This section introduces the typedef that SPIM M-HAL used.