An electronic device includes a processor, a touch sensor, and a touch controller including a register. The processor writes, into the register, data associated with a partial area of the touch sensor specified to sense an effective touch. When the effective touch is sensed in the partial area of the touch sensor, the touch controller writes data associated with the effective touch into the register, and the processor reads the data associated with the effective touch from the register when the data associated with the effective touch is written in the register.