Dear All,
I need to implement fully disabling and enabling several hardware components and drivers (UART, comparator, PWW, etc.) that I'll need only when the user asks for certain functions of the device. I'm using SDK V2.6.0, which, if I'm not wrong, ships Zephyr 3.1.0.
I found function pm_device_action_run(...) seems to be the way to go, but I need to know the steps I need to follow o do it right. What I want is to fully disable the device at runtime (OFF) and, when needed, enable and use it, then disable again after disconnection from peer.
Thanks.