21 Commits
Author SHA1 Message Date
hathach ce81b830a1 ready for release 0.21.0 2020-08-31 16:49:09 +07:00
hathach 786ceae1f1 change token from const var to enum 2020-08-27 15:45:16 +07:00
hathach 13a01fe7a8 change token type from uintptr_t to uint32_t 2020-08-27 15:41:47 +07:00
hathach c3f8e34790 refactor hardware pwm 2020-08-25 17:50:08 +07:00
hathach 947d8bb6f7 clean up pwn and analog
replace built-in atomic with freeRTOS critical functions
2020-08-25 10:06:43 +07:00
Henry Gabryjelski e200ee88de Remove deeper debug level 3 2020-08-03 02:32:08 -07:00
Henry Gabryjelski d00de2d783 Change variable name per @hathach request. 2020-07-28 23:05:13 -07:00
Henry Gabryjelski e58b39e2de Reduce debug output for analog_write()
Remove all output when the pin is already configured
and everything works.
2020-07-28 23:05:12 -07:00
Henry Gabryjelski aebdca3f63 Ensure default value for analogWriteResolution() 2020-07-28 23:05:11 -07:00
Henry Gabryjelski 0acacf67b8 Finish conversion back to uintptr_t token 2020-07-28 23:05:11 -07:00
Henry Gabryjelski c190318bb9 Use const void* for ownership token 2020-07-28 23:05:10 -07:00
Henry Gabryjelski d469728574 Use HwPWM ownership abstraction 2020-07-28 23:05:09 -07:00
Henry Gabryjelski af680357dd analogWrite() avoids hostile takeover of PWM peripherals 2020-07-28 23:05:09 -07:00
Henry Gabryjelski c91bed1448 Fix #458
Update HwPWM3 when it exists
2020-03-20 10:34:47 -07:00
hathach 488006a45b add HwPWM3 for nrf52840 2018-11-05 17:00:48 +07:00
hathach 4640481d02 update Copyright year to 2018 2018-07-27 16:20:36 +07:00
hathach f5e23fdaba add setMaxValue() to HW PWM 2017-07-24 23:16:22 +07:00
hathach 720cb0c82e rename HardwarePWM PWMn to HwPWMn to avoid name conflict 2017-07-24 22:16:37 +07:00
hathach a335699296 only enter low power mode waitForEvent() in idle if there is no active PWM 2017-04-09 14:42:26 +07:00
hathach 673980a005 clean up 2017-03-25 01:21:20 +07:00
hathach 774311e4b8 implement analogWrite() and analogWriteResolution() with HardwarePWM 2017-03-25 01:16:53 +07:00