diff options
author | Brendan Le Foll <brendan.le.foll@intel.com> | 2015-08-27 17:03:39 +0100 |
---|---|---|
committer | Brendan Le Foll <brendan.le.foll@intel.com> | 2015-08-27 17:03:39 +0100 |
commit | e9a7415ee76485266c171bba1622d6640ab428b9 (patch) | |
tree | 0da703a7c6238785f0535aec4caf3bed7aeb968f /docs/internals.md | |
parent | 0256b680f1dcb907ea3c4bcd6585406f005ec0e3 (diff) |
internals.md: Add doc to explain pwm internally is all in us
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Diffstat (limited to 'docs/internals.md')
-rw-r--r-- | docs/internals.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/internals.md b/docs/internals.md index db42c1b..a825375 100644 --- 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 |