Hilscher netX microcontroller driver  V0.0.5.0
Documentation of the netX driver package
netx_drv_spi.c File Reference

GPIO peripheral module driver. This file provides firmware functions to manage the following functionalities of the General Purpose Input/Output (GPIO) peripheral: More...

#include "netx_drv.h"
Include dependency graph for netx_drv_spi.c:

Go to the source code of this file.

Macros

#define DRV_HANDLE_CHECK(handle)
 
#define DRV_SPI_IRQHandler_Generator(id, _)   DRV_Default_IRQHandler_Function_Generator(DRV_SPI_IRQ_HANDLER ## id,DRV_SPI_IRQ_Inline_Handler,(DRV_SPI_DEVICE_ID_E)(DRV_SPI_DEVICE_ID_MIN + id))
 

Functions

static void DRV_SPI_Flush_DMA_Callback_Rx (void *ptDriverHandle, DRV_SPI_HANDLE_T *const ptDriver)
 
static void DRV_SPI_Flush_DMA_Callback_Tx (void *ptDriverHandle, DRV_SPI_HANDLE_T *const ptDriver)
 

Variables

static DRV_SPI_DEVICE_U const s_apDeviceAddressTable [DRV_SPI_DEVICE_COUNT] = DRV_SPI_DEVICE_LIST
 Table of the device addresses. More...
 
static DRV_DMAC_PERIPHERAL_E const s_apDeviceDmacTable [DRV_SPI_DEVICE_COUNT] = DRV_SPI_DEVICE_DMA_LIST
 Table of the dma channels of the devices. More...
 
static IRQn_Type const s_apHandleIRQnTable [DRV_SPI_DEVICE_COUNT] = DRV_SPI_DEVICE_IRQ_LIST
 Table of the IRQ vector numbers. More...
 
static DRV_SPI_HANDLE_Ts_apHandleAddressTable [DRV_SPI_DEVICE_COUNT] = { 0 }
 Used for mapping the handle to an interrupt. More...
 

Detailed Description

GPIO peripheral module driver. This file provides firmware functions to manage the following functionalities of the General Purpose Input/Output (GPIO) peripheral:

SPI peripheral module driver.

  • Initialization and de-initialization functions
  • IO operation functions
    Revision
    6251
    Date
    2019-10-07 09:27:10 +0200 (Mo, 07 Okt 2019)
    Note
    Exclusion of Liability for this demo software: The following software is intended for and must only be used for reference and in an evaluation laboratory environment. It is provided without charge and is subject to alterations. There is no warranty for the software, to the extent permitted by applicable law. Except when otherwise stated in writing the copyright holders and/or other parties provide the software "as is" without warranty of any kind, either expressed or implied. Please refer to the Agreement in README_DISCLAIMER.txt, provided together with this file! By installing or otherwise using the software, you accept the terms of this Agreement. If you do not agree to the terms of this Agreement, then do not install or use the Software!
    Revision
    6541
    Date
    2019-12-05 15:11:10 +0100 (Do, 05 Dez 2019)
    Note
    Exclusion of Liability for this demo software: The following software is intended for and must only be used for reference and in an evaluation laboratory environment. It is provided without charge and is subject to alterations. There is no warranty for the software, to the extent permitted by applicable law. Except when otherwise stated in writing the copyright holders and/or other parties provide the software "as is" without warranty of any kind, either expressed or implied. Please refer to the Agreement in README_DISCLAIMER.txt, provided together with this file! By installing or otherwise using the software, you accept the terms of this Agreement. If you do not agree to the terms of this Agreement, then do not install or use the Software!

Definition in file netx_drv_spi.c.