The embodiments of the present application relate to the field of memory, and provide a
data input-output circuit and a memory, including: a parallel-to-serial circuit, configured to receive N data and output the N data serially within a first time period; a read enable
signal generating circuit, configured to generate a read enable
signal, and the read enable
signal is at a valid level within the first time period; a resistance
control circuit, electrically connected to the read enable signal generating circuit, configured to receive a termination resistance control code, an output drive resistance control code, and a read enable signal, and based on the read enable signal, select to output a termination resistance control code or output an output drive resistance control code; an output drive circuit, electrically connected to the parallel-to-serial circuit and the resistance
control circuit, configured to receive N data and a signal output by the resistance
control circuit, and configure an output drive resistance value and output N data based on the signal output by the resistance control circuit, or configure a termination resistance value; wherein N is a positive integer greater than 1.