package gpiod

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

module F : Ctypes.FOREIGN

Signature

type gpiod_chip
type gpiod_line
type gpiod_chip_iter
type gpiod_line_iter
type gpiod_line_bulk
val ctxless_get_value : (string option -> int -> bool -> string option -> int F.return) F.result
val ctxless_get_value_ext : (string option -> int -> bool -> string option -> int -> int F.return) F.result
val ctxless_get_value_multiple : (string option -> unit Ctypes_static.ptr -> unit Ctypes_static.ptr -> int -> bool -> string option -> int F.return) F.result
val ctxless_get_value_multiple_ext : (string option -> unit Ctypes_static.ptr -> unit Ctypes_static.ptr -> int -> bool -> string option -> int -> int F.return) F.result
type gpiod_ctxless_event_poll_fd
val gpiod_ctxless_event_poll_fd : gpiod_ctxless_event_poll_fd Ctypes.structure Ctypes.typ
val ctxless_find_line : (string option -> string option -> nativeint -> unit Ctypes_static.ptr -> int F.return) F.result
val chip_open : (string option -> gpiod_chip Ctypes.structure Ctypes_static.ptr option F.return) F.result
val chip_open_by_name : (string option -> gpiod_chip Ctypes.structure Ctypes_static.ptr option F.return) F.result
val chip_open_by_number : (int -> gpiod_chip Ctypes.structure Ctypes_static.ptr option F.return) F.result
val chip_open_by_label : (string option -> gpiod_chip Ctypes.structure Ctypes_static.ptr option F.return) F.result
val chip_open_lookup : (string option -> gpiod_chip Ctypes.structure Ctypes_static.ptr option F.return) F.result
val chip_name : (gpiod_chip Ctypes.structure Ctypes_static.ptr option -> string option F.return) F.result
val chip_label : (gpiod_chip Ctypes.structure Ctypes_static.ptr option -> string option F.return) F.result
val chip_num_lines : (gpiod_chip Ctypes.structure Ctypes_static.ptr option -> int F.return) F.result
val line_name : (gpiod_line Ctypes.structure Ctypes_static.ptr option -> string option F.return) F.result
val line_consumer : (gpiod_line Ctypes.structure Ctypes_static.ptr option -> string option F.return) F.result
val line_direction : (gpiod_line Ctypes.structure Ctypes_static.ptr option -> int F.return) F.result
val line_active_state : (gpiod_line Ctypes.structure Ctypes_static.ptr option -> int F.return) F.result
val line_is_used : (gpiod_line Ctypes.structure Ctypes_static.ptr option -> bool F.return) F.result
val line_is_open_drain : (gpiod_line Ctypes.structure Ctypes_static.ptr option -> bool F.return) F.result
val line_is_open_source : (gpiod_line Ctypes.structure Ctypes_static.ptr option -> bool F.return) F.result
type gpiod_line_request_config
val gpiod_line_request_config : gpiod_line_request_config Ctypes.structure Ctypes.typ
val line_request_input : (gpiod_line Ctypes.structure Ctypes_static.ptr option -> string option -> int F.return) F.result
val line_request_output : (gpiod_line Ctypes.structure Ctypes_static.ptr option -> string option -> int -> int F.return) F.result
val line_request_rising_edge_events : (gpiod_line Ctypes.structure Ctypes_static.ptr option -> string option -> int F.return) F.result
val line_request_falling_edge_events : (gpiod_line Ctypes.structure Ctypes_static.ptr option -> string option -> int F.return) F.result
val line_request_both_edges_events : (gpiod_line Ctypes.structure Ctypes_static.ptr option -> string option -> int F.return) F.result
val line_request_input_flags : (gpiod_line Ctypes.structure Ctypes_static.ptr option -> string option -> int -> int F.return) F.result
val line_request_output_flags : (gpiod_line Ctypes.structure Ctypes_static.ptr option -> string option -> int -> int -> int F.return) F.result
val line_request_rising_edge_events_flags : (gpiod_line Ctypes.structure Ctypes_static.ptr option -> string option -> int -> int F.return) F.result
val line_request_falling_edge_events_flags : (gpiod_line Ctypes.structure Ctypes_static.ptr option -> string option -> int -> int F.return) F.result
val line_request_both_edges_events_flags : (gpiod_line Ctypes.structure Ctypes_static.ptr option -> string option -> int -> int F.return) F.result
val line_request_bulk_input : (gpiod_line_bulk Ctypes.structure Ctypes_static.ptr option -> string option -> int F.return) F.result
val line_request_bulk_output : (gpiod_line_bulk Ctypes.structure Ctypes_static.ptr option -> string option -> unit Ctypes_static.ptr -> int F.return) F.result
val line_request_bulk_rising_edge_events : (gpiod_line_bulk Ctypes.structure Ctypes_static.ptr option -> string option -> int F.return) F.result
val line_request_bulk_falling_edge_events : (gpiod_line_bulk Ctypes.structure Ctypes_static.ptr option -> string option -> int F.return) F.result
val line_request_bulk_both_edges_events : (gpiod_line_bulk Ctypes.structure Ctypes_static.ptr option -> string option -> int F.return) F.result
val line_request_bulk_input_flags : (gpiod_line_bulk Ctypes.structure Ctypes_static.ptr option -> string option -> int -> int F.return) F.result
val line_request_bulk_output_flags : (gpiod_line_bulk Ctypes.structure Ctypes_static.ptr option -> string option -> int -> unit Ctypes_static.ptr -> int F.return) F.result
val line_request_bulk_rising_edge_events_flags : (gpiod_line_bulk Ctypes.structure Ctypes_static.ptr option -> string option -> int -> int F.return) F.result
val line_request_bulk_falling_edge_events_flags : (gpiod_line_bulk Ctypes.structure Ctypes_static.ptr option -> string option -> int -> int F.return) F.result
val line_request_bulk_both_edges_events_flags : (gpiod_line_bulk Ctypes.structure Ctypes_static.ptr option -> string option -> int -> int F.return) F.result
val line_release : (gpiod_line Ctypes.structure Ctypes_static.ptr option -> unit F.return) F.result
val line_release_bulk : (gpiod_line_bulk Ctypes.structure Ctypes_static.ptr option -> unit F.return) F.result
val line_is_requested : (gpiod_line Ctypes.structure Ctypes_static.ptr option -> bool F.return) F.result
val line_is_free : (gpiod_line Ctypes.structure Ctypes_static.ptr option -> bool F.return) F.result
val line_get_value : (gpiod_line Ctypes.structure Ctypes_static.ptr option -> int F.return) F.result
val line_get_value_bulk : (gpiod_line_bulk Ctypes.structure Ctypes_static.ptr option -> unit Ctypes_static.ptr -> int F.return) F.result
val line_set_value : (gpiod_line Ctypes.structure Ctypes_static.ptr option -> int -> int F.return) F.result
val line_set_value_bulk : (gpiod_line_bulk Ctypes.structure Ctypes_static.ptr option -> unit Ctypes_static.ptr -> int F.return) F.result
val line_set_config : (gpiod_line Ctypes.structure Ctypes_static.ptr option -> int -> int -> int -> int F.return) F.result
val line_set_config_bulk : (gpiod_line_bulk Ctypes.structure Ctypes_static.ptr option -> int -> int -> unit Ctypes_static.ptr -> int F.return) F.result
val line_set_flags : (gpiod_line Ctypes.structure Ctypes_static.ptr option -> int -> int F.return) F.result
val line_set_flags_bulk : (gpiod_line_bulk Ctypes.structure Ctypes_static.ptr option -> int -> int F.return) F.result
val line_set_direction_input : (gpiod_line Ctypes.structure Ctypes_static.ptr option -> int F.return) F.result
val line_set_direction_output : (gpiod_line Ctypes.structure Ctypes_static.ptr option -> int -> int F.return) F.result
val line_set_direction_output_bulk : (gpiod_line_bulk Ctypes.structure Ctypes_static.ptr option -> unit Ctypes_static.ptr -> int F.return) F.result
type gpiod_line_event
val line_event_get_fd : (gpiod_line Ctypes.structure Ctypes_static.ptr option -> int F.return) F.result
val line_event_read_fd : (int -> gpiod_line_event Ctypes.structure Ctypes_static.ptr option -> int F.return) F.result
val line_event_read_fd_multiple : (int -> gpiod_line_event Ctypes.structure Ctypes_static.ptr option -> int -> int F.return) F.result
val line_get : (string option -> int -> gpiod_line Ctypes.structure Ctypes_static.ptr option F.return) F.result
val line_find : (string option -> gpiod_line Ctypes.structure Ctypes_static.ptr option F.return) F.result
val line_close_chip : (gpiod_line Ctypes.structure Ctypes_static.ptr option -> unit F.return) F.result
val chip_iter_free_noclose : (gpiod_chip_iter Ctypes.structure Ctypes_static.ptr option -> unit F.return) F.result
val version_string : (unit -> string option F.return) F.result
OCaml

Innovation. Community. Security.