[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emulation of 'System OFF' mode in ARM nRF51 SoCs
From: |
Chris Laplante |
Subject: |
Re: Emulation of 'System OFF' mode in ARM nRF51 SoCs |
Date: |
Sat, 01 Jul 2023 19:29:40 +0000 |
Hi Phil,
> What problem are you getting with a single CPU?
> The "arm/arm-powerctl.h" API should work well.
> If you scheduled a timer, I expect it to awake
> your CPU on expiration. You can also use a QMP
> command to toggle a GPIO and trigger an IRQ.
>
> You can use the qtest API to test your code,
> see some tests in tests/qtest/ using:
> - qtest_set_irq_in()
> - qtest_qom_set_bool() for GPIO
Thanks for the tips - I am working on implementing this now!
Chris
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Emulation of 'System OFF' mode in ARM nRF51 SoCs,
Chris Laplante <=