Endoluminal devices are provided for the treatment of heart failure which include a central body adapted to permit the passage of interatrial blood, at least one anchor attached to the central body adapted to keep the endoluminal device in position within a defect present in the atrial septum of a patient's heart, and at least one control element engaged with the central body in a rotating manner. The rotation of the control element in relation to the central body creates a two-way flow of interatrial blood which allows the reduction of high pressure in the right side and in the left side of the heart.