问题描述
大家好,
我使用DragonBoard 410c。我想通过写"低"关闭iot操作系统。到APQ_PS_HOLD(E36)引脚,它是cpu的引脚。这是否可以关闭windows 10 iot core os?
I use the DragonBoard 410c. I want to shut down the iot os by write "low" to the APQ_PS_HOLD (E36) pin which is the pin of the cpu. Does this can shut down the windows 10 iot core os?
APQ_PS_HOLD(E36)连接到PS_HOLD,它是PMIC8916的引脚。但似乎APQ_PS_HOLD(E36)没有密码。如何读取和写入此引脚?
The APQ_PS_HOLD (E36) connect to the PS_HOLD which is the pin of the PMIC8916. But it seems that the APQ_PS_HOLD (E36) have no pin number. How to read and write this pin?
所有图片均参考pdf文件,可在此处下载:
All the picture are refer to the pdf files which can be download here:
https://开发人员.qualcomm.com / hardware / snapdragon-410 / tools
https://developer.qualcomm.com/hardware/snapdragon-410/tools
祝你好运。
推荐答案
来自
Windows IoT Dragonboard核心针脚映射,没有PS_HOLD(E36)。
From Windows IoT Core pin mapping of Dragonboard, there is no PS_HOLD(E36).
来自文档,PS_HOLD(E36)是PMIC的电源保持信号,其类型为DO(输出)。
And from DragonBoard 410c GPIO Pin Assignment document, PS_HOLD(E36) is power supply hold signal to PMIC, its type is DO(output).
因此您可能无法写入此PIN。
So you may not write this PIN.
如果要关闭Windows IoT核心版设备,可以使用UWP api ShutdownManager 。只需一行代码:
If you want to shut down Windows IoT Core device you can using UWP api ShutdownManager. Just one line code like this:
ShutdownManager.BeginShutdown(ShutdownKind.Shutdown, System.TimeSpan.FromSeconds(1));
要在UWP中使用ShutdownManager来管理设备的关闭,您需要:
To use ShutdownManager in UWP to manages the shutdown of devices, you need:
- 参考Windows IoT Extension SDK(v10.0.10240.0或更高版本)
- 将以下内容添加到应用程序Package.appmanifest:< iot:Capability Name =" ; systemManagement" />
- 添加此名称空间:使用Windows.System;
最佳问候,
Rita
这篇关于如何读取和写入没有引脚号的gpio引脚?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!