pwm: add period limits, warn over syslog
authorThomas Ingleby <thomas.c.ingleby@intel.com>
Thu, 30 Oct 2014 12:03:24 +0000 (12:03 +0000)
committerThomas Ingleby <thomas.c.ingleby@intel.com>
Thu, 30 Oct 2014 12:22:40 +0000 (12:22 +0000)
commit3b01af1da15cf703c9b17f14e0fe5720e2449977
tree47c84881fe0355c2c1cd8e1dbeb31cd2331b1247
parent29b0425c9bcdb17b9d77c8cad536d50c4b883f69
pwm: add period limits, warn over syslog

Added minimum, maximum and default period settings to board definitions
PWM will now have a default period as defined in the board defintion.
When using pwm_write() writing 1.0f or above will default to 100%.

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
api/mraa/common.h
src/intel_de3815.c
src/intel_edison_fab_c.c
src/intel_galileo_rev_d.c
src/intel_galileo_rev_g.c
src/pwm/pwm.c