主权项 |
1. A semiconductor device, comprising:
a setting circuit including
a latch circuit having first and second inverters driven by a first power voltage outputted from a first power source, a level of the first power voltage being fixed, the first and second inverters being configured to store data, anda first transistor configured
to be switched between an ON state and an OFF state on the basis of a level of a second power voltage, a level of the second power voltage varying depending on an environment surrounding thereof, andto set data corresponding to a reference voltage to the latch circuit in response to the first transistor being switched to the ON state; and a reset circuit including an N-type second transistor that is connected to an output of the first inverter and an input of the second inverter, the second transistor being configured to set data corresponding to the reference voltage to the latch circuit in response to the second voltage being equal to or lower than a predetermined voltage value. |