no-OS
Public Attributes | List of all members
gpio_platform_ops Struct Reference

Structure holding gpio function pointers that point to the platform specific function. More...

#include <gpio.h>

Public Attributes

int32_t(* gpio_ops_get )(struct gpio_desc **, const struct gpio_init_param *)
 
int32_t(* gpio_ops_get_optional )(struct gpio_desc **, const struct gpio_init_param *)
 
int32_t(* gpio_ops_remove )(struct gpio_desc *)
 
int32_t(* gpio_ops_direction_input )(struct gpio_desc *)
 
int32_t(* gpio_ops_direction_output )(struct gpio_desc *, uint8_t)
 
int32_t(* gpio_ops_get_direction )(struct gpio_desc *, uint8_t *)
 
int32_t(* gpio_ops_set_value )(struct gpio_desc *, uint8_t)
 
int32_t(* gpio_ops_get_value )(struct gpio_desc *, uint8_t *)
 

Detailed Description

Structure holding gpio function pointers that point to the platform specific function.

Member Data Documentation

◆ gpio_ops_direction_input

int32_t(* gpio_platform_ops::gpio_ops_direction_input) (struct gpio_desc *)

gpio direction input function pointer

◆ gpio_ops_direction_output

int32_t(* gpio_platform_ops::gpio_ops_direction_output) (struct gpio_desc *, uint8_t)

gpio direction output function pointer

◆ gpio_ops_get

int32_t(* gpio_platform_ops::gpio_ops_get) (struct gpio_desc **, const struct gpio_init_param *)

gpio initialization function pointer

◆ gpio_ops_get_direction

int32_t(* gpio_platform_ops::gpio_ops_get_direction) (struct gpio_desc *, uint8_t *)

gpio get direction function pointer

◆ gpio_ops_get_optional

int32_t(* gpio_platform_ops::gpio_ops_get_optional) (struct gpio_desc **, const struct gpio_init_param *)

gpio optional descriptor function pointer

◆ gpio_ops_get_value

int32_t(* gpio_platform_ops::gpio_ops_get_value) (struct gpio_desc *, uint8_t *)

gpio get value function pointer

◆ gpio_ops_remove

int32_t(* gpio_platform_ops::gpio_ops_remove) (struct gpio_desc *)

gpio remove function pointer

◆ gpio_ops_set_value

int32_t(* gpio_platform_ops::gpio_ops_set_value) (struct gpio_desc *, uint8_t)

gpio set value function pointer


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