Mylène Bouquillon / BSP_DISCO_F746NG
Committer:
jeromecoutant
Date:
Wed Nov 27 08:29:42 2019 +0000
Revision:
13:85dbcff443aa
Parent:
10:1050c589b2ad
Fix OV9655 Camera Driver

Who changed what in which revision?

UserRevisionLine numberNew contents of line
bcostm 6:e1d9da7fe856 1 /**
bcostm 6:e1d9da7fe856 2 ******************************************************************************
bcostm 6:e1d9da7fe856 3 * @file rk043fn48h.h
bcostm 6:e1d9da7fe856 4 * @author MCD Application Team
bcostm 6:e1d9da7fe856 5 * @brief This file contains all the constants parameters for the RK043FN48H-CT672B
bcostm 6:e1d9da7fe856 6 * LCD component.
bcostm 6:e1d9da7fe856 7 ******************************************************************************
bcostm 6:e1d9da7fe856 8 * @attention
bcostm 6:e1d9da7fe856 9 *
bcostm 6:e1d9da7fe856 10 * <h2><center>&copy; COPYRIGHT(c) 2015 STMicroelectronics</center></h2>
bcostm 6:e1d9da7fe856 11 *
bcostm 6:e1d9da7fe856 12 * Redistribution and use in source and binary forms, with or without modification,
bcostm 6:e1d9da7fe856 13 * are permitted provided that the following conditions are met:
bcostm 6:e1d9da7fe856 14 * 1. Redistributions of source code must retain the above copyright notice,
bcostm 6:e1d9da7fe856 15 * this list of conditions and the following disclaimer.
bcostm 6:e1d9da7fe856 16 * 2. Redistributions in binary form must reproduce the above copyright notice,
bcostm 6:e1d9da7fe856 17 * this list of conditions and the following disclaimer in the documentation
bcostm 6:e1d9da7fe856 18 * and/or other materials provided with the distribution.
bcostm 6:e1d9da7fe856 19 * 3. Neither the name of STMicroelectronics nor the names of its contributors
bcostm 6:e1d9da7fe856 20 * may be used to endorse or promote products derived from this software
bcostm 6:e1d9da7fe856 21 * without specific prior written permission.
bcostm 6:e1d9da7fe856 22 *
bcostm 6:e1d9da7fe856 23 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
bcostm 6:e1d9da7fe856 24 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
bcostm 6:e1d9da7fe856 25 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
bcostm 6:e1d9da7fe856 26 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
bcostm 6:e1d9da7fe856 27 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
bcostm 6:e1d9da7fe856 28 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
bcostm 6:e1d9da7fe856 29 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
bcostm 6:e1d9da7fe856 30 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
bcostm 6:e1d9da7fe856 31 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
bcostm 6:e1d9da7fe856 32 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
bcostm 6:e1d9da7fe856 33 *
bcostm 6:e1d9da7fe856 34 ******************************************************************************
bcostm 6:e1d9da7fe856 35 */
bcostm 6:e1d9da7fe856 36
bcostm 6:e1d9da7fe856 37 /* Define to prevent recursive inclusion -------------------------------------*/
bcostm 6:e1d9da7fe856 38 #ifndef __RK043FN48H_H
bcostm 6:e1d9da7fe856 39 #define __RK043FN48H_H
bcostm 6:e1d9da7fe856 40
bcostm 6:e1d9da7fe856 41 #ifdef __cplusplus
bcostm 6:e1d9da7fe856 42 extern "C" {
bcostm 6:e1d9da7fe856 43 #endif
bcostm 6:e1d9da7fe856 44
bcostm 6:e1d9da7fe856 45 /* Includes ------------------------------------------------------------------*/
bcostm 6:e1d9da7fe856 46
bcostm 6:e1d9da7fe856 47 /** @addtogroup BSP
bcostm 6:e1d9da7fe856 48 * @{
bcostm 6:e1d9da7fe856 49 */
bcostm 6:e1d9da7fe856 50
bcostm 6:e1d9da7fe856 51 /** @addtogroup Components
bcostm 6:e1d9da7fe856 52 * @{
bcostm 6:e1d9da7fe856 53 */
bcostm 6:e1d9da7fe856 54
bcostm 6:e1d9da7fe856 55 /** @addtogroup rk043fn48h
bcostm 6:e1d9da7fe856 56 * @{
bcostm 6:e1d9da7fe856 57 */
bcostm 6:e1d9da7fe856 58
bcostm 6:e1d9da7fe856 59 /** @defgroup RK043FN48H_Exported_Types
bcostm 6:e1d9da7fe856 60 * @{
bcostm 6:e1d9da7fe856 61 */
bcostm 6:e1d9da7fe856 62
bcostm 6:e1d9da7fe856 63 /**
bcostm 6:e1d9da7fe856 64 * @}
bcostm 6:e1d9da7fe856 65 */
bcostm 6:e1d9da7fe856 66
bcostm 6:e1d9da7fe856 67 /** @defgroup RK043FN48H_Exported_Constants
bcostm 6:e1d9da7fe856 68 * @{
bcostm 6:e1d9da7fe856 69 */
bcostm 6:e1d9da7fe856 70
bcostm 6:e1d9da7fe856 71 /**
bcostm 6:e1d9da7fe856 72 * @brief RK043FN48H Size
bcostm 6:e1d9da7fe856 73 */
bcostm 6:e1d9da7fe856 74 #define RK043FN48H_WIDTH ((uint16_t)480) /* LCD PIXEL WIDTH */
bcostm 6:e1d9da7fe856 75 #define RK043FN48H_HEIGHT ((uint16_t)272) /* LCD PIXEL HEIGHT */
bcostm 6:e1d9da7fe856 76
bcostm 6:e1d9da7fe856 77 /**
bcostm 6:e1d9da7fe856 78 * @brief RK043FN48H Timing
bcostm 6:e1d9da7fe856 79 */
bcostm 6:e1d9da7fe856 80 #define RK043FN48H_HSYNC ((uint16_t)41) /* Horizontal synchronization */
bcostm 6:e1d9da7fe856 81 #define RK043FN48H_HBP ((uint16_t)13) /* Horizontal back porch */
bcostm 6:e1d9da7fe856 82 #define RK043FN48H_HFP ((uint16_t)32) /* Horizontal front porch */
bcostm 6:e1d9da7fe856 83 #define RK043FN48H_VSYNC ((uint16_t)10) /* Vertical synchronization */
bcostm 6:e1d9da7fe856 84 #define RK043FN48H_VBP ((uint16_t)2) /* Vertical back porch */
bcostm 6:e1d9da7fe856 85 #define RK043FN48H_VFP ((uint16_t)2) /* Vertical front porch */
bcostm 6:e1d9da7fe856 86
bcostm 6:e1d9da7fe856 87 /**
bcostm 6:e1d9da7fe856 88 * @brief RK043FN48H frequency divider
bcostm 6:e1d9da7fe856 89 */
bcostm 6:e1d9da7fe856 90 #define RK043FN48H_FREQUENCY_DIVIDER 5 /* LCD Frequency divider */
bcostm 6:e1d9da7fe856 91 /**
bcostm 6:e1d9da7fe856 92 * @}
bcostm 6:e1d9da7fe856 93 */
bcostm 6:e1d9da7fe856 94
bcostm 6:e1d9da7fe856 95 /** @defgroup RK043FN48H_Exported_Functions
bcostm 6:e1d9da7fe856 96 * @{
bcostm 6:e1d9da7fe856 97 */
bcostm 6:e1d9da7fe856 98
bcostm 6:e1d9da7fe856 99 /**
bcostm 6:e1d9da7fe856 100 * @}
bcostm 6:e1d9da7fe856 101 */
bcostm 6:e1d9da7fe856 102 #ifdef __cplusplus
bcostm 6:e1d9da7fe856 103 }
bcostm 6:e1d9da7fe856 104 #endif
bcostm 6:e1d9da7fe856 105
bcostm 6:e1d9da7fe856 106 #endif /* __RK043FN48H_H */
bcostm 6:e1d9da7fe856 107 /**
bcostm 6:e1d9da7fe856 108 * @}
bcostm 6:e1d9da7fe856 109 */
bcostm 6:e1d9da7fe856 110
bcostm 6:e1d9da7fe856 111 /**
bcostm 6:e1d9da7fe856 112 * @}
bcostm 6:e1d9da7fe856 113 */
bcostm 6:e1d9da7fe856 114
bcostm 6:e1d9da7fe856 115 /**
bcostm 6:e1d9da7fe856 116 * @}
bcostm 6:e1d9da7fe856 117 */
bcostm 6:e1d9da7fe856 118
bcostm 6:e1d9da7fe856 119 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/