Multifunctional Field-Effect Transistor for High-Density Integrated Circuits