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

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

#include <no_os_gpio.h>

Public Attributes

int32_t(* gpio_ops_get )(struct no_os_gpio_desc **, const struct no_os_gpio_init_param *)
 
int32_t(* gpio_ops_get_optional )(struct no_os_gpio_desc **, const struct no_os_gpio_init_param *)
 
int32_t(* gpio_ops_remove )(struct no_os_gpio_desc *)
 
int32_t(* gpio_ops_direction_input )(struct no_os_gpio_desc *)
 
int32_t(* gpio_ops_direction_output )(struct no_os_gpio_desc *, uint8_t)
 
int32_t(* gpio_ops_get_direction )(struct no_os_gpio_desc *, uint8_t *)
 
int32_t(* gpio_ops_set_value )(struct no_os_gpio_desc *, uint8_t)
 
int32_t(* gpio_ops_get_value )(struct no_os_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(* no_os_gpio_platform_ops::gpio_ops_direction_input) (struct no_os_gpio_desc *)

gpio direction input function pointer

◆ gpio_ops_direction_output

int32_t(* no_os_gpio_platform_ops::gpio_ops_direction_output) (struct no_os_gpio_desc *, uint8_t)

gpio direction output function pointer

◆ gpio_ops_get

int32_t(* no_os_gpio_platform_ops::gpio_ops_get) (struct no_os_gpio_desc **, const struct no_os_gpio_init_param *)

gpio initialization function pointer

◆ gpio_ops_get_direction

int32_t(* no_os_gpio_platform_ops::gpio_ops_get_direction) (struct no_os_gpio_desc *, uint8_t *)

gpio get direction function pointer

◆ gpio_ops_get_optional

int32_t(* no_os_gpio_platform_ops::gpio_ops_get_optional) (struct no_os_gpio_desc **, const struct no_os_gpio_init_param *)

gpio optional descriptor function pointer

◆ gpio_ops_get_value

int32_t(* no_os_gpio_platform_ops::gpio_ops_get_value) (struct no_os_gpio_desc *, uint8_t *)

gpio get value function pointer

◆ gpio_ops_remove

int32_t(* no_os_gpio_platform_ops::gpio_ops_remove) (struct no_os_gpio_desc *)

gpio remove function pointer

◆ gpio_ops_set_value

int32_t(* no_os_gpio_platform_ops::gpio_ops_set_value) (struct no_os_gpio_desc *, uint8_t)

gpio set value function pointer


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