công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

AN2658 bảng dữ liệu(PDF) 21 Page - STMicroelectronics

tên linh kiện AN2658
Giải thích chi tiết về linh kiện  Using the analog to digital converter of the STM8S microcontroller
PDF  23 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2658 bảng dữ liệu(HTML) 21 Page - STMicroelectronics

Back Button AN2658 Datasheet HTML 15Page - STMicroelectronics AN2658 Datasheet HTML 16Page - STMicroelectronics AN2658 Datasheet HTML 17Page - STMicroelectronics AN2658 Datasheet HTML 18Page - STMicroelectronics AN2658 Datasheet HTML 19Page - STMicroelectronics AN2658 Datasheet HTML 20Page - STMicroelectronics AN2658 Datasheet HTML 21Page - STMicroelectronics AN2658 Datasheet HTML 22Page - STMicroelectronics AN2658 Datasheet HTML 23Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 21 / 23 page
background image
AN2658
ADC conversion triggered by TIM1 timer
Doc ID 14152 Rev 2
21/23
7
ADC conversion triggered by TIM1 timer
7.1
Overview
This section describes how to start and ADC conversion triggered by the TIM1 trigger
output.
There are several ways of starting ADC conversions in the STM8 including any event that
can be generated by the multipurpose timer (TIM1). This gives the you a large choice when
implementing your application.
7.2
Hardware description
Figure 14 shows a typical connection between the STM8 AIN9 pin and a potentiometer. This
allows you to test the ADC by changing the input voltage to be converted. The conversion
result is displayed on four LEDs. This example hardware is implemented in the STM8
evaluation board STM8/128-EVAL.
7.3
Firmware description
The STM8 firmware library includes the ADC driver that supports the ADC through a set of
functions.
ADC is configured in continuous conversion mode with interrupt enabled. The conversion is
triggered by the TIM1 TRGO event. In the interrupt routine, the range of the converted value
defines the number of LEDs to light up each time a conversion occurs.
This firmware is provided as ADC example 2 in the STM8 firmware library, available from the
STMicroelectronics microcontroller website.



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


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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