数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

ST9 数据表(PDF) 3 Page - STMicroelectronics

部件名 ST9
功能描述  USER GUIDE
PDF  146 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

ST9 数据表(HTML) 3 Page - STMicroelectronics

  ST9 Datasheet HTML 1Page - STMicroelectronics ST9 Datasheet HTML 2Page - STMicroelectronics ST9 Datasheet HTML 3Page - STMicroelectronics ST9 Datasheet HTML 4Page - STMicroelectronics ST9 Datasheet HTML 5Page - STMicroelectronics ST9 Datasheet HTML 6Page - STMicroelectronics ST9 Datasheet HTML 7Page - STMicroelectronics ST9 Datasheet HTML 8Page - STMicroelectronics ST9 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 3 / 146 page
background image
3/146
Table of Contents
1
4.3
STANDARD AND WATCHDOG TIMERS . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
4.3.1
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
4.3.2
Timer Application for Periodic Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . 72
4.3.3
Watchdog Application 1: Generating a PWM . . . . . . . . . . . . . . . . . . . . . 73
4.3.4
Watchdog Application 2: Using the Watchdog . . . . . . . . . . . . . . . . . . . . 74
4.4
MULTIFUNCTION TIMER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
4.4.1
Generating Two Pulse Width Modulated Waves with One MFT . . . . . . . 79
4.4.2
Generating a Pulse Width Modulated Wave with a Cleaner Spectrum . . 82
4.4.3
Incremental Encoder Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
4.4.4
MFT Application 1: Generating 2 PWMs using Interrupts . . . . . . . . . . . . 86
4.4.5
MFT Application 2: Generating a PWM using DMA . . . . . . . . . . . . . . . . 86
4.4.6
MFT Application 3: Generating a PWM using the DMA Swap Mode . . . 87
4.5
SERIAL PERIPHERAL INTERFACE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
4.5.1
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
4.5.2
Static Liquid-Crystal Display Interface Example . . . . . . . . . . . . . . . . . . . 88
4.5.3
EEPROM Serial Interface Example using I²C . . . . . . . . . . . . . . . . . . . . . 91
4.6
SERIAL COMMUNICATIONS INTERFACE . . . . . . . . . . . . . . . . . . . . . . . . . . 92
4.6.1
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
4.6.2
SCI Application 1: Sending Bytes using Interrupts . . . . . . . . . . . . . . . . . 97
4.6.3
SCI Application 2: Sending Bytes using DMA . . . . . . . . . . . . . . . . . . . . . 97
4.6.4
SCI Application 3: Sending and Receiving Bytes using DMA . . . . . . . . . 97
4.6.5
SCI Application 4: Matching Input Bytes . . . . . . . . . . . . . . . . . . . . . . . . . 97
4.7
ANALOG TO DIGITAL CONVERTER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
4.7.1
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
4.7.2
Analog Watchdog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
4.7.3
Interrupt Vectoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
4.7.4
ADC Application: A/D Conversions and Analog Watchdog using Interrupts
101
4.8
PERIPHERAL INITIALIZATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
4.8.1
initialization Header File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
4.8.2
Peripheral Function File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
5 USING THE DEVELOPMENT TOOLS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
5.1
DEVELOPING IN C LANGUAGE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
5.2
AVAILABLE TOOLS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
5.3
INTRODUCING THE DEVELOPMENT TOOLS . . . . . . . . . . . . . . . . . . . . . . 113
5.4
PROGRAM CONFIGURATION AND INITIALISATION . . . . . . . . . . . . . . . . . 113
5.4.1
Writing the Makefile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
5.4.2
Writing the Linker Command File using a Script File . . . . . . . . . . . . . . . 119
5.4.3
Writing the Start-Up File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
5.5
GLOBAL INITIALISATION: CORE AND PERIPHERALS . . . . . . . . . . . . . . . 129
5.5.1
Core Initialisation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
5.5.2
Peripheral Initialisation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129



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 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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