STM32Cube BSP FW for STM32F769I-Discovery
Dependents: mbed-os-example-blinky-5 DISCO-F769NI_TOUCHSCREEN_demo_custom_1 Datarecorder2 DISCO-F769NI_TOUCHSCREEN_demo ... more
Diff: Drivers/BSP/Components/otm8009a/otm8009a.h
- Revision:
- 4:72a949940ad6
- Parent:
- 0:c0f3bbab73d2
--- a/Drivers/BSP/Components/otm8009a/otm8009a.h Thu Jul 06 16:48:52 2017 +0200 +++ b/Drivers/BSP/Components/otm8009a/otm8009a.h Fri Nov 15 11:20:11 2019 +0100 @@ -2,15 +2,13 @@ ****************************************************************************** * @file otm8009a.h * @author MCD Application Team - * @version V1.0.1 - * @date 04-August-2016 * @brief This file contains all the constants parameters for the OTM8009A * which is the LCD Driver for KoD KM-040TMP-02-0621 (WVGA) * DSI LCD Display. ****************************************************************************** * @attention * - * <h2><center>© COPYRIGHT(c) 2016 STMicroelectronics</center></h2> + * <h2><center>© COPYRIGHT(c) 2017 STMicroelectronics</center></h2> * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: @@ -98,24 +96,23 @@ /** * @brief OTM8009A_480X800 Timing parameters for Portrait orientation mode */ -#define OTM8009A_480X800_HSYNC ((uint16_t)63) /* Horizontal synchronization: This value is set to limit value mentionned - in otm8009a spec to fit with USB functional clock configuration constraints */ -#define OTM8009A_480X800_HBP ((uint16_t)120) /* Horizontal back porch */ -#define OTM8009A_480X800_HFP ((uint16_t)120) /* Horizontal front porch */ -#define OTM8009A_480X800_VSYNC ((uint16_t)12) /* Vertical synchronization */ -#define OTM8009A_480X800_VBP ((uint16_t)12) /* Vertical back porch */ -#define OTM8009A_480X800_VFP ((uint16_t)12) /* Vertical front porch */ +#define OTM8009A_480X800_HSYNC ((uint16_t)2) /* Horizontal synchronization */ +#define OTM8009A_480X800_HBP ((uint16_t)34) /* Horizontal back porch */ +#define OTM8009A_480X800_HFP ((uint16_t)34) /* Horizontal front porch */ +#define OTM8009A_480X800_VSYNC ((uint16_t)1) /* Vertical synchronization */ +#define OTM8009A_480X800_VBP ((uint16_t)15) /* Vertical back porch */ +#define OTM8009A_480X800_VFP ((uint16_t)16) /* Vertical front porch */ /** * @brief OTM8009A_800X480 Timing parameters for Landscape orientation mode * Same values as for Portrait mode in fact. */ -#define OTM8009A_800X480_HSYNC OTM8009A_480X800_HSYNC /* Horizontal synchronization */ -#define OTM8009A_800X480_HBP OTM8009A_480X800_HBP /* Horizontal back porch */ -#define OTM8009A_800X480_HFP OTM8009A_480X800_HFP /* Horizontal front porch */ -#define OTM8009A_800X480_VSYNC OTM8009A_480X800_VSYNC /* Vertical synchronization */ -#define OTM8009A_800X480_VBP OTM8009A_480X800_VBP /* Vertical back porch */ -#define OTM8009A_800X480_VFP OTM8009A_480X800_VFP /* Vertical front porch */ +#define OTM8009A_800X480_HSYNC OTM8009A_480X800_VSYNC /* Horizontal synchronization */ +#define OTM8009A_800X480_HBP OTM8009A_480X800_VBP /* Horizontal back porch */ +#define OTM8009A_800X480_HFP OTM8009A_480X800_VFP /* Horizontal front porch */ +#define OTM8009A_800X480_VSYNC OTM8009A_480X800_HSYNC /* Vertical synchronization */ +#define OTM8009A_800X480_VBP OTM8009A_480X800_HBP /* Vertical back porch */ +#define OTM8009A_800X480_VFP OTM8009A_480X800_HFP /* Vertical front porch */ /* List of OTM8009A used commands */