I am using CW10.4, MQX4.0.1 and MK60FN1M0VLQ12.
How could I use PTD0 for LLWU?
PTD1 can't be selected as input for LLWU module. The inputs for this unit are fixed, so you can only choose those defined as LLWU inputs. You can see them in the following table.
I hope this helps.
In this case, how should I do to use PTD0 for LLWU?
Create a BitIO component
Set the component as Input
Select PTD0 as your source input
Is there a way to do it in MQX?
Sure, using CW10.4 click File > New > MQX-Lite Project and generate the new project.
As you can see, I created the components for Console and a BitIO for LLWU.
Here is the configuration for PTD0_LLWU
Now, the system clocks
Now, just generate your tasks and use the BitIO component for LLWU when you need them.
After I put the MCU into VLLS3 mode, when it wakes up. how should I control it?
Will it enter the LLWU ISR automatically?
Retrieving data ...