CCD's are analog, but the data gathered from them are often immediately converted to digital information for storage, just like in digicams. I'm sure that's what the Hubble does.