Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 14:6ebcd6524373, committed 2020-11-04
- Comitter:
- valentin__
- Date:
- Wed Nov 04 14:36:45 2020 +0000
- Parent:
- 13:85dbcff443aa
- Commit message:
- Affichage petite image
Changed in this revision
Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_lcd.c | Show annotated file Show diff for this revision Revisions of this file |
--- a/Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_lcd.c Wed Nov 27 08:29:42 2019 +0000 +++ b/Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_lcd.c Wed Nov 04 14:36:45 2020 +0000 @@ -31,7 +31,7 @@ line using the BSP_LCD_ClearStringLine() function. o Display a character on the specified line and column using the BSP_LCD_DisplayChar() function or a complete string line using the BSP_LCD_DisplayStringAtLine() function. - o Display a string line on the specified position (x,y in pixel) and align mode + o Display a string line on the specified position (x,y in ) and align mode using the BSP_LCD_DisplayStringAtLine() function. o Draw and fill a basic shapes (dot, line, rectangle, circle, ellipse, .. bitmap) on LCD using the available set of functions. @@ -179,7 +179,7 @@ /* LCD clock configuration */ BSP_LCD_ClockConfig(&hLtdcHandler, NULL); - /* Initialize the LCD pixel width and pixel height */ + /* Initialize the LCD width and height */ hLtdcHandler.LayerCfg->ImageWidth = RK043FN48H_WIDTH; hLtdcHandler.LayerCfg->ImageHeight = RK043FN48H_HEIGHT; @@ -260,26 +260,26 @@ /** * @brief Set the LCD X size. - * @param imageWidthPixels : image width in pixels unit + * @param imageWidths : image width in s unit * @retval None */ -void BSP_LCD_SetXSize(uint32_t imageWidthPixels) +void BSP_LCD_SetXSize(uint32_t imageWidths) { - hLtdcHandler.LayerCfg[ActiveLayer].ImageWidth = imageWidthPixels; + hLtdcHandler.LayerCfg[ActiveLayer].ImageWidth = imageWidths; } /** * @brief Set the LCD Y size. - * @param imageHeightPixels : image height in lines unit + * @param imageHeights : image height in lines unit * @retval None */ -void BSP_LCD_SetYSize(uint32_t imageHeightPixels) +void BSP_LCD_SetYSize(uint32_t imageHeights) { - hLtdcHandler.LayerCfg[ActiveLayer].ImageHeight = imageHeightPixels; + hLtdcHandler.LayerCfg[ActiveLayer].ImageHeight = imageHeights; } /** - * @brief Initializes the LCD layer in ARGB8888 format (32 bits per pixel). + * @brief Initializes the LCD layer in ARGB8888 format (32 bits per ). * @param LayerIndex: Layer foreground or background * @param FB_Address: Layer frame buffer * @retval None