ToggleLED1and-LED2
所属分类:单片机开发
开发工具:C++ Builder
文件大小:6551KB
下载次数:116
上传日期:2014-01-07 21:04:27
上 传 者:
panns
说明: STM8L051F3 LED闪烁程序---将文件复盖ST8L的project template,编译即可, 在STM8L051F3上测试过。
(将文件复盖ST8L的project template,编译即可, 在STM8L051F3上测试过。)
文件列表:
ToggleLED1and LED2 (0, 2013-12-18)
ToggleLED1and LED2\EWSTM8 (0, 2014-01-03)
ToggleLED1and LED2\EWSTM8\STM8L15X_MD(STM8L15xx4_6) (0, 2013-12-18)
ToggleLED1and LED2\EWSTM8\STM8L15X_MD(STM8L15xx4_6)\Exe (0, 2014-01-03)
ToggleLED1and LED2\EWSTM8\STM8L15X_MD(STM8L15xx4_6)\Exe\project.out (96672, 2014-01-03)
ToggleLED1and LED2\EWSTM8\STM8L15X_MD(STM8L15xx4_6)\List (0, 2014-01-07)
ToggleLED1and LED2\EWSTM8\STM8L15X_MD(STM8L15xx4_6)\Obj (0, 2014-01-03)
ToggleLED1and LED2\EWSTM8\STM8L15X_MD(STM8L15xx4_6)\Obj\main.o (7043, 2013-12-18)
ToggleLED1and LED2\EWSTM8\STM8L15X_MD(STM8L15xx4_6)\Obj\main.pbi (578262, 2014-01-03)
ToggleLED1and LED2\EWSTM8\STM8L15X_MD(STM8L15xx4_6)\Obj\main.pbi.cout (11434, 2014-01-03)
ToggleLED1and LED2\EWSTM8\STM8L15X_MD(STM8L15xx4_6)\Obj\project.pbd (1156606, 2014-01-03)
ToggleLED1and LED2\EWSTM8\STM8L15X_MD(STM8L15xx4_6)\Obj\project.pbd.browse (1156606, 2014-01-03)
ToggleLED1and LED2\EWSTM8\STM8L15X_MD(STM8L15xx4_6)\Obj\stm8l15x_adc.o (48416, 2013-12-18)
ToggleLED1and LED2\EWSTM8\STM8L15X_MD(STM8L15xx4_6)\Obj\stm8l15x_adc.pbi (592037, 2013-12-18)
ToggleLED1and LED2\EWSTM8\STM8L15X_MD(STM8L15xx4_6)\Obj\stm8l15x_adc.pbi.cout (11455, 2013-12-18)
ToggleLED1and LED2\EWSTM8\STM8L15X_MD(STM8L15xx4_6)\Obj\stm8l15x_beep.o (12798, 2013-12-18)
ToggleLED1and LED2\EWSTM8\STM8L15X_MD(STM8L15xx4_6)\Obj\stm8l15x_beep.pbi (580509, 2013-12-18)
ToggleLED1and LED2\EWSTM8\STM8L15X_MD(STM8L15xx4_6)\Obj\stm8l15x_beep.pbi.cout (11456, 2013-12-18)
ToggleLED1and LED2\EWSTM8\STM8L15X_MD(STM8L15xx4_6)\Obj\stm8l15x_clk.o (52648, 2013-12-18)
ToggleLED1and LED2\EWSTM8\STM8L15X_MD(STM8L15xx4_6)\Obj\stm8l15x_clk.pbi (595995, 2013-12-18)
ToggleLED1and LED2\EWSTM8\STM8L15X_MD(STM8L15xx4_6)\Obj\stm8l15x_clk.pbi.cout (11455, 2013-12-18)
ToggleLED1and LED2\EWSTM8\STM8L15X_MD(STM8L15xx4_6)\Obj\stm8l15x_comp.o (30529, 2013-12-18)
ToggleLED1and LED2\EWSTM8\STM8L15X_MD(STM8L15xx4_6)\Obj\stm8l15x_comp.pbi (590155, 2013-12-18)
ToggleLED1and LED2\EWSTM8\STM8L15X_MD(STM8L15xx4_6)\Obj\stm8l15x_comp.pbi.cout (11456, 2013-12-18)
ToggleLED1and LED2\EWSTM8\STM8L15X_MD(STM8L15xx4_6)\Obj\stm8l15x_dac.o (50795, 2013-12-18)
ToggleLED1and LED2\EWSTM8\STM8L15X_MD(STM8L15xx4_6)\Obj\stm8l15x_dac.pbi (597586, 2013-12-18)
ToggleLED1and LED2\EWSTM8\STM8L15X_MD(STM8L15xx4_6)\Obj\stm8l15x_dac.pbi.cout (11455, 2013-12-18)
ToggleLED1and LED2\EWSTM8\STM8L15X_MD(STM8L15xx4_6)\Obj\stm8l15x_dma.o (32802, 2013-12-18)
ToggleLED1and LED2\EWSTM8\STM8L15X_MD(STM8L15xx4_6)\Obj\stm8l15x_dma.pbi (590283, 2013-12-18)
ToggleLED1and LED2\EWSTM8\STM8L15X_MD(STM8L15xx4_6)\Obj\stm8l15x_dma.pbi.cout (11455, 2013-12-18)
ToggleLED1and LED2\EWSTM8\STM8L15X_MD(STM8L15xx4_6)\Obj\stm8l15x_exti.o (26328, 2013-12-18)
ToggleLED1and LED2\EWSTM8\STM8L15X_MD(STM8L15xx4_6)\Obj\stm8l15x_exti.pbi (590049, 2014-01-03)
ToggleLED1and LED2\EWSTM8\STM8L15X_MD(STM8L15xx4_6)\Obj\stm8l15x_exti.pbi.cout (11456, 2014-01-03)
ToggleLED1and LED2\EWSTM8\STM8L15X_MD(STM8L15xx4_6)\Obj\stm8l15x_flash.o (46105, 2013-12-18)
ToggleLED1and LED2\EWSTM8\STM8L15X_MD(STM8L15xx4_6)\Obj\stm8l15x_flash.pbi (591158, 2014-01-03)
ToggleLED1and LED2\EWSTM8\STM8L15X_MD(STM8L15xx4_6)\Obj\stm8l15x_flash.pbi.cout (11457, 2014-01-03)
ToggleLED1and LED2\EWSTM8\STM8L15X_MD(STM8L15xx4_6)\Obj\stm8l15x_gpio.o (25691, 2013-12-18)
ToggleLED1and LED2\EWSTM8\STM8L15X_MD(STM8L15xx4_6)\Obj\stm8l15x_gpio.pbi (582748, 2014-01-03)
ToggleLED1and LED2\EWSTM8\STM8L15X_MD(STM8L15xx4_6)\Obj\stm8l15x_gpio.pbi.cout (11456, 2014-01-03)
ToggleLED1and LED2\EWSTM8\STM8L15X_MD(STM8L15xx4_6)\Obj\stm8l15x_i2c.o (73237, 2013-12-18)
... ...
/** @page GPIO_Toggle Use GPIO to toggle Port Pins
@verbatim
******************** (C) COPYRIGHT 2013 STMicroelectronics *******************
* @file GPIO/GPIO_Toggle/readme.txt
* @author MCD Application Team
* @version V1.5.1
* @date 28-June-2013
* @brief Description of the GPIO Toggle Example.
******************************************************************************
*
* Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
* http://www.st.com/software_license_agreement_liberty_v2
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
******************************************************************************
@endverbatim
@par Example description
This example provides a short description of how to use the GPIO peripheral to
toggle Ports Pins infinitely.
@par Directory contents
- GPIO/GPIO_Toggle/main.c Main file containing the "main" function
- GPIO/GPIO_Toggle/stm8l15x_conf.h Library Configuration file
- GPIO/GPIO_Toggle/stm8l15x_it.c Interrupt routines source
- GPIO/GPIO_Toggle/stm8l15x_it.h Interrupt routines declaration
@par Hardware and Software environment
- This example runs on STM8L15x High-Density, Medium-Density Plus, Medium-Density
and Low-Density Devices.
- This example has been tested with STMicroelectronics STM8L1528-EVAL
(STM8L15x High-Density devices) and STM8L1526-EVAL (STM8L15x Medium-Density and
Low-Density devices) evaluation boards and can be easily tailored to any other
development board.
- STM8L1528-EVAL Set-up
- Make sure that the LCD glass daughter board is mounted in IO position.
For more details please refer to the evaluation board user manual.
- LD1, LD2, LD3 and LD4 are already connected to PH0, PH1, PH2 and PH3
- STM8L1526-EVAL Set-up
- Make sure that the LCD glass daughter board is mounted in IO position.
For more details please refer to the evaluation board user manual.
- LD1, LD2, LD3 and LD4 are already connected to PA4, PA5, PA6 and PA7
@par How to use it ?
In order to make the program work, you must do the following :
- Copy all source files from this example folder to the template folder under
Project\STM8L15x_StdPeriph_Template
- Open your preferred toolchain
- Add the required file:
- stm8_eval.c (Under Utilities\STM8_EVAL)
- Rebuild all files and load your image into target memory
- Run the example
*
© COPYRIGHT STMicroelectronics
*/
近期下载者:
相关文件:
收藏者: