beautypg.com

Rainbow Electronics DS1616 User Manual

Page 24

background image

DS1616

24 of 28

After this command has been executed, the user must read the Data Ready (DR) bit in the Status 1
register to determine if the measurements have been completed. If the DR bit is a logic 1, the
measurement has been completed and the value(s) in the Current Temperature and/or Current ADC
Channel [1-3] registers is/are valid. If the DR bit is a logic 0, the measurements have not been completed.
This command functions only when MIP = 0 (i.e., the device is not currently datalogging). If MIP =1, the
DS1616 takes no action in response to the command.

5. Clear Memory (A5h)
Host Transmit:

D7

D6

D5

D4

D3

D2

D1

D0

1

0

1

0

0

1

0

1

DS1616 Response: The contents of the datalog, histogram, Temperature Alarm, ADC Channel 1 Alarm,
Current Samples, Start Time Stamp, Start Delay, Sample Rate, and ADC Data Alarm registers are cleared
if the Clear Memory command has been enabled by setting the CLR bit in the Control 1 register to a one.
After clearing the memory, the MEM CLR bit in the Status 1 register is set. The Clear Memory
command functions only if the oscillator is active. The DS1616 is inaccessible for 500

ms after the Clear

Memory command has been issued.