A simple 128x32 graphical LCD program to quickstart with LCD on ARM mbed IoT Starter Kit. This requires mbed Applciation Shield with FRDM-K64F platform.

Dependencies:   C12832

Committer:
tushki7
Date:
Sun Apr 12 15:45:52 2015 +0000
Revision:
1:eb68c94a8ee5
Parent:
0:60d829a0353a
A simple 128x32 LCD program with ARM mbed IoT Starter Kit;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
tushki7 0:60d829a0353a 1 /**
tushki7 0:60d829a0353a 2 ******************************************************************************
tushki7 0:60d829a0353a 3 * @file system_stm32f3xx.h
tushki7 0:60d829a0353a 4 * @author MCD Application Team
tushki7 0:60d829a0353a 5 * @version V2.1.0
tushki7 0:60d829a0353a 6 * @date 12-Sept-2014
tushki7 0:60d829a0353a 7 * @brief CMSIS Cortex-M4 Device System Source File for STM32F3xx devices.
tushki7 0:60d829a0353a 8 ******************************************************************************
tushki7 0:60d829a0353a 9 * @attention
tushki7 0:60d829a0353a 10 *
tushki7 0:60d829a0353a 11 * <h2><center>&copy; COPYRIGHT(c) 2014 STMicroelectronics</center></h2>
tushki7 0:60d829a0353a 12 *
tushki7 0:60d829a0353a 13 * Redistribution and use in source and binary forms, with or without modification,
tushki7 0:60d829a0353a 14 * are permitted provided that the following conditions are met:
tushki7 0:60d829a0353a 15 * 1. Redistributions of source code must retain the above copyright notice,
tushki7 0:60d829a0353a 16 * this list of conditions and the following disclaimer.
tushki7 0:60d829a0353a 17 * 2. Redistributions in binary form must reproduce the above copyright notice,
tushki7 0:60d829a0353a 18 * this list of conditions and the following disclaimer in the documentation
tushki7 0:60d829a0353a 19 * and/or other materials provided with the distribution.
tushki7 0:60d829a0353a 20 * 3. Neither the name of STMicroelectronics nor the names of its contributors
tushki7 0:60d829a0353a 21 * may be used to endorse or promote products derived from this software
tushki7 0:60d829a0353a 22 * without specific prior written permission.
tushki7 0:60d829a0353a 23 *
tushki7 0:60d829a0353a 24 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
tushki7 0:60d829a0353a 25 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
tushki7 0:60d829a0353a 26 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
tushki7 0:60d829a0353a 27 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
tushki7 0:60d829a0353a 28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
tushki7 0:60d829a0353a 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
tushki7 0:60d829a0353a 30 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
tushki7 0:60d829a0353a 31 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
tushki7 0:60d829a0353a 32 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
tushki7 0:60d829a0353a 33 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
tushki7 0:60d829a0353a 34 *
tushki7 0:60d829a0353a 35 ******************************************************************************
tushki7 0:60d829a0353a 36 */
tushki7 0:60d829a0353a 37
tushki7 0:60d829a0353a 38 /** @addtogroup CMSIS
tushki7 0:60d829a0353a 39 * @{
tushki7 0:60d829a0353a 40 */
tushki7 0:60d829a0353a 41
tushki7 0:60d829a0353a 42 /** @addtogroup stm32f3xx_system
tushki7 0:60d829a0353a 43 * @{
tushki7 0:60d829a0353a 44 */
tushki7 0:60d829a0353a 45
tushki7 0:60d829a0353a 46 /**
tushki7 0:60d829a0353a 47 * @brief Define to prevent recursive inclusion
tushki7 0:60d829a0353a 48 */
tushki7 0:60d829a0353a 49 #ifndef __SYSTEM_STM32F3XX_H
tushki7 0:60d829a0353a 50 #define __SYSTEM_STM32F3XX_H
tushki7 0:60d829a0353a 51
tushki7 0:60d829a0353a 52 #ifdef __cplusplus
tushki7 0:60d829a0353a 53 extern "C" {
tushki7 0:60d829a0353a 54 #endif
tushki7 0:60d829a0353a 55
tushki7 0:60d829a0353a 56 /** @addtogroup STM32F3xx_System_Includes
tushki7 0:60d829a0353a 57 * @{
tushki7 0:60d829a0353a 58 */
tushki7 0:60d829a0353a 59
tushki7 0:60d829a0353a 60 /**
tushki7 0:60d829a0353a 61 * @}
tushki7 0:60d829a0353a 62 */
tushki7 0:60d829a0353a 63
tushki7 0:60d829a0353a 64
tushki7 0:60d829a0353a 65 /** @addtogroup STM32F3xx_System_Exported_types
tushki7 0:60d829a0353a 66 * @{
tushki7 0:60d829a0353a 67 */
tushki7 0:60d829a0353a 68 /* This variable is updated in three ways:
tushki7 0:60d829a0353a 69 1) by calling CMSIS function SystemCoreClockUpdate()
tushki7 0:60d829a0353a 70 3) by calling HAL API function HAL_RCC_GetHCLKFreq()
tushki7 0:60d829a0353a 71 3) by calling HAL API function HAL_RCC_ClockConfig()
tushki7 0:60d829a0353a 72 Note: If you use this function to configure the system clock; then there
tushki7 0:60d829a0353a 73 is no need to call the 2 first functions listed above, since SystemCoreClock
tushki7 0:60d829a0353a 74 variable is updated automatically.
tushki7 0:60d829a0353a 75 */
tushki7 0:60d829a0353a 76 extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */
tushki7 0:60d829a0353a 77
tushki7 0:60d829a0353a 78
tushki7 0:60d829a0353a 79 /**
tushki7 0:60d829a0353a 80 * @}
tushki7 0:60d829a0353a 81 */
tushki7 0:60d829a0353a 82
tushki7 0:60d829a0353a 83 /** @addtogroup STM32F3xx_System_Exported_Constants
tushki7 0:60d829a0353a 84 * @{
tushki7 0:60d829a0353a 85 */
tushki7 0:60d829a0353a 86
tushki7 0:60d829a0353a 87 /**
tushki7 0:60d829a0353a 88 * @}
tushki7 0:60d829a0353a 89 */
tushki7 0:60d829a0353a 90
tushki7 0:60d829a0353a 91 /** @addtogroup STM32F3xx_System_Exported_Macros
tushki7 0:60d829a0353a 92 * @{
tushki7 0:60d829a0353a 93 */
tushki7 0:60d829a0353a 94
tushki7 0:60d829a0353a 95 /**
tushki7 0:60d829a0353a 96 * @}
tushki7 0:60d829a0353a 97 */
tushki7 0:60d829a0353a 98
tushki7 0:60d829a0353a 99 /** @addtogroup STM32F3xx_System_Exported_Functions
tushki7 0:60d829a0353a 100 * @{
tushki7 0:60d829a0353a 101 */
tushki7 0:60d829a0353a 102
tushki7 0:60d829a0353a 103 extern void SystemInit(void);
tushki7 0:60d829a0353a 104 extern void SystemCoreClockUpdate(void);
tushki7 0:60d829a0353a 105 extern void SetSysClock(void);
tushki7 0:60d829a0353a 106
tushki7 0:60d829a0353a 107 /**
tushki7 0:60d829a0353a 108 * @}
tushki7 0:60d829a0353a 109 */
tushki7 0:60d829a0353a 110
tushki7 0:60d829a0353a 111 #ifdef __cplusplus
tushki7 0:60d829a0353a 112 }
tushki7 0:60d829a0353a 113 #endif
tushki7 0:60d829a0353a 114
tushki7 0:60d829a0353a 115 #endif /*__SYSTEM_STM32F3XX_H */
tushki7 0:60d829a0353a 116
tushki7 0:60d829a0353a 117 /**
tushki7 0:60d829a0353a 118 * @}
tushki7 0:60d829a0353a 119 */
tushki7 0:60d829a0353a 120
tushki7 0:60d829a0353a 121 /**
tushki7 0:60d829a0353a 122 * @}
tushki7 0:60d829a0353a 123 */
tushki7 0:60d829a0353a 124 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/