projects
/
contrib
/
mraa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0256b68
)
internals.md: Add doc to explain pwm internally is all in us
author
Brendan Le Foll
<brendan.le.foll@intel.com>
Thu, 27 Aug 2015 16:03:39 +0000
(17:03 +0100)
committer
Brendan Le Foll
<brendan.le.foll@intel.com>
Thu, 27 Aug 2015 16:03:39 +0000
(17:03 +0100)
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
docs/internals.md
patch
|
blob
|
history
diff --git
a/docs/internals.md
b/docs/internals.md
index
db42c1b
..
a825375
100644
(file)
--- a/
docs/internals.md
+++ b/
docs/internals.md
@@
-114,6
+114,11
@@
set the pinmapper correctly for uart to work on some platforms.
### pwm ###
+Internally everything with PWM in mraa is in microseconds because that's what
+the linux kernel uses and is probably all the granularity we'll ever
+need/achieve with the kind of hardware we're targetting. Board configuration
+pwm max/min values are always set in microseconds.
+
### aio ###
AIO pins are numbered after GPIO pins. This means that on Arduino style boards