You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2019/01/17 20:51:23 UTC

[GitHub] andrzej-kaczmarek opened a new pull request #1605: hw/bus: Add power management for bus devices

andrzej-kaczmarek opened a new pull request #1605: hw/bus: Add power management for bus devices
URL: https://github.com/apache/mynewt-core/pull/1605
 
 
   This adds some power management capabilities to bus devices. By default, it just allows to disable bus device by calling `os_dev_suspend` and enable it by calling `os_dev_resume`.
   
   Extra pm capabilities can be enabled with `BUS_PM: 1` which adds automatic pm mode. It can be enabled in runtime at any time and allows to control enabled state of bus device automatically depending on its inactivity, i.e. it will enable bus device before transaction and will disable it when not needed. This allows for simpler app and avoids duplicating code unnecessarily.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services