4.2.4. Retrieving Local Temperature Sensor Reading
To retrieve the temperature readings, provide the location code and sensor masks to the Mailbox Client with Avalon® Streaming Interface Intel® FPGA IP. The Mailbox Client with Avalon® Streaming Interface IP accepts a 32-bit value in fixed length hexadecimal format.
Bits [27..16] carry the local TSD location code while bits [15..0] represent the temperature channels in the location. Bits [31..28] are reserved.
| Function | Sensor Location | Max TSD Count | Applicable Sensor Masks |
|---|---|---|---|
| Specify the local TSDs to read | 0 | 1 | [0] |
| 1 | 4 |
[4..2] |
|
| 3 | 3 |
[3..1] |
|
| 4 | 4 |
[5..1] |
|
| Read the TSD with the highest temperature in the location | All locations except location 0 | Varies | [0] |
| Location | Channels to Read in the Location | Hexadecimal Code to Send | Values Returned |
|---|---|---|---|
| 1 | Temperature from all local TSDs in location 1 and the highest temperature in the location. | 0x0001001D | Returns five values—temperature for local TSDs 2, 3, and 4 in the location, and the highest temperature among them. |
| Temperature from TSD with the highest temperature in location 1. | 0x00010001 | Returns one value—the value of the TSD with the highest temperature in the location. |