Over current protection, short circuit protection and over temperature protection