In some sense silver halide technology is "digital", in that it is Boolean. That is, the entire crystal of silver halide develops fully to a dark, opaque oxidized crystal, if it has been sensitized from having opportunistic electrons dislodged within the crystal lattice by photons. It takes as little as two photons with Kodak's newest film technology, yet the whole crystal develops out. What gives a continuous tone image in the emulsion is that there is a statistically significant distribution of crystal sizes within the emulsion; the small ones, with little surface area, only easily sensitized by the bright light of many photons, while the large crystal, with more surface area, can be sensitized by the weak light of few photons. The distribution of crystal sizes between these two extremes determine the response curve of the continuous tone image. Thus in such an emulsion there are only two types of crystals: those that have been sensitized and fully develop into an opaque crystal, and those that don't. These latter crystals are removed during the fixing process. Thus, film emulsion crystals display a binary, boolean logic.
Conversely, at the heart of a digital imaging chip is an analog device, called a photo-transistor. Such a device has within its gate structure an electric charge built up that is analagous to the amount of photons received. Only the post-readout circuitry is digital; the heart of digital chips are analog transistors.
~Joe