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

X  

UM0290 bảng dữ liệu(PDF) 25 Page - STMicroelectronics

tên linh kiện UM0290
Giải thích chi tiết về linh kiện  This document presents a description
PDF  76 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0290 bảng dữ liệu(HTML) 25 Page - STMicroelectronics

Back Button UM0290 Datasheet HTML 21Page - STMicroelectronics UM0290 Datasheet HTML 22Page - STMicroelectronics UM0290 Datasheet HTML 23Page - STMicroelectronics UM0290 Datasheet HTML 24Page - STMicroelectronics UM0290 Datasheet HTML 25Page - STMicroelectronics UM0290 Datasheet HTML 26Page - STMicroelectronics UM0290 Datasheet HTML 27Page - STMicroelectronics UM0290 Datasheet HTML 28Page - STMicroelectronics UM0290 Datasheet HTML 29Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 25 / 76 page
background image
UM0290
Custom HID
25/76
Each Report descriptor is related to a specific component in the evaluation board (LEDs,
push button or ADC). The following section described the functionality of these reports.
3.3
Custom HID implementation
3.3.1
LEDs control
The STR7xx/91x evaluation boards have four LEDs. In the Custom HID demo each LED
correspond to a specific report (report 1 to 4) and the LEDs states (ON/OFF) are set by the
PC applet.
When the device receive data on the endpoint 1 OUT the function “EP1_OUT_Callback()” is
called to dispatch the received state to the correspondent LED according to the report
number. The received data has the following format:
Figure 4.
Data OUT format
Report Num: report number from 1 to 4.
LED State: 0 -> LED OFF
1 -> LED ON
3.3.2
Push button states report
The state of the Key push button is reported to the PC host using the endpoint 1 IN.
The Key button corresponds to the report 5. When this button is pressed the device sends to
the host the related report number and the button state using the following format:
Figure 5.
Data IN Format
Report Num: report number (5).
Button State: 1 -> button pressed.
3.3.3
ADC converted data transfer
This part of the demo consists of the transfer to the PC host the result of the converted
voltage connected to the potentiometer of the evaluation board. The ADC is configured in
continuous mode to a RAM variable (ADC_ConvertedValueX). After each conversion we
test the converted value with an old one (ADC_ConvertedValueX_1) and if we find a
difference between the two values (potentiometer value changed by a user) the new value is
sent to the PC using the endpoint 1 IN.
Note:
The data format is the same as the push buttons, but the report number (7) is followed by
the MSB of the ADC conversion result.
Report Num
LED state
Report Num
Button state



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


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