Electrical Characterization of GaN Metal Oxide Semiconductor Diodes Using MgO as the Gate Oxide