Common CMOS analog switch functions and principles