STM8Lexample
所属分类:单片机开发
开发工具:C/C++
文件大小:206KB
下载次数:353
上传日期:2010-08-18 13:46:22
上 传 者:
ming210233
说明: 低功耗单片机STM8L的一些例子,想用单片机做低功耗产品很适合
(Low-power microcontroller STM8L some examples, would like to do with the microcontroller is suitable for low-power products)
文件列表:
FW_Lib\example\CLK\main.c (4084, 2009-02-20)
FW_Lib\example\CLK\stm8l15x_conf.h (6339, 2009-02-20)
FW_Lib\example\CLK\STVD\Cosmic\project.stp (15152, 2009-02-20)
FW_Lib\example\CLK\STVD\Cosmic\project.stw (203, 2009-02-20)
FW_Lib\example\CLK\STVD\Cosmic\stm8l15x_it.c (15179, 2009-02-20)
FW_Lib\example\CLK\STVD\Cosmic\stm8l15x_it.h (3952, 2009-02-20)
FW_Lib\example\CLK\STVD\Cosmic\stm8_interrupt_vector.c (3407, 2009-02-20)
FW_Lib\example\GPIO_Toggle\main.c (3882, 2009-02-20)
FW_Lib\example\GPIO_Toggle\stm8l15x_conf.h (6339, 2009-02-20)
FW_Lib\example\GPIO_Toggle\STVD\Cosmic\project.stp (14973, 2009-02-20)
FW_Lib\example\GPIO_Toggle\STVD\Cosmic\project.stw (203, 2009-02-20)
FW_Lib\example\GPIO_Toggle\STVD\Cosmic\stm8l15x_it.c (15179, 2009-02-20)
FW_Lib\example\GPIO_Toggle\STVD\Cosmic\stm8l15x_it.h (3952, 2009-02-20)
FW_Lib\example\GPIO_Toggle\STVD\Cosmic\stm8_interrupt_vector.c (3407, 2009-02-20)
FW_Lib\example\LCD_SegmentsDrive\lcd_pacificdisplay.c (11560, 2009-02-20)
FW_Lib\example\LCD_SegmentsDrive\lcd_pacificdisplay.h (2033, 2009-02-20)
FW_Lib\example\LCD_SegmentsDrive\main.c (4017, 2009-02-20)
FW_Lib\example\LCD_SegmentsDrive\stm8l15x_conf.h (6339, 2009-02-20)
FW_Lib\example\LCD_SegmentsDrive\STVD\Cosmic\project.stp (15350, 2009-02-20)
FW_Lib\example\LCD_SegmentsDrive\STVD\Cosmic\project.stw (203, 2009-02-20)
FW_Lib\example\LCD_SegmentsDrive\STVD\Cosmic\stm8l15x_it.c (15413, 2009-02-20)
FW_Lib\example\LCD_SegmentsDrive\STVD\Cosmic\stm8l15x_it.h (3952, 2009-02-20)
FW_Lib\example\LCD_SegmentsDrive\STVD\Cosmic\stm8_interrupt_vector.c (3406, 2009-02-20)
FW_Lib\example\USART_HyperTeminal_Interrupts\main.c (3774, 2009-02-20)
FW_Lib\example\USART_HyperTeminal_Interrupts\stm8l15x_conf.h (6335, 2009-02-20)
FW_Lib\example\USART_HyperTeminal_Interrupts\STVD\Cosmic\project.stp (15337, 2009-02-20)
FW_Lib\example\USART_HyperTeminal_Interrupts\STVD\Cosmic\project.stw (203, 2009-02-20)
FW_Lib\example\USART_HyperTeminal_Interrupts\STVD\Cosmic\stm8l15x_it.c (15847, 2009-02-20)
FW_Lib\example\USART_HyperTeminal_Interrupts\STVD\Cosmic\stm8l15x_it.h (3952, 2009-02-20)
FW_Lib\example\USART_HyperTeminal_Interrupts\STVD\Cosmic\stm8_interrupt_vector.c (3407, 2009-02-20)
FW_Lib\library\inc\stm8l15x_adc.h (17546, 2009-02-20)
FW_Lib\library\inc\stm8l15x_beep.h (3696, 2009-02-20)
FW_Lib\library\inc\stm8l15x_clk.h (16857, 2009-02-20)
FW_Lib\library\inc\stm8l15x_dma.h (15409, 2009-02-20)
FW_Lib\library\inc\stm8l15x_exti.h (8070, 2009-02-20)
FW_Lib\library\inc\stm8l15x_flash.h (11203, 2009-02-20)
... ...
/** @page CLK Typical clock configuration Example
@par Example description
This example provides a short description of how to configure the clock controller:
- Configure the Fcpu to DIV1
- Switch CLock to use HSE clock cource
- LEDs toggling at Fcpu frequency
@par Directory contents
- main.c Main file containing the "main" function
- stm8l15x_conf.h Library Configuration file
- stm8l15x_it.c Interrupt routines source (not used in this example)
- stm8l15x_it.h Interrupt routines declaration
- stm8_interrupt_vector.c Interrupt vectors table
@par Hardware environment
- STM8L15x Stice emulator
- STM8L1526-EVAL board (four leds LD1..4 are used)
@note Make sure that the LCD glass daughter board (MB821) is mounted in IO position,
for more details please refer to section "1.4 LCD glass Module" of the
STM8L1526-EVAL User Manaul.
@par How to use it ?
In order to make the program work, you must do the following :
- Open "STVD\Cosmic\project.stw"
- Rebuild all files: Project->Rebuild all.
- Load project image: Debug->Start/Stop Debug Session
- Run program: Debug->Run (F5)
- The LD1 and LD4 blink continuously
Go to main file: CLK\main.c
*/
/******************* (C) COPYRIGHT 2009 STMicroelectronics *****END OF FILE****/
近期下载者:
相关文件:
收藏者: