An implantable stimulator device provides automatic electrode polarity
switching during an atrial capture verification mode. In systems using a
bipolar sensing configuration in the atrium, polarity switching will be
advantageous in detecting far-field R-waves for verification of capture.
This automatic polarity switching feature is programmable and enables or
disables automatic switching from bipolar to unipolar sensing at the onset
of a far-field interval window and switching again back to bipolar pacing
at the end of the far-field interval window.