Version of easy-connect with the u-blox cellular platforms C027 and C030 added.

Dependents:   HelloMQTT

Embed: (wiki syntax)

« Back to documentation index

MCU_Interface.h File Reference

MCU_Interface.h File Reference

Header file for low level SPIRIT SPI driver. More...

Go to the source code of this file.

Functions

StatusBytes SdkEvalSpiWriteRegisters (uint8_t cRegAddress, uint8_t cNbBytes, uint8_t *pcBuffer)
 Write single or multiple RF Transceivers register.
StatusBytes SdkEvalSpiReadRegisters (uint8_t cRegAddress, uint8_t cNbBytes, uint8_t *pcBuffer)
 Read single or multiple SPIRIT1 register.
StatusBytes SdkEvalSpiCommandStrobes (uint8_t cCommandCode)
 Send a command.
StatusBytes SdkEvalSpiWriteFifo (uint8_t cNbBytes, uint8_t *pcBuffer)
 Write data into TX FIFO.
StatusBytes SdkEvalSpiReadFifo (uint8_t cNbBytes, uint8_t *pcBuffer)
 Read data from RX FIFO.

Detailed Description

Header file for low level SPIRIT SPI driver.

Author:
VMA division - AMS
Version:
V2.0.2
Date:
Febrary 7, 2015

This header file constitutes an interface to the SPI driver used to communicate with Spirit. It exports some function prototypes to write/read registers and FIFOs and to send command strobes. Since the Spirit libraries are totally platform independent, the implementation of these functions are not provided here. The user have to implement these functions taking care to keep the exported prototypes.

These functions are:

  • SpiritSpiInit
  • SpiritSpiWriteRegisters
  • SpiritSpiReadRegisters
  • SpiritSpiCommandStrobes
  • SpiritSpiWriteLinearFifo
  • SpiritSpiReadLinearFifo
Note:
An example of SPI driver implementation is available in the Sdk_Eval library.

THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.

THIS SOURCE CODE IS PROTECTED BY A LICENSE. FOR MORE INFORMATION PLEASE CAREFULLY READ THE LICENSE AGREEMENT FILE LOCATED IN THE ROOT DIRECTORY OF THIS FIRMWARE PACKAGE.

© COPYRIGHT 2015 STMicroelectronics

Definition in file MCU_Interface.h.