Miniaturized FDDA and CMOS based potentiostat for bio-applications