Home
last modified time | relevance | path

Searched refs:p_action (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/samples/sensor/fdc2x1x/src/
Dmain.c94 enum pm_device_action p_action; in main() local
97 p_action = PM_DEVICE_ACTION_SUSPEND; in main()
98 ret = pm_device_action_run(dev, p_action); in main()
99 pm_info(p_action, ret); in main()
101 p_action = PM_DEVICE_ACTION_TURN_OFF; in main()
102 ret = pm_device_action_run(dev, p_action); in main()
103 pm_info(p_action, ret); in main()
105 p_action = PM_DEVICE_ACTION_RESUME; in main()
106 ret = pm_device_action_run(dev, p_action); in main()
107 pm_info(p_action, ret); in main()
[all …]