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

X  

AN4157 数据表(PDF) 7 Page - STMicroelectronics

部件名 AN4157
功能描述  STM32F3DISCOVERY peripheral firmware examples
PDF  24 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN4157 数据表(HTML) 7 Page - STMicroelectronics

Back Button AN4157 Datasheet HTML 3Page - STMicroelectronics AN4157 Datasheet HTML 4Page - STMicroelectronics AN4157 Datasheet HTML 5Page - STMicroelectronics AN4157 Datasheet HTML 6Page - STMicroelectronics AN4157 Datasheet HTML 7Page - STMicroelectronics AN4157 Datasheet HTML 8Page - STMicroelectronics AN4157 Datasheet HTML 9Page - STMicroelectronics AN4157 Datasheet HTML 10Page - STMicroelectronics AN4157 Datasheet HTML 11Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 7 / 24 page
background image
AN4157
Peripheral firmware examples description
Doc ID 023629 Rev 1
7/24
3
Peripheral firmware examples description
3.1
ADC example
3.1.1
Purpose
This example describes how to use the ADC1 to convert continuously the voltage applied to
a given analog input channel.
3.1.2
Description
In this example, detailed steps of ADC configuration are provided starting from GPIO
configuration to the analog channel configuration without forgetting the ADC calibration
procedure. The ADC1 Channel7(PC1) is used as directly connected to the external power
supply (ranges between 0 and 3.3V).
The converted voltage is stored in the ADC1ConvertedVoltage variable.
3.2
CRC 8-bit message example
3.2.1
Purpose
This example describes how to use the CRC peripheral in order to compute 8-bit CRC
checksum of a message.
3.2.2
Description
In this example:
●
The CRC peripheral is configured to use the 8-bit CRC polynomial x8 + x7 + x6 + x4 +
x2 + 1 with the initialization value set to 0.
●
The message is declared as an array and labeled "CRCBuffer". The expected CRC
value is already computed using an on line CRC tool. Once the CRC value is
computed, the computed CRC value is compared to the expected one.
●
In case of match the Blue led LD4 is turned on.
●
Otherwise the led LD3 is turned on.
3.3
DAC signal generation example
3.3.1
Purpose
This example describes how to use the DAC peripheral to generate several signals using
DMA controller.
3.3.2
Description
In this example, when the user presses the push-button, DMA transfers two selected
waveforms to the DAC.



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


数据表 下载

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