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

X  

UM1763 数据表(PDF) 7 Page - STMicroelectronics

部件名 UM1763
功能描述  Description of STLUX385A examples kit
PDF  16 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

UM1763 数据表(HTML) 7 Page - STMicroelectronics

Back Button UM1763 Datasheet HTML 3Page - STMicroelectronics UM1763 Datasheet HTML 4Page - STMicroelectronics UM1763 Datasheet HTML 5Page - STMicroelectronics UM1763 Datasheet HTML 6Page - STMicroelectronics UM1763 Datasheet HTML 7Page - STMicroelectronics UM1763 Datasheet HTML 8Page - STMicroelectronics UM1763 Datasheet HTML 9Page - STMicroelectronics UM1763 Datasheet HTML 10Page - STMicroelectronics UM1763 Datasheet HTML 11Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 7 / 16 page
background image
DocID026335 Rev 1
7/16
UM1763
Example I
16
3
Example I
This is the first and the simplest example. The aim of the code is to build an equivalent
“Hello World!” application for the STLUX but trying to use also its strength point, the SMEDs.
In a few words the goal of the application is to configure the SMED 0 in order to drive the
output pin toggling at a fixed frequency and fixed duty cycle. As a results on the pin 1, there
will be an output signal toggling with a 50% duty cycle at a 48 KHz frequency.
The aim of the example is also to try to get familiar with the firmware development for the
STLUX and STM8 and learning how to drive peripherals through the APIs included in the
STLUX libraries. For this example in particular, the stlux_clk library APIs are used to
properly configure the SMED clock to the maximum frequency of 96 MHz. The stlux_smed
library APIs are used to start the SMED 0.
Another key component of the STLUX toolset, the STLUX SMED configurator GUI is used
here to set the SMEDs configuration. The designed SMED configuration can also be saved
in a *.prj format file. In particular in this example only the SMED 0 is used and it is
configured according to the scheme in Figure 1 generated using the tool and saved in the
PWM_Smed0.prj file.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16


数据表 下载

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