beautypg.com

Rf22 – Rainbow Electronics RF22 User Manual

Page 63

background image

RF22

Version: 0.1 Date: 12/23/2008

Tel: +86-755-82973805 Fax: +86-755-82973550 E-mail: [email protected] http://www.hoperf.com

63

Reset value = xxxxxxxx

Bit

Name

Function

7:0

adc[7:0]

Internal 8 bit ADC Output Value.

Register 12h. Temperature Sensor Calibration

Bit

D7

D6

D5

D4

D3

D2

D1

D0

Name

tsrange[1:0]

entsoffs

entstrim

tstrim[3:0]

Type

R/W

R/W

R/W

R/W

Reset value = 00100000

Bit

Name

Function

7:6

tsrange[1:0]

Temperature Sensor Range Selection.
(FS range is 0..1024 mV)
00: -40

o

C~64

o

C (full operating range), with 0.5

o

C resolution (1 LSB in the 8 bit ADC)

01: -40

o

C~85

o

C, with 1

o

C resolution (1 LSB in the 8 bit ADC)

11: 0

o

C ~85

o

C, with 0.5

o

C resolution (1 LSB in the 8 bit ADC)

10: -40

o

F ~216

o

F, with 1

o

F resolution (1 LSB in the 8 bit ADC)

5

entsoffs

Temperature Sensor Offset to Convert from K to ºC.

4

entstrim

Temperature Sensor Trim Enable.

3:0

tstrim[3:0]

Temperature Sensor Trim Value.

Register 13h. Temperature Value Offset

Bit

D7

D6

D5

D4

D3

D2

D1

D0

Name

tvoffs[7:0]

Type R/W

Reset value = 00000000

Bit

Name

Function

7:0

tvoffs[7:0]

Temperature Value Offset.
This value is added to the measured temperature value. (MSB, tvoffs[8]: sign bit)

Register 14h. Wake-Up Timer Period 1

Bit

D7

D6

D5

D4

D3

D2

D1

D0

Name Reserved

wtr[3:0]

wtd[1:0]

Type

R/W

R/W

R/W

Reset value = xx000000

Bit

Name

Function

7:6

Reserved

Reserved.

5:2

wtr[3:0]

Wake Up Timer Exponent (R) Value*.

1:0

wtd[3:0]

Wake Up Timer Exponent (D) Value*.

*Note: The period of the wake-up timer can be calculated as T

WUT

= (32 x M x2

R-D

) / 32.768 ms.

Register 15h. Wake-Up Timer Period 2

Bit

D7

D6

D5

D4

D3

D2

D1

D0

Name

wtm[15:8]

Type R/W

Reset value = 00000000

Bit

Name

Function

7:0

wtm[15:8]

Wake Up Timer Mantissa (M) Value*.

*Note: The period of the wake-up timer can be calculated as T

WUT

= (32 x M x2

R-D

) / 32.768 ms.