beautypg.com

Rainbow Electronics DS1615 User Manual

Page 14

background image

DS1615

14 of 24

TLF - Temperature Low Flag - A logic 1 in the Temperature Low Flag bit indicates that the temperature
is/has been less than or equal to the value in the Temperature Low Threshold register. If TLIE is also a
logic 1, the

INT

pin will go low. TLF is cleared by writing this bit to a logic 0.

THF - Temperature High Flag - A logic 1 in the Temperature High Flag bit indicates that the temperature
is/has been greater than or equal to the value in the Temperature High Threshold register. If THIE is also
a logic 1, the

INT

pin will go low. THF is cleared by writing this bit to a logic 0.

ALMF - Alarm Flag - A logic 1 in the Alarm Flag bit indicates that the current time has matched the time
of day Alarm registers. If the AIE bit is also a logic 1, the

INT

pin will go low. ALMF is cleared by

writing this bit to a logic 0.

SAMPLE RATE REGISTER

MSb

LSb

SR7

SR6

SR5

SR4

SR3

SR2

SR1

SR0

The data sample rate for the DS1615 can range from once per minute to once per 255 minutes. The rate
is equal to the value written to the Sample Rate register multiplied by one minute.

This register can only be written to a new value when the MEM CLR bit in the Status register is set to 1.
In other words, once a datalog mission has started, it cannot be changed without first issuing the Clear
Memory command.

The Sample Rate register is cleared by issuing the Clear Memory command.

START DELAY RESISTER

MSb

LSb

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

The Start Delay register determines the amount of delay before the DS1615 begins to take temperature
measurements. The amount of the delay is roughly equal to the value in the register multiplied by one
minute. If the register contains 00h, the first sample will begin when the seconds register rolls over from
59 to 00.

The value in this register decrements each time the seconds register rolls over from 59 to 00 until the Start
Delay register reaches a value of 00h.

TEMPERATURE HIGH THRESHOLD REGISTER

MSb

LSb

TH7

TH6

TH5

TH4

TH3

TH2

TH1

TH0

This register determines the high threshold for interrupt generation from the thermal sensor. If the
temperature is greater than or equal to the value in this register, an interrupt will be activated if the
Temperature High Interrupt Enable (THIE) bit is set to a logic 1.

TEMPERATURE LOW THRESHOLD REGISTER

MSb

LSb

TL7

TL6

TL5

TL4

TL3

TL2

TL1

TL0