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
82e75f8c3a
zephyr
/
tests
/
lib
/
onoff
/
prj.conf
4 lines
52 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
tests: lib: move onoff to new ztest API Move test lib/onoff to use new ztest API. Signed-off-by: li biao <biao1x.li@intel.com>
2022-07-12 14:04:28 +08:00
CONFIG_ZTEST_NEW_API=y