Hydrogenated amorphous silicon technology for chemically sensitive thin-film transistors