Commit Graph

11 Commits

Author SHA1 Message Date
Ben Delarre e6d0ea4225 gpio: added pinmap accessor for introspection usage 2015-01-15 05:47:02 +05:30
Karan Misra c35deeb17c host specific drivers can now be loaded separately
this ensures cleaner abstractions/code and will ensure that the produced
binary is as small as possible. a convenience package is provided to
easily load all hosts easily: "github.com/kidoman/embd/host/all"
2014-04-06 06:50:09 +05:30
Karan Misra 57328c979d gpio: implement pin caching
this allows for the short version of the API to work as expected as
consecutive calls to the same pin would now be internally working on the
pin instance (all the 3 currently supported types). closing a pin busts
the cache
2014-04-06 05:30:54 +05:30
Karan Misra 6f90af377d gpio: create types for the pin factory methods 2014-04-06 04:52:11 +05:30
Kunal Powar 14b078a43e gpio: pwm support for bbb 2014-03-28 08:32:22 +05:30
Karan Misra 2d627aad67 gpio: CapNormal -> CapAnalog 2014-03-23 14:11:09 +05:30
Karan Misra 0002d02c28 add documentation 2014-03-23 14:09:31 +05:30
Karan Misra 0405cf3f14 - GPIO -> GPIODriver
- I2C -> I2CDriver
2014-03-23 06:32:24 +05:30
Karan Misra d64682bf34 gpio: analog pin support for the bbb 2014-03-23 04:59:35 +05:30
Karan Misra f667c93b7a gpio: simplify and test the logic 2014-03-23 02:32:26 +05:30
Karan Misra d193c200ea gpio: rename 2014-03-23 02:10:23 +05:30