This website requires JavaScript.
Explore
Help
Sign In
OrgZephyr
/
zephyr
mirror of
https://github.com/zephyrproject-rtos/zephyr.git
Watch
1
Star
0
Fork
You've already forked zephyr
0
Code
Issues
Releases
Wiki
Activity
ebbf672cc5
zephyr
/
tests
/
lib
/
onoff
/
prj.conf
4 lines
44 B
Plaintext
Raw
Normal View
History
Unescape
Escape
lib: os: onoff: add API for on-off service request and release management There are various situations where it's necessary to support turning devices on or off at runtime, includin power rails, clocks, other peripherals, and binary device power management. The complexity of properly managing multiple consumers of a device in a multithreaded system suggests that a shared implementation is desirable. This commit provides an API that supports managing on-off resources. Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2019-11-30 22:12:09 +08:00
CONFIG_POLL=y
CONFIG_ZTEST=y
lib: onoff: add a config for on-off and build conditionally Do not build this service unconditionally. Partial fix of #50654 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2022-09-27 00:53:00 +08:00
CONFIG_ONOFF=y