Anonymous
Not applicable
Aug 09, 2016
09:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 09, 2016
09:15 AM
Hi All,
This is pretty simple but I can't find the command and searching on "stop" isn't helping much.
I have a use case where I want to basically shut the microcontroller down (forcing the user to cycle the power to bring it back online).
What is the command to use in PSoC Creator?
(Basically the software detected an unsafe condition and wants to power down to prevent damage to motors, etc being controlled.)
thanks,
Bob
Labels
- Labels:
-
PSoC 5LP
2 Replies
Aug 09, 2016
10:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 09, 2016
10:45 AM
You may use CySoftwareReset() to reset the device or an infinite loop with disabled interrupts to have an external reset enforced to escape that situation. CyHalt() is another option, you can find all this in the "System Reference Guide" from Creator's "Help" menu.
Bob
Anonymous
Not applicable
Aug 11, 2016
09:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 11, 2016
09:41 AM
thanks Bob!