Abstract: An offset cancel circuit includes two terminals, an output terminal and two intermediate nodes. When the offset cancel circuit is in a first state, the offset cancel circuit supplies a potential difference responsive to a difference in potential between the two terminals between the two intermediate nodes and supplies a potential responsive to both the potential difference supplied between the two intermediate nodes and a first potential to the output terminal. On the other hand, when the offset cancel circuit is in a second state, the offset cancel circuit supplies a potential difference responsive to the difference in potential between the two terminals between the two intermediate nodes and supplies a potential responsive to both the potential difference supplied between the two intermediate nodes and a second potential to the output terminal.