What are the common protective functions for a solar controller?