Specifications
52 CY8CKIT-042 PSoC 4 Pioneer Kit Guide, Doc. # 001-86371 Rev. *D
Code Examples
Figure 5-15. Pin Selection for Deep-Sleep Project
5.3.3 Flow Chart
Figure 5-16 shows the flow chart of code implemented in main.c.
Figure 5-16. Deep-Sleep Project Flow Chart
Start
Turn LED on
for one second
Enter Deep-
Sleep mode
Interrupt on
SW2 press
Clear the
interrupt