Datasheet
MCP1631HV MULTI-CHEMISTRY
BATTERY CHARGER
REFERENCE DESIGN
© 2009 Microchip Technology Inc. DS51791A-page 23
Appendix C. Software
C.1 DEVICE SOFTWARE FLOWCHART
For the latest copy of the MCP1631HV Multi-Chemistry Battery Charger Reference
Design firmware, visit our web site at www.microchip.com.
C.1.1 Software Functions
C.1.1.1 INTERRUPT()
Timer 1?
+
Reload PWM Timer
High/Low Count
Clear Timer 1 Interrupt
Flag
Y
Timer 0?
Update LED's
Update One Second flag
Clear Timer 0 Interrupt Flag
Y
Interrupt
()
Ret