1
0
mirror of https://github.com/kidoman/embd synced 2025-06-28 01:28:07 +02:00

21 Commits

Author SHA1 Message Date
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
Kunal Powar
6cfe268ada bbb: initialise at the start of SetMicroseconds
this will setup p.period to the default if not already done
2014-04-05 01:44:02 +05:30
Karan Misra
fc887282bf unified servo and analog output support for pwms 2014-04-02 17:25:28 +05:30
Karan Misra
6342dd3a19 bbb: add a comment explaining why we cannot disable the analog and pwm
modules by removing them from the slots file
2014-03-30 04:15:21 +05:30
Karan Misra
9210e4ef1a move the Register calls to the bottom 2014-03-30 04:14:33 +05:30
Karan Misra
ea3afb8538 bbb: disable the pwm pin when closed 2014-03-29 19:19:40 +05:30
Karan Misra
f7e8cb31d4 doc: group the bbb constants together 2014-03-29 14:22:57 +05:30
Kunal Powar
ac32623864 doc: pwm constants 2014-03-29 13:39:30 +05:30
Kunal Powar
14b078a43e gpio: pwm support for bbb 2014-03-28 08:32:22 +05:30
Karan Misra
0842517208 refactor 2014-03-24 02:50:24 +05:30
Karan Misra
5c8ea918ab gpio: analogpin doesn't support write (that will come from pwm) 2014-03-23 14:29:56 +05:30
Karan Misra
2d627aad67 gpio: CapNormal -> CapAnalog 2014-03-23 14:11:09 +05:30
Karan Misra
a35692aabb added documentation 2014-03-23 07:21:22 +05:30
Karan Misra
3f88b67361 minor cleanup 2014-03-23 06:41:51 +05:30
Karan Misra
0405cf3f14 - GPIO -> GPIODriver
- I2C -> I2CDriver
2014-03-23 06:32:24 +05:30
Karan Misra
bf8a4be4d9 led: support led functionality on the bbb 2014-03-23 06:25:32 +05:30
Karan Misra
f7b316332e gpio: make analog pin support more versatile on the bbb 2014-03-23 05:37:28 +05:30
Karan Misra
d64682bf34 gpio: analog pin support for the bbb 2014-03-23 04:59:35 +05:30
Karan Misra
833ab3a472 - add analog pin details to bbb descriptor
- pinMap lookups now honor pin capabilities
2014-03-23 01:36:24 +05:30
Karan Misra
53e6c55378 gpio: allow specifying the digital logical pin number as required 2014-03-23 01:11:24 +05:30
Karan Misra
36f2c0486d simplify package structure 2014-03-03 00:51:23 +05:30