also, don't forget to disable the analog comparator...
section 8 of the datasheet...