Definition of the adams stokes syndrome are recurrent sudden attacks of unconsciousness caused by impaired conduction of the impulse that regulates the heartbeat .