An equation of the circle with center (h, k) and radius r is (x-h)2 + (y-k)2 = r2.
If you know the endpoints of a diameter, then (h, k) is the midpoint of the diameter and r is the distance from (h, k) to either of the diameter's endpoints.