beautypg.com

5 device id (addr: 000 010; 02h), 6 capabilities fixed (addr: 000 011; 03h), 7 device status (addr: 000 100; 04h) – Rainbow Electronics LM32 User Manual

Page 16: 0 register set

background image

2.0 Register Set

(Continued)

2.5 DEVICE ID (Addr: 000 010; 02h)

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

000 010 Device ID

R

23h

RevID

DeviceID

0

0

0

0

0

0

0

0

0

0

1

0

0

0

1

1

The device ID is defined by the manufacturer of the device and is unique for each device produced by a manufacturer. Bits 15-11
identify the revision number of the die and will be incremented upon revision of the device.

Bit

Type

Description

10-0

RO

DeviceID (Device ID Value) A fixed value that identifies the device.

15-11

RO

RevID (Revision ID Value) A fixed value that identifies the device revision.

2.6 CAPABILITIES FIXED (Addr: 000 011; 03h)

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

000 011

Capabilities

Fixed

R

1h

Reserved

FuncDescriptor1

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

1

The value of this register defines the capabilities of the LM32. The LM32 supports one function, that of Temperature Measurement
type. Please refer to the SensorPath specification for further details on other FuncDescriptor values.

2.7 DEVICE STATUS (Addr: 000 100; 04h)

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

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

000 100

Device Status

R

0h

BER

Res

ERF1

Res

SF1

0

0

0

0

0

Bit

Type

Description

0

RO

SF1 (Status Function 1) This bit is set by a Function Event within Function 1. Event details are function

dependent and are described within the function. SF1 is cleared by Device Reset or by handling the event

within the Temperature Measurement Function (see Section 2.9 for further details).

0: Status flag for Function 1 is inactive (no event).

1: Status flag for Function 1 is active indicating that a Function Event has occurred.

3-1

RO

Reserved. Will always read "0".

4

RO

ERF1 (Error Function 1) This bit is set in response to an error indication within Function 1. ERF1 is cleared

by Device Reset or by handling the error condition within the Temperature Measurement Function (see

Section 2.9 for further details).

0: No error occurred in Function 1.

1: Error occurred in Function 1.

6-5

RO

Reserved. Will always read "0".

7

RO

BER (Bus Error) This bit is set when the device either generates, or receives an error indication in the ACK

bit of the transaction (i.e., no-acknowledge). BER is cleared by Device Reset or by reading the Device Status

register.

0: No transaction error occurred.

1: An ACK bit error (no-acknowledge) occurred during the last transaction.

LM32

www.national.com

16