1: You can use an ammeter to measure the current consumption of the PSoC 5 device.
2: the GPIO states are retained, so led is still ON.
Thanks for the reply.. Is my code will work in this mode?
coz Im blinking the Led, I am using it as a heartbeat and call it in every 1 sec.
when i type command for Hibernate mode my console stop works but my heartbeat is still blink in every 1 sec in a same way it was doing before..
I did try as it was mentioned in hibernate code example which is present in Psoc Creator.
any example will be so useful.
You can try to open a creator code eample, the example's name is "PowerManagement_Hibernate".
I already tried it and it is working fine now. and tried with watchdog interrupt also and it is working good with that too.
I tried in my actual code with Rtos and USB uart but in that it is not working
this is my function for hibernate:
/* Switch to the Hibernate Mode */
/* Restore clocks' configuration */
this is my function.. do I need to stop anything other interrupt too.