An integrated SiC CMOS gate driver