Skip to content

Commit

Permalink
libgpio: fix description
Browse files Browse the repository at this point in the history
Signed-off-by: Moritz Barsnick <[email protected]>
  • Loading branch information
barsnick committed Mar 25, 2024
1 parent a8408d3 commit 1c071dd
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions lib/staging/gpio/gpio.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
// Copyright 2023 Pionix GmbH and Contributors to EVerest

/*
This is a simple wrapper around libgpiod C++ wrapper.
The interface of libgpiod is powerful but somewhat hard to use for simple things,
this class simplifies its usage in EVerest where usually just setting or
reading of a single GPIO is required.
This is a simple wrapper for accessing GPIOs via the Linux kernel's
GPIO Character Device Userspace API (v1). This API was introduced in Linux
kernel version 4.8.
This wrapper attempts to provide a simple interface to that API, for uses
in EVerest where simply settng or reading of a single GPIO is required.
*/

#ifndef GPIO_HPP
Expand Down

0 comments on commit 1c071dd

Please sign in to comment.