Electronic Components Datasheet Search
  English  ▼

X  

AN3260 Datasheet(PDF) 12 Page - STMicroelectronics

Part # AN3260
Description  Building a thermometer using the STM8S-DISCOVERY
PDF  24 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3260 Datasheet(HTML) 12 Page - STMicroelectronics

Back Button AN3260 Datasheet HTML 8Page - STMicroelectronics AN3260 Datasheet HTML 9Page - STMicroelectronics AN3260 Datasheet HTML 10Page - STMicroelectronics AN3260 Datasheet HTML 11Page - STMicroelectronics AN3260 Datasheet HTML 12Page - STMicroelectronics AN3260 Datasheet HTML 13Page - STMicroelectronics AN3260 Datasheet HTML 14Page - STMicroelectronics AN3260 Datasheet HTML 15Page - STMicroelectronics AN3260 Datasheet HTML 16Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 12 / 24 page
background image
Software description
AN3260
12/24
Doc ID 17836 Rev 1
4.2
Exclusion of the Standard STM8S standard firmware library
As this application uses optimized code, the stm8s.h file must be modified not include the
STM8S standard firmware library. This is done by commenting the following define
statement:
#define USE_STDPERIPH_DRIVER
4.3
Application software flowcharts
4.3.1
Main loop flowchart
The main loop code initializes the required features, unlocks data EEPROM programming
and calls the functions required to implement the general application algorithm.
To minimize the time drift of the software real time clock (see Section : Timer-triggered
acquisition), the HSE clock is used as the master clock source.
After the initialization phase is complete and informative messages are displayed on the
terminal window, the user is prompted to enter the minimum and maximum temperature
thresholds. As a consequence, the first time the State_Machine() function is called, it
directly enters the configuration mode (state = 1, see Section 4.3.3: State machine
flowchart).
Figure 4 shows the flowchart of the application software main loop.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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