package gpiod

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Gpiod : sig ... end
include module type of struct include Gpiod end
val gpiod_chip : gpiod_chip Ctypes.structure Ctypes.typ
val gpiod_line : gpiod_line Ctypes.structure Ctypes.typ
val gpiod_chip_iter : gpiod_chip_iter Ctypes.structure Ctypes.typ
val gpiod_line_iter : gpiod_line_iter Ctypes.structure Ctypes.typ
val gpiod_line_bulk : gpiod_line_bulk Ctypes.structure Ctypes.typ
val ctxless_get_value : string option -> int -> bool -> string option -> int
val ctxless_get_value_ext : string option -> int -> bool -> string option -> int -> int
val ctxless_get_value_multiple : string option -> unit Ctypes_static.ptr -> unit Ctypes_static.ptr -> int -> bool -> string option -> int
val ctxless_get_value_multiple_ext : string option -> unit Ctypes_static.ptr -> unit Ctypes_static.ptr -> int -> bool -> string option -> int -> int
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
val chip_open : string option -> gpiod_chip Ctypes.structure Ctypes_static.ptr option
val chip_open_by_name : string option -> gpiod_chip Ctypes.structure Ctypes_static.ptr option
val chip_open_by_number : int -> gpiod_chip Ctypes.structure Ctypes_static.ptr option
val chip_open_by_label : string option -> gpiod_chip Ctypes.structure Ctypes_static.ptr option
val chip_open_lookup : string option -> gpiod_chip Ctypes.structure Ctypes_static.ptr option
val chip_close : gpiod_chip Ctypes.structure Ctypes_static.ptr option -> unit
val chip_name : gpiod_chip Ctypes.structure Ctypes_static.ptr option -> string option
val chip_label : gpiod_chip Ctypes.structure Ctypes_static.ptr option -> string option
val chip_num_lines : gpiod_chip Ctypes.structure Ctypes_static.ptr option -> int
val chip_get_line : gpiod_chip Ctypes.structure Ctypes_static.ptr option -> int -> gpiod_line Ctypes.structure Ctypes_static.ptr option
val chip_get_lines : gpiod_chip Ctypes.structure Ctypes_static.ptr option -> unit Ctypes_static.ptr -> int -> gpiod_line_bulk Ctypes.structure Ctypes_static.ptr option -> int
val chip_get_all_lines : gpiod_chip Ctypes.structure Ctypes_static.ptr option -> gpiod_line_bulk Ctypes.structure Ctypes_static.ptr option -> int
val chip_find_line : gpiod_chip Ctypes.structure Ctypes_static.ptr option -> string option -> gpiod_line Ctypes.structure Ctypes_static.ptr option
val chip_find_lines : gpiod_chip Ctypes.structure Ctypes_static.ptr option -> unit Ctypes_static.ptr -> gpiod_line_bulk Ctypes.structure Ctypes_static.ptr option -> int
val line_offset : gpiod_line Ctypes.structure Ctypes_static.ptr option -> int
val line_name : gpiod_line Ctypes.structure Ctypes_static.ptr option -> string option
val line_consumer : gpiod_line Ctypes.structure Ctypes_static.ptr option -> string option
val line_direction : gpiod_line Ctypes.structure Ctypes_static.ptr option -> int
val line_active_state : gpiod_line Ctypes.structure Ctypes_static.ptr option -> int
val line_bias : gpiod_line Ctypes.structure Ctypes_static.ptr option -> int
val line_is_used : gpiod_line Ctypes.structure Ctypes_static.ptr option -> bool
val line_is_open_drain : gpiod_line Ctypes.structure Ctypes_static.ptr option -> bool
val line_is_open_source : gpiod_line Ctypes.structure Ctypes_static.ptr option -> bool
val line_update : gpiod_line Ctypes.structure Ctypes_static.ptr option -> int
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
val line_request_output : gpiod_line Ctypes.structure Ctypes_static.ptr option -> string option -> int -> int
val line_request_rising_edge_events : gpiod_line Ctypes.structure Ctypes_static.ptr option -> string option -> int
val line_request_falling_edge_events : gpiod_line Ctypes.structure Ctypes_static.ptr option -> string option -> int
val line_request_both_edges_events : gpiod_line Ctypes.structure Ctypes_static.ptr option -> string option -> int
val line_request_input_flags : gpiod_line Ctypes.structure Ctypes_static.ptr option -> string option -> int -> int
val line_request_output_flags : gpiod_line Ctypes.structure Ctypes_static.ptr option -> string option -> int -> int -> int
val line_request_rising_edge_events_flags : gpiod_line Ctypes.structure Ctypes_static.ptr option -> string option -> int -> int
val line_request_falling_edge_events_flags : gpiod_line Ctypes.structure Ctypes_static.ptr option -> string option -> int -> int
val line_request_both_edges_events_flags : gpiod_line Ctypes.structure Ctypes_static.ptr option -> string option -> int -> int
val line_request_bulk_input : gpiod_line_bulk Ctypes.structure Ctypes_static.ptr option -> string option -> int
val line_request_bulk_output : gpiod_line_bulk Ctypes.structure Ctypes_static.ptr option -> string option -> unit Ctypes_static.ptr -> int
val line_request_bulk_rising_edge_events : gpiod_line_bulk Ctypes.structure Ctypes_static.ptr option -> string option -> int
val line_request_bulk_falling_edge_events : gpiod_line_bulk Ctypes.structure Ctypes_static.ptr option -> string option -> int
val line_request_bulk_both_edges_events : gpiod_line_bulk Ctypes.structure Ctypes_static.ptr option -> string option -> int
val line_request_bulk_input_flags : gpiod_line_bulk Ctypes.structure Ctypes_static.ptr option -> string option -> int -> int
val line_request_bulk_output_flags : gpiod_line_bulk Ctypes.structure Ctypes_static.ptr option -> string option -> int -> unit Ctypes_static.ptr -> int
val line_request_bulk_rising_edge_events_flags : gpiod_line_bulk Ctypes.structure Ctypes_static.ptr option -> string option -> int -> int
val line_request_bulk_falling_edge_events_flags : gpiod_line_bulk Ctypes.structure Ctypes_static.ptr option -> string option -> int -> int
val line_request_bulk_both_edges_events_flags : gpiod_line_bulk Ctypes.structure Ctypes_static.ptr option -> string option -> int -> int
val line_release : gpiod_line Ctypes.structure Ctypes_static.ptr option -> unit
val line_release_bulk : gpiod_line_bulk Ctypes.structure Ctypes_static.ptr option -> unit
val line_is_requested : gpiod_line Ctypes.structure Ctypes_static.ptr option -> bool
val line_is_free : gpiod_line Ctypes.structure Ctypes_static.ptr option -> bool
val line_get_value : gpiod_line Ctypes.structure Ctypes_static.ptr option -> int
val line_get_value_bulk : gpiod_line_bulk Ctypes.structure Ctypes_static.ptr option -> unit Ctypes_static.ptr -> int
val line_set_value : gpiod_line Ctypes.structure Ctypes_static.ptr option -> int -> int
val line_set_value_bulk : gpiod_line_bulk Ctypes.structure Ctypes_static.ptr option -> unit Ctypes_static.ptr -> int
val line_set_config : gpiod_line Ctypes.structure Ctypes_static.ptr option -> int -> int -> int -> int
val line_set_config_bulk : gpiod_line_bulk Ctypes.structure Ctypes_static.ptr option -> int -> int -> unit Ctypes_static.ptr -> int
val line_set_flags : gpiod_line Ctypes.structure Ctypes_static.ptr option -> int -> int
val line_set_flags_bulk : gpiod_line_bulk Ctypes.structure Ctypes_static.ptr option -> int -> int
val line_set_direction_input : gpiod_line Ctypes.structure Ctypes_static.ptr option -> int
val line_set_direction_output : gpiod_line Ctypes.structure Ctypes_static.ptr option -> int -> int
val line_set_direction_output_bulk : gpiod_line_bulk Ctypes.structure Ctypes_static.ptr option -> unit Ctypes_static.ptr -> int
val gpiod_line_event : gpiod_line_event Ctypes.structure Ctypes.typ
val line_event_read : gpiod_line Ctypes.structure Ctypes_static.ptr option -> gpiod_line_event Ctypes.structure Ctypes_static.ptr option -> int
val line_event_read_multiple : gpiod_line Ctypes.structure Ctypes_static.ptr option -> gpiod_line_event Ctypes.structure Ctypes_static.ptr option -> int -> int
val line_event_get_fd : gpiod_line Ctypes.structure Ctypes_static.ptr option -> int
val line_event_read_fd : int -> gpiod_line_event Ctypes.structure Ctypes_static.ptr option -> int
val line_event_read_fd_multiple : int -> gpiod_line_event Ctypes.structure Ctypes_static.ptr option -> int -> int
val line_get : string option -> int -> gpiod_line Ctypes.structure Ctypes_static.ptr option
val line_find : string option -> gpiod_line Ctypes.structure Ctypes_static.ptr option
val line_close_chip : gpiod_line Ctypes.structure Ctypes_static.ptr option -> unit
val line_get_chip : gpiod_line Ctypes.structure Ctypes_static.ptr option -> gpiod_chip Ctypes.structure Ctypes_static.ptr option
val chip_iter_new : unit -> gpiod_chip_iter Ctypes.structure Ctypes_static.ptr option
val chip_iter_free : gpiod_chip_iter Ctypes.structure Ctypes_static.ptr option -> unit
val chip_iter_free_noclose : gpiod_chip_iter Ctypes.structure Ctypes_static.ptr option -> unit
val chip_iter_next : gpiod_chip_iter Ctypes.structure Ctypes_static.ptr option -> gpiod_chip Ctypes.structure Ctypes_static.ptr option
val chip_iter_next_noclose : gpiod_chip_iter Ctypes.structure Ctypes_static.ptr option -> gpiod_chip Ctypes.structure Ctypes_static.ptr option
val line_iter_new : gpiod_chip Ctypes.structure Ctypes_static.ptr option -> gpiod_line_iter Ctypes.structure Ctypes_static.ptr option
val line_iter_free : gpiod_line_iter Ctypes.structure Ctypes_static.ptr option -> unit
val line_iter_next : gpiod_line_iter Ctypes.structure Ctypes_static.ptr option -> gpiod_line Ctypes.structure Ctypes_static.ptr option
val version_string : unit -> string option
OCaml

Innovation. Community. Security.