mlaz commented on issue #955: pwm enabled? URL: https://github.com/apache/mynewt-core/issues/955#issuecomment-381148189 Ok, I see 2 issues here, probably we want : 1 - To make pwm_disable to just stop the channel playback and not unconfigure it. Sincelosing the device will make every channel unconfigured. 2 - pwm_is_enabled because we now can make a channel run for a number of cycles and may want to know if it has already been configured. (it will remain configured after playing for n cycles) 3 - A way to make a channel unassigned to a pin. (I'll make a PWM_NO_PIN macro so the user may do this via configure_channel) @mlampert do you have any input on this?
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services