Patent attributes
When a voltage applied to an output terminal exceeds a power source voltage to be supplied during an ordinary operation state, a reset signal turns into L level and the operation mode of a sensor goes into a trimming operation mode. The voltage entered into the output terminal is changed in a voltage range higher that the power source voltage to input trimming data with a data signal having L or H level. The entered trimming data is temporarily held by a latch and then written into a memory in response to a write voltage applied to a power source terminal in a write mode. Then, the trimming data held by the latch or the trimming data stored in the memory can be read out as a change in the sink current of the output terminal when a read mode is set.