beautypg.com

4 temperature control (addr: 001 010; 0ah), 10 conversion rate (addr: 100 000; 20h), Conversion rate control – Rainbow Electronics LM32 User Manual

Page 20: 0 register set

background image

2.0 Register Set

(Continued)

Temperature Data Format (Continued)

Temperature

Binary

Hex

- 40 ˚C

11 1011 0000

3B0h

-255.5 ˚C

10 0000 0001

201h

-256 ˚C

10 0000 0000

200h

2.9.4 Temperature Control (Addr: 001 010; 0Ah)

This register is set to the reset value by a Device Reset.

Reg

Add

Register

Name

R/

W

P

O

R

Val

Bit

15

MSb

Bit

14

Bit

13

Bit

12

Bit

11

Bit

10

Bit

9

Bit

8

Bit

7

Bit

6

Bit

5

Bit

4

Bit

3

Bit

2

Bit

1

Bit

0

LSb

001 010

Temperature

Control

R/

W

0h

Reserved

EN2 EN1 EN0 ATE

0

0

0

0

0

0

0

0

0

0

0

0

Bit

Type

Description

0

R/W

ATE (Attention Enable). When set, this bit enables an Attention Request signal to be generated by the

LM32, if the EN0, EN1 or EN2 bits of this register are set.

0: Attention Request disabled (from enabled Temperature Sensor- default)

1: Attention Request enabled (from enabled Temperature Sensor)

1

R/W

EN0 (Enable Sensor 0). When this bit is set, the Local Temperature Sensor is enabled for temperature

measurements.

0: Temperature Sensor disabled (default)

1: Temperature Sensor enabled

2

R/W

EN1 (Enable Sensor 1). When this bit is set, the Remote Thermal Diode 1 Temperature Sensor is enabled

for temperature measurements.

0: Temperature Sensor disabled (default)

1: Temperature Sensor enabled

3

R/W

EN2 (Enable Sensor 2). When this bit is set, the Remote Thermal Diode 2 Temperature Sensor is enabled

for temperature measurements.

0: Temperature Sensor disabled (default)

1: Temperature Sensor enabled

15-4

RO

Reserved. Will always read "0".

2.10 CONVERSION RATE (Addr: 100 000; 20h)

Reg Add

Register Name

R/

W

P

O

R

Val

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

LSb

100 000

Conversion Rate

R/

W

2h

Reserved

CR1

CR0

0

0

0

0

0

0

Bit

Type

Description

1-0

RO

CR0 and CR1 (Conversion Rate bits 0 and 1)

These bits control the conversion rate of the LM32 for

more details see Table Conversion Rate Control and desciption below.

7-2

RO

Reserved. Will always read "0".

Conversion Rate Control

LowPwr

[CR1:CR0]

Typical Conversion Rate (ms)

0

00

Fastest*: continuous

1

00

91

LM32

www.national.com

20