clean up in `analogReference(uint16_t mode)`