Giter VIP home page Giter VIP logo

bone-gpio-sysfs's Introduction

bone-gpio-sysfs

bone-gpio-sysfs is a GPIO sysfs driver to handle GPIOs of the beagle bone black AM335x hardware through Sysfs interface.

The driver should support the below functionality

  1. The driver should create a class "bone_gpios" under /sys/class (class_create)
  2. For every detected GPIO in the device tree, the driver should create a device under /sys/class/bone_gpios (device_create)
  3. The driver should also create 3 sysfs files(attributes) for gpio device
       Attributes:
       1. direction: used to configure gpio direction
            possible values: 'in' and 'out'
            mode: read/write
       2. value: used to enquire the state of the gpio or to write a new value to the gpio
          possible values: 0 and 1 (read/write)
       3. label: used to enquire label of the gpio (read only)
  4. Implement show and store methods for the attributes

bone-gpio-sysfs's People

Contributors

harishcpu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.