![Cypress Semiconductor CY8CKIT-015 Manual Download Page 21](http://html1.mh-extra.com/html/cypress-semiconductor/cy8ckit-015/cy8ckit-015_manual_2706708021.webp)
CY8CKIT-015 PSoC 1 Power Supervision Kit Guide, Doc. # 001-81218 Rev. **
21
Example Project
When the initialization is complete, all the rails will be sequenced according to the specified order.
The main loop runs the following functions:
1. Measure supply voltage
2. Measure supply current
3. Measure all other secondary rail voltages
4. Trim each regulator
5. Measure all secondary rail currents
6. Display the voltages/currents on LCD
7. Handle user interface
In addition to the main loop flow, there is an additional thread that runs autonomously and asynchro-
nously from the main loop. This is the fault interrupt service routine (ISR) thread (see
).
After the sequencing is complete, the fault detection ISR will be enabled; it generates an interrupt if
any fault occurs on any rail. That interrupt routine will find out the rails that have faults and shuts
down all the rails.
Summary of Contents for CY8CKIT-015
Page 10: ...10 CY8CKIT 015 PSoC 1 Power Supervision Kit Guide Doc 001 81218 Rev Getting Started...
Page 24: ...24 CY8CKIT 015 PSoC 1 Power Supervision Kit Guide Doc 001 81218 Rev Example Project...
Page 33: ...CY8CKIT 015 PSoC 1 Power Supervision Kit Guide Doc 001 81218 Rev 33 A 3 5 Top Silkscreen...
Page 36: ...36 CY8CKIT 015 PSoC 1 Power Supervision Kit Guide Doc 001 81218 Rev...