libgpiod-dlang ~master (2022-12-15T12:23:11.2740807)
Dub
Repo
GPIOD_BIT
gpiod
@brief Shift 1 by given offset. @param nr Bit position. @return 1 shifted by nr.
extern (
C
) extern (
D
)
auto
GPIOD_BIT
(
T
)
(
auto
ref
T
nr
)
Meta
Source
See Implementation
gpiod
aliases
gpiod_ctxless_event_handle_cb
gpiod_ctxless_event_poll_cb
gpiod_ctxless_set_value_cb
enums
GPIOD_CTXLESS_EVENT_CB_RET_ERR
GPIOD_CTXLESS_EVENT_CB_TIMEOUT
GPIOD_CTXLESS_EVENT_POLL_RET_STOP
GPIOD_CTXLESS_EVENT_RISING_EDGE
GPIOD_CTXLESS_FLAG_OPEN_DRAIN
GPIOD_LINE_ACTIVE_STATE_HIGH
GPIOD_LINE_BIAS_AS_IS
GPIOD_LINE_DIRECTION_INPUT
GPIOD_LINE_EVENT_RISING_EDGE
GPIOD_LINE_REQUEST_DIRECTION_AS_IS
GPIOD_LINE_REQUEST_FLAG_OPEN_DRAIN
functions
GPIOD_BIT
gpiod_chip_close
gpiod_chip_find_line
gpiod_chip_find_lines
gpiod_chip_get_all_lines
gpiod_chip_get_line
gpiod_chip_get_lines
gpiod_chip_iter_free
gpiod_chip_iter_free_noclose
gpiod_chip_iter_new
gpiod_chip_iter_next
gpiod_chip_iter_next_noclose
gpiod_chip_label
gpiod_chip_name
gpiod_chip_num_lines
gpiod_chip_open
gpiod_chip_open_by_label
gpiod_chip_open_by_name
gpiod_chip_open_by_number
gpiod_chip_open_lookup
gpiod_ctxless_event_loop
gpiod_ctxless_event_loop_multiple
gpiod_ctxless_event_monitor
gpiod_ctxless_event_monitor_ext
gpiod_ctxless_event_monitor_multiple
gpiod_ctxless_event_monitor_multiple_ext
gpiod_ctxless_find_line
gpiod_ctxless_get_value
gpiod_ctxless_get_value_ext
gpiod_ctxless_get_value_multiple
gpiod_ctxless_get_value_multiple_ext
gpiod_ctxless_set_value
gpiod_ctxless_set_value_ext
gpiod_ctxless_set_value_multiple
gpiod_ctxless_set_value_multiple_ext
gpiod_line_active_state
gpiod_line_bias
gpiod_line_bulk_add
gpiod_line_bulk_get_line
gpiod_line_bulk_init
gpiod_line_bulk_num_lines
gpiod_line_close_chip
gpiod_line_consumer
gpiod_line_direction
gpiod_line_event_get_fd
gpiod_line_event_read
gpiod_line_event_read_fd
gpiod_line_event_read_fd_multiple
gpiod_line_event_read_multiple
gpiod_line_event_wait
gpiod_line_event_wait_bulk
gpiod_line_find
gpiod_line_get
gpiod_line_get_chip
gpiod_line_get_value
gpiod_line_get_value_bulk
gpiod_line_is_free
gpiod_line_is_open_drain
gpiod_line_is_open_source
gpiod_line_is_requested
gpiod_line_is_used
gpiod_line_iter_free
gpiod_line_iter_new
gpiod_line_iter_next
gpiod_line_name
gpiod_line_needs_update
gpiod_line_offset
gpiod_line_release
gpiod_line_release_bulk
gpiod_line_request
gpiod_line_request_both_edges_events
gpiod_line_request_both_edges_events_flags
gpiod_line_request_bulk
gpiod_line_request_bulk_both_edges_events
gpiod_line_request_bulk_both_edges_events_flags
gpiod_line_request_bulk_falling_edge_events
gpiod_line_request_bulk_falling_edge_events_flags
gpiod_line_request_bulk_input
gpiod_line_request_bulk_input_flags
gpiod_line_request_bulk_output
gpiod_line_request_bulk_output_flags
gpiod_line_request_bulk_rising_edge_events
gpiod_line_request_bulk_rising_edge_events_flags
gpiod_line_request_falling_edge_events
gpiod_line_request_falling_edge_events_flags
gpiod_line_request_input
gpiod_line_request_input_flags
gpiod_line_request_output
gpiod_line_request_output_flags
gpiod_line_request_rising_edge_events
gpiod_line_request_rising_edge_events_flags
gpiod_line_set_config
gpiod_line_set_config_bulk
gpiod_line_set_direction_input
gpiod_line_set_direction_input_bulk
gpiod_line_set_direction_output
gpiod_line_set_direction_output_bulk
gpiod_line_set_flags
gpiod_line_set_flags_bulk
gpiod_line_set_value
gpiod_line_set_value_bulk
gpiod_line_update
gpiod_version_string
manifest constants
GPIOD_LINE_BULK_MAX_LINES
structs
gpiod_chip
gpiod_chip_iter
gpiod_ctxless_event_poll_fd
gpiod_line
gpiod_line_bulk
gpiod_line_event
gpiod_line_iter
gpiod_line_request_config
@brief Shift 1 by given offset. @param nr Bit position. @return 1 shifted by nr.