поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

AN2278 датащи(PDF) 4 Page - STMicroelectronics

номер детали AN2278
подробное описание детали  Temperature sensor application using ST LM135
PDF  9 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2278 датащи(HTML) 4 Page - STMicroelectronics

  AN2278 Datasheet HTML 1Page - STMicroelectronics AN2278 Datasheet HTML 2Page - STMicroelectronics AN2278 Datasheet HTML 3Page - STMicroelectronics AN2278 Datasheet HTML 4Page - STMicroelectronics AN2278 Datasheet HTML 5Page - STMicroelectronics AN2278 Datasheet HTML 6Page - STMicroelectronics AN2278 Datasheet HTML 7Page - STMicroelectronics AN2278 Datasheet HTML 8Page - STMicroelectronics AN2278 Datasheet HTML 9Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 4 / 9 page
background image
Software configuration
AN2278
4/9
3
Software configuration
All the source files are in ‘C’ language and the application uses ST7 software library
functions.
The application works in two modes:
1.
Configuration mode (refer to the flowchart in Figure 1)
2.
Normal mode (refer to the flowcharts in Figure 2 and Figure 3)
Since Button5 and Button6 are not connected to the microcontroller interrupt I/Os, polling
mode is used to read the request status resulting from pressing these buttons.
The main function is organized as follows:
while(1)
{
------------------------------
------------------------------
code=1;
switch (code)
{
case 1:
//Configuration Mode
break;
case 2:
//Read temperature log from EEPROM and display on hyperterminal
break;
case 3:
// Sense temperature in 16 samples (refer to the flowchart in Figure
3.)
// Display average temperature every 1 sec on hyperterminal
// if temperature is out of bounds(set in configuration mode)
// then toggle LED
// else continue
// Record max and min temperature over 1 hr
// Write max and min temperature to EEPROM
break;
}
-----------------------------
-----------------------------
if(!(IO_Read(IO_PORT_C) & 0x20)) //Poll for Button 5
code=1;
else if(!(IO_Read(IO_PORT_C) & 0x80)) //Poll for Button 6
code=2;
------------------------------
------------------------------
}



Html Pages

1 2 3 4 5 6 7 8 9


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com