Take a look at the timing diagram on page 9 of the datasheet (Figure 6a). The clk line needs to be connected to a port pin and it makes a transition signaling that a 'new bit' is ready to be latched into the DS1802. You can use the shiftin command to communicate with this device.
Bookmarks