ISSDK  1.8
IoT Sensing Software Development Kit
Data Fields
GENERIC_DRIVER_GPIO Struct Reference

Access structure of the GPIO Driver. More...

#include <Driver_GPIO.h>

Collaboration diagram for GENERIC_DRIVER_GPIO:
Collaboration graph

Data Fields

GENERIC_DRIVER_VERSION(* GetVersion )(void)
 
void(* pin_init )(pinID_t aPinId, gpio_direction_t dir, void *apPinConfig, gpio_isr_handler_t aIsrHandler, void *apUserData)
 
void(* set_pin )(pinID_t aPinId)
 
void(* clr_pin )(pinID_t aPinId)
 
void(* toggle_pin )(pinID_t aPinId)
 
void(* write_pin )(pinID_t aPinId, uint8_t aValue)
 
uint32_t(* read_pin )(pinID_t aPinId)
 

Detailed Description

Access structure of the GPIO Driver.

Definition at line 38 of file Driver_GPIO.h.

Field Documentation

◆ clr_pin

void(* clr_pin) (pinID_t aPinId)

◆ GetVersion

GENERIC_DRIVER_VERSION(* GetVersion) (void)

Pointer to get driver version.

Definition at line 40 of file Driver_GPIO.h.

◆ pin_init

void(* pin_init) (pinID_t aPinId, gpio_direction_t dir, void *apPinConfig, gpio_isr_handler_t aIsrHandler, void *apUserData)

◆ read_pin

uint32_t(* read_pin) (pinID_t aPinId)

< read the pin value.

Definition at line 50 of file Driver_GPIO.h.

Referenced by main().

◆ set_pin

void(* set_pin) (pinID_t aPinId)

◆ toggle_pin

void(* toggle_pin) (pinID_t aPinId)

Pointer to toggle the pin.

Definition at line 48 of file Driver_GPIO.h.

Referenced by main(), and process_host_command().

◆ write_pin

void(* write_pin) (pinID_t aPinId, uint8_t aValue)

< read the pin value.

Definition at line 49 of file Driver_GPIO.h.


The documentation for this struct was generated from the following file: