except for the comparator , read the data sheet porta section