Catalysis of the transfer of a solute or solutes from one side of a membrane to the other according to the reaction: ATP + H2O = ADP + phosphate. An animal enzyme that is active in forming a chloride channel, the absence of which brings about cystic fibrosis. It is also involved in the functioning of other transmembrane channels.