Directed Electronics 3200HS Informacje Techniczne Strona 34

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 99
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 33
CSI to SPI Peripheral Communication in V850ES Microcontrollers
the rxbuf[0] location. The first received data will not have been driven by the DS1722, so this first
receive byte does not contain temperature data.
While the dummy data in txbuf[1] is transmitted, the DS1722 will drive the Temperature low byte
out on its SDO pin, and this data will be clocked in on SI00.
After the second byte has been sent, INTCSI00 will occur, and MD_INTCSI00() will transmit
txbuf[2] and read the received temperature low byte into rxbuf[1]. While the dummy data in
txbuf[2] is transmitted, the DS1722 will have advanced its address to 02H, and will drive the
Temperature high byte data out on SDO.
After the third and final byte has been sent, INTCSI00 will occur again, and MD_INTCSI00() will
set the CSI00_SendDone flag, store the last received byte of data (temperature high byte) into
rxbuf[2].
At this point, Temp_Read_2() will see the flag as true, and set the temperature sensor chip select
off, to have the sensor resume temperature readings. It then combines the bytes in rxbuf[1] (first
eight bits from DS1722 = Temperature low byte), and rxbuf[2] (second eight bits from DS1722 =
Temperature high byte) into a signed 16-bit value. In the 10-bit data resolution selected for the
DS1722, this will be (temperature in ºC) × 256, to the nearest 1/4
th
degree.
To return a temperature value in the same scale as Temp_Read_1(), Temp_Read_2() divides the
signed 16-bit data by two, resulting in (temperature in ºC) × 128, and returns this value.
2.6.12 Temp_Display(temp): Show Temperature in LED
The Temp_Display() routine displays the temperature data in the two-digit LED, by scrolling the
data through the LED digits. The temp parameter is a signed 16-bit value, of temperature × 128.
The routine will display digits in the format of (sign)XXX.YY.
Since the details of this routine have nothing to do with the CSI/SPI interface, the flowchart for this
routine is not shown. A description of the display format follows. For those interested in the
mechanics of the routine, please see the listing in Section 4.
If the temperature is negative, a dash will precede the number for a minus sign, otherwise no sign
will be shown.
28
Przeglądanie stron 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 ... 98 99

Komentarze do niniejszej Instrukcji

Brak uwag

Panasonic KXTG6671 podręczniki

Instrukcje obsługi i podręczniki użytkownika dla Telefony Panasonic KXTG6671.
Dostarczamy 1 pdf podręczników Panasonic KXTG6671 do pobrania za darmo według typów dokumentów: Instrukcje Operacyjne






Więcej produktów i instrukcji dla Telefony Panasonic

Modele Rodzaj dokumentu
KXTGK320E Instrukcje Operacyjne   Panasonic KXTGK320E Operating Instructions, 52 strony
KXTGC410E Instrukcje Operacyjne   Panasonic KXTGC410E Operating Instructions, 48 strony
KXTS4200 Instrukcje Operacyjne   Panasonic KXTS4200 Operating Instructions [et] [sv] , 68 strony
KXTG6813BL Instrukcje Operacyjne   Panasonic KXTG6811BL Handleiding, 56 strony
KXTGMA45 Instrukcje Operacyjne    Panasonic KXTGMA44 Operating Instructions, 48 strony
KXTGJ322E Instrukcje Operacyjne   Panasonic KXTGJ320E Operating Instructions, 56 strony
KXTG6803E Instrukcje Operacyjne   Panasonic KXTG6802E Operating Instructions, 44 strony
KXTG7512FX Instrukcje Operacyjne   Panasonic KXTG7511FX Operating Instructions, 60 strony
KXTG1613FX Instrukcje Operacyjne   Panasonic KXTG1611FX Operating Instructions, 36 strony
KXTG2521FR Instrukcje Operacyjne   Panasonic KXTG2511FR Operating Instructions, 48 strony
KXTG432SK Instrukcje Operacyjne   Panasonic KXTG432SK Operating Instructions, 52 strony
KXTGC210BL Instrukcje Operacyjne   Panasonic KXTGC210BL Handleiding [et] [sv] , 44 strony
KXPRW120FR Instrukcje Operacyjne   Panasonic KXPRW110FR Operating Instructions, 68 strony
KXTG785SK Instrukcje Operacyjne   Panasonic KXTG785SK Operating Instructions, 104 strony
KXTGE210SL Instrukcje Operacyjne   Panasonic KXTGE210SL Operating Instructions [en] , 44 strony
KXFL401SP Instrukcje Operacyjne   Panasonic KXFL401SP Instrucciones de operación, 74 strony
KXTG6481E Instrukcje Operacyjne   Panasonic KXTG6481E Operating Instructions, 48 strony
KXTGB112E Instrukcje Operacyjne   Panasonic KXTGB110E Operating Instructions, 36 strony
KXPRW120NL Instrukcje Operacyjne   Panasonic KXPRW110NL Handleiding, 64 strony
KXTS620FXW Instrukcje Operacyjne   Panasonic KXTS620FXW Operating Instructions [it] , 60 strony