A method and apparatus for detecting atrial arrhythmias include acquiring
a cardiac signal comprising R-waves. Differences between pairs of
consecutive R-R intervals occurring during a first time interval are
computed from the cardiac signal. An atrial arrhythmia is detected
subsequent to the first time interval in response to the computed
differences. Storage of the cardiac signal is triggered in response to
the atrial arrhythmia detection.