GO:0004016:   adenylate cyclase activity
Catalysis of the reaction: ATP = 3",5"-cyclic AMP + diphosphate.