Abstract:
An electronic device for determining a type of a memory includes a comparator and a reset controller. The comparator for generating a discrimination signal according to a reference voltage and a first voltage of the memory, includes a first input end for receiving the first voltage, a second input end for receiving the reference voltage, a logic circuit coupled to the first input end and the second input end, for comparing the first voltage and the reference voltage so as to generate the discrimination signal, and an output end coupled to the logic circuit, for outputting the discrimination signal. The reset controller is used for determining the type of the memory according to the discrimination signal.