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

This section introduces the Serial Peripheral Interface Slave (SPIS) 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 Slave (SPIS) 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 supported features of SPIS are as follows:

  1. Support FIFO mode.
  2. Support DMA mode.
  3. Support CPOL/CPHA mode 0~3.
  4. Only support half-duplex transaction.
  5. Only support MSB(Most Significant Bit) transaction.
  6. The unit of transaction length is double word(4Bytes).
  7. For more details, please refer to SPIS datasheet.

How To Use This Driver

Modules

 Define
 This section introduces the Macro definitions that are used to combine H2DMB and error return type.
 
 Enum
 This section introduces the enumerations that should be configured before performing transfer.
 
 Function
 This section provides Fixed APIs(defined as Common Interface) to fully control the MediaTek SPIS HW.
 
 Struct
 This section introduces the structure that SPIS OS-HAL/M-HAL/HDL used.
 
 Typedef
 This section introduces the typedef that SPIS M-HAL used.