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

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

#include "netx_drv.h"
#include <string.h>
Include dependency graph for netx_drv_dio.c:

Go to the source code of this file.

Macros

#define DRV_HANDLE_CHECK(handle)
 

Enumerations

enum  DRV_DIO_HIF_IRQ_MODE_E {
  DRV_DIO_HIF_IRQ_MODE_LOW = 0x0u,
  DRV_DIO_HIF_IRQ_MODE_HIGH = 0x1u,
  DRV_DIO_HIF_IRQ_MODE_FALLING = 0x2u,
  DRV_DIO_HIF_IRQ_MODE_RISING = 0x3u
}
 

Functions

DRV_STATUS_E DRV_DIO_ChannelIRQMask (DRV_DIO_ID_T ulChannelID)
 
DRV_STATUS_E DRV_DIO_ChannelIRQUnmask (DRV_DIO_ID_T ulChannelID)
 
DRV_STATUS_E DRV_DIO_ChannelIRQAttach (DRV_DIO_ID_T ulChannelID, DRV_CALLBACK_F pfnUserClb, void *pvUser)
 
void GPIO0_IRQHandler (void)
 
void DRV_DIO_GPIO0_Callback (void)
 This is the callback of the GPIO 0 IRQ. More...
 
void GPIO1_IRQHandler (void)
 
void DRV_DIO_GPIO1_Callback (void)
 This is the callback of the GPIO 1 IRQ. More...
 
void GPIO2_IRQHandler (void)
 
void DRV_DIO_GPIO2_Callback (void)
 This is the callback of the GPIO 2 IRQ. More...
 
void GPIO3_IRQHandler (void)
 
void DRV_DIO_GPIO3_Callback (void)
 This is the callback of the GPIO 3 IRQ. More...
 
void GPIO4_IRQHandler (void)
 
void DRV_DIO_GPIO4_Callback (void)
 This is the callback of the GPIO 4 IRQ. More...
 
void GPIO5_IRQHandler (void)
 
void DRV_DIO_GPIO5_Callback (void)
 This is the callback of the GPIO 5 IRQ. More...
 
void GPIO6_IRQHandler (void)
 
void DRV_DIO_GPIO6_Callback (void)
 This is the callback of the GPIO 6 IRQ. More...
 
void GPIO7_IRQHandler (void)
 
void DRV_DIO_GPIO7_Callback (void)
 This is the callback of the GPIO 7 IRQ. More...
 
void ASIC_IRQHandler (void)
 
void DRV_DIO_BOD_Callback (void)
 This is the callback of the BOD IRQ. More...
 
void HIFPIO_IRQHandler (void)
 
void DRV_DIO_HIFPIO_Callback (void)
 This is the callback of the HIFPIO IRQ. More...
 
void PIO0_IRQHandler (void)
 
void DRV_DIO_PIO_Callback (void)
 This is the callback of the PIO0 IRQ. More...
 

Variables

DRV_DIO_HANDLE_T const s_tIODriver = { DRV_GPIO_DEVICE, DRV_PIO_DEVICE, DRV_MMIO_DEVICE, DRV_HIF_IO_DEVICE }
 
DRV_CALLBACK_F s_afnIRQHandler [DRV_DIO_IRQ_COUNT] = { 0 }
 
void * s_apIRQHandlerHandles [DRV_DIO_IRQ_COUNT] = { 0 }
 

Detailed Description

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

  • Initialization and de-initialization functions
  • IO operation functions
  • Interrupt control
    Revision
    6124
    Date
    2019-08-28 19:41:54 +0200 (Mi, 28 Aug 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_dio.c.