DA1468X GPIO睡眠

GPIO PAD闩锁启用

星期二,2017-02-21 12:17-EdwardWhite.

你好

锁定GPIO引脚的正确方法是什么?它在睡眠期间保留了状态?
我试过了hw_cpm_activate_pad_latches()但是它仍然不起作用。当前代码流如下:

hw_cpm_deactivate_pad_latches();//允许更改引脚
hw_gpio_set_active(LED_PORT,LED_PIN);//打开LED
......
fflush(stdout);//锁定引脚和睡眠前的空缓冲区
hw_cpm_activate_pad_latches();//睡前闩锁销
// 睡在这里

谢谢!

订阅RSS  -  DA1468X GPIO睡眠