Dynamic driving enables independent control of material bits for targeted memory