XDK API  3.6.0
Documentation
Macros | Functions | Variables
ExtensionGpioExample.c File Reference
#include "XdkAppInfo.h"
#include "AppController.h"
#include "ExtensionGpioExample.h"
#include <stdio.h>
+ Include dependency graph for ExtensionGpioExample.c:

Macros

#define BCDS_MODULE_ID   XDK_APP_MODULE_ID_EXTENSION_PORT_GPIO
 

Functions

Retcode_T ExtensionGpioExample_DeleteGpio (BSP_ExtensionPort_PinId_T pinId)
 This API is used to de-initialize a particular GPIO pin and put it into default state. More...
 
Retcode_T ExtensionGpioExample_InitGpioIntBothEdge (BSP_ExtensionPort_PinId_T pinId)
 This API is used to configure GPIO as Input and capable of triggering interrupt for both Raising and Falling. After calling this API successfully the signal on the GPIO will trigger an Interrupt. More...
 
Retcode_T ExtensionGpioExample_InitGpioOutputMode (BSP_ExtensionPort_PinId_T pinId)
 This API is used to configure GPIO pin as output pin. More...
 
Retcode_T ExtensionGpioExample_Initialize (CmdProcessor_T *handle)
 This API is used to initialize the GPIO example resources. More...
 
static void GpioInterruptCallback (void)
 Callback function to be triggered upon interrupt in GPIO input pin BSP_ExtensionPort_ReadGpio() is used to read the pin value on interrupt. More...
 
static void GpioInterruptConsumer (void *param1, uint32_t pinValue)
 Deferred function called upon interrupt to process, this way of implementation can be used in case user want to execute long procedure upon this event on GPIO. More...
 

Variables

static CmdProcessor_TGpioCmdProcessHandle
 
static BSP_ExtensionPort_PinId_T GpioPinIdForEdgeInterrupt = BSP_EXTENSIONPORT_GPIO_MAX
 

All rights reserved. The use is subject to the XDK SDK EULA by Bosch Connected Devices and Solutions GmbH.
This documentation file has been automatically generated on Thu Mar 14 2019 19:12:39 by doxygen 1.8.8