STM32L-LCD
所属分类:单片机开发
开发工具:C/C++
文件大小:40KB
下载次数:18
上传日期:2015-02-09 23:08:27
上 传 者:
lightbug
说明: STM32L1xx LCD EXAMPLE
文件列表:
LCD_Blink_Frequency (0, 2014-06-27)
LCD_Blink_Frequency\main.c (4792, 2014-05-16)
LCD_Blink_Frequency\stm32l1xx_conf.h (3442, 2014-05-16)
LCD_Blink_Frequency\stm32l1xx_it.c (8352, 2014-05-16)
LCD_Blink_Frequency\stm32l1xx_it.h (2235, 2014-05-16)
LCD_Blink_Frequency\system_stm32l1xx.c (20173, 2014-05-16)
LCD_Contrast_Control (0, 2014-06-27)
LCD_Contrast_Control\main.c (9649, 2014-05-16)
LCD_Contrast_Control\stm32l1xx_conf.h (3443, 2014-05-16)
LCD_Contrast_Control\stm32l1xx_it.c (4607, 2014-05-16)
LCD_Contrast_Control\stm32l1xx_it.h (2206, 2014-05-16)
LCD_Contrast_Control\system_stm32l1xx.c (20173, 2014-05-16)
LCD_SegmentsDrive (0, 2014-06-27)
LCD_SegmentsDrive\main.c (4227, 2014-05-16)
LCD_SegmentsDrive\stm32l1xx_conf.h (3438, 2014-05-16)
LCD_SegmentsDrive\stm32l1xx_it.c (4601, 2014-05-16)
LCD_SegmentsDrive\stm32l1xx_it.h (2205, 2014-05-16)
LCD_SegmentsDrive\system_stm32l1xx.c (20173, 2014-05-16)
/**
@page LCD_SegmentsDrive LCD Segments Drive example
@verbatim
******************** (C) COPYRIGHT 2014 STMicroelectronics *******************
* @file LCD/LCD_SegmentsDrive/readme.txt
* @author MCD Application Team
* @version V1.2.0
* @date 16-May-2014
* @brief Description of the LCD Segments Drive 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 description of how to use the STM32L1xx LCD embedded GLASS
controller to drive the Pacific Display LCD glass (PD-878) mounted on
STM32L152-EVAL board and to drive the LCD XHO5002B mounted on STM32L152D-EVAL board.
The goal of this example is to display a "STM32L" string on LCD glass in scrolling
mode. The scrolling number is fixed to 20 repetition.
@par Directory contents
- LCD/LCD_SegmentsDrive/stm32l1xx_conf.h Library Configuration file
- LCD/LCD_SegmentsDrive/stm32l1xx_it.c Interrupt handlers
- LCD/LCD_SegmentsDrive/stm32l1xx_it.h Header for stm32l1xx_it.c
- LCD/LCD_SegmentsDrive/main.c Main program
- LCD/LCD_SegmentsDrive/system_stm32l1xx.c STM32L1xx system source file
@note The "system_stm32l1xx.c" is generated by an automatic clock configuration
system and can be easily customized to your own configuration.
To select different clock setup, use the "STM32L1xx_Clock_Configuration_V1.1.0.xls"
provided with the AN3309 package available on
ST Microcontrollers
@par Hardware and Software environment
- This example runs on STM32L1xx Ultra Low Power High-, Medium-Density and Medium-Density Plus Devices.
- This example has been tested with STMicroelectronics STM32L152D-EVAL (STM32L1xx
Ultra Low Power High-Density) and STM32L152-EVAL (STM32L1xx Ultra Low
Power Medium-Density) evaluation board and can be easily tailored to any
other supported device and development board.
- STM32L152D-EVAL Set-up
- Make sure that the LCD GLASS board (MB979) is in LCD position.
- STM32L152-EVAL Set-up
- LCD Glass pins is shared with USART3 via jumpers, so make sure that
Jumper 7 (JP7) is in position 1<-->2.
Jumper 8 (JP8) is in position 1<-->2.
@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\STM32L1xx_StdPeriph_Templates
- Open your preferred toolchain
- If the used device is STM32L1XX_MD choose "STM32L1XX_MD(STM32L1xxxBxx)" workspace
- Add the following files to the project source list
- Utilities\STM32_EVAL\STM32L152_EVAL\stm32l152_eval.c
- Utilities\STM32_EVAL\STM32L152_EVAL\stm32l152_eval_glass_lcd.c
- If the used device is STM32L1XX_HD choose "STM32L1XX_HD(STM32L1xxxDxx)" workspace
- Add the following files to the project source list
- Utilities\STM32_EVAL\STM32L152D_EVAL\stm32l152d_eval.c
- Utilities\STM32_EVAL\STM32L152D_EVAL\stm32l152d_eval_glass_lcd.c
- Rebuild all files and load your image into target memory
- Run the example
@note
- Ultra Low Power Medium-density devices: - STM32L151x6xx, STM32L151x8xx, STM32L151xBxx, STM32L152x6xx,
STM32L152x8xx, STM32L152xBxx, STM32L151x6xxA, STM32L151x8xxA,
STM32L151xBxxA, STM32L152x6xxA, STM32L152x8xxA and STM32L152xBxxA
- STM32L100x6xx, STM32L100x8xx and STM32L100xBxx
- Ultra Low Power Medium-density Plus devices: - STM32L151xCxx, STM32L152xCxx and STM32L162xCxx
- STM32L100xCxx
- Ultra Low Power High-density devices: STM32L151xDxx, STM32L152xDxx and STM32L162xDxx
- Ultra Low Power XL-density devices: STM32L151xExx, STM32L152xExx and STM32L162xExx
*
© COPYRIGHT STMicroelectronics
*/
近期下载者:
相关文件:
收藏者: