SPKT
LCD_DISCO_F746NG/LCD_DISCO_F746NG.cpp@0:4e245f4bc8ac, 2019-06-07 (annotated)
- Committer:
- phungductung
- Date:
- Fri Jun 07 05:06:42 2019 +0000
- Revision:
- 0:4e245f4bc8ac
spkt
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
phungductung | 0:4e245f4bc8ac | 1 | /* Copyright (c) 2010-2011 mbed.org, MIT License |
phungductung | 0:4e245f4bc8ac | 2 | * |
phungductung | 0:4e245f4bc8ac | 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software |
phungductung | 0:4e245f4bc8ac | 4 | * and associated documentation files (the "Software"), to deal in the Software without |
phungductung | 0:4e245f4bc8ac | 5 | * restriction, including without limitation the rights to use, copy, modify, merge, publish, |
phungductung | 0:4e245f4bc8ac | 6 | * distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the |
phungductung | 0:4e245f4bc8ac | 7 | * Software is furnished to do so, subject to the following conditions: |
phungductung | 0:4e245f4bc8ac | 8 | * |
phungductung | 0:4e245f4bc8ac | 9 | * The above copyright notice and this permission notice shall be included in all copies or |
phungductung | 0:4e245f4bc8ac | 10 | * substantial portions of the Software. |
phungductung | 0:4e245f4bc8ac | 11 | * |
phungductung | 0:4e245f4bc8ac | 12 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING |
phungductung | 0:4e245f4bc8ac | 13 | * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
phungductung | 0:4e245f4bc8ac | 14 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, |
phungductung | 0:4e245f4bc8ac | 15 | * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
phungductung | 0:4e245f4bc8ac | 16 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
phungductung | 0:4e245f4bc8ac | 17 | */ |
phungductung | 0:4e245f4bc8ac | 18 | |
phungductung | 0:4e245f4bc8ac | 19 | #include "LCD_DISCO_F746NG.h" |
phungductung | 0:4e245f4bc8ac | 20 | |
phungductung | 0:4e245f4bc8ac | 21 | // Constructor |
phungductung | 0:4e245f4bc8ac | 22 | LCD_DISCO_F746NG::LCD_DISCO_F746NG() |
phungductung | 0:4e245f4bc8ac | 23 | { |
phungductung | 0:4e245f4bc8ac | 24 | BSP_LCD_Init(); |
phungductung | 0:4e245f4bc8ac | 25 | |
phungductung | 0:4e245f4bc8ac | 26 | BSP_LCD_LayerDefaultInit(0, LCD_FB_START_ADDRESS); |
phungductung | 0:4e245f4bc8ac | 27 | BSP_LCD_LayerDefaultInit(1, LCD_FB_START_ADDRESS+(BSP_LCD_GetXSize()*BSP_LCD_GetYSize()*4)); |
phungductung | 0:4e245f4bc8ac | 28 | |
phungductung | 0:4e245f4bc8ac | 29 | BSP_LCD_DisplayOn(); |
phungductung | 0:4e245f4bc8ac | 30 | |
phungductung | 0:4e245f4bc8ac | 31 | BSP_LCD_SelectLayer(0); |
phungductung | 0:4e245f4bc8ac | 32 | BSP_LCD_Clear(LCD_COLOR_BLACK); |
phungductung | 0:4e245f4bc8ac | 33 | |
phungductung | 0:4e245f4bc8ac | 34 | BSP_LCD_SelectLayer(1); |
phungductung | 0:4e245f4bc8ac | 35 | BSP_LCD_Clear(LCD_COLOR_BLACK); |
phungductung | 0:4e245f4bc8ac | 36 | |
phungductung | 0:4e245f4bc8ac | 37 | BSP_LCD_SetFont(&LCD_DEFAULT_FONT); |
phungductung | 0:4e245f4bc8ac | 38 | |
phungductung | 0:4e245f4bc8ac | 39 | BSP_LCD_SetBackColor(LCD_COLOR_WHITE); |
phungductung | 0:4e245f4bc8ac | 40 | BSP_LCD_SetTextColor(LCD_COLOR_DARKBLUE); |
phungductung | 0:4e245f4bc8ac | 41 | } |
phungductung | 0:4e245f4bc8ac | 42 | |
phungductung | 0:4e245f4bc8ac | 43 | // Destructor |
phungductung | 0:4e245f4bc8ac | 44 | LCD_DISCO_F746NG::~LCD_DISCO_F746NG() |
phungductung | 0:4e245f4bc8ac | 45 | { |
phungductung | 0:4e245f4bc8ac | 46 | BSP_LCD_DeInit(); |
phungductung | 0:4e245f4bc8ac | 47 | } |
phungductung | 0:4e245f4bc8ac | 48 | |
phungductung | 0:4e245f4bc8ac | 49 | //================================================================================================================= |
phungductung | 0:4e245f4bc8ac | 50 | // Public methods |
phungductung | 0:4e245f4bc8ac | 51 | //================================================================================================================= |
phungductung | 0:4e245f4bc8ac | 52 | |
phungductung | 0:4e245f4bc8ac | 53 | uint8_t LCD_DISCO_F746NG::Init(void) |
phungductung | 0:4e245f4bc8ac | 54 | { |
phungductung | 0:4e245f4bc8ac | 55 | return BSP_LCD_Init(); |
phungductung | 0:4e245f4bc8ac | 56 | } |
phungductung | 0:4e245f4bc8ac | 57 | |
phungductung | 0:4e245f4bc8ac | 58 | uint8_t LCD_DISCO_F746NG::DeInit(void) |
phungductung | 0:4e245f4bc8ac | 59 | { |
phungductung | 0:4e245f4bc8ac | 60 | return BSP_LCD_DeInit(); |
phungductung | 0:4e245f4bc8ac | 61 | } |
phungductung | 0:4e245f4bc8ac | 62 | |
phungductung | 0:4e245f4bc8ac | 63 | uint32_t LCD_DISCO_F746NG::GetXSize(void) |
phungductung | 0:4e245f4bc8ac | 64 | { |
phungductung | 0:4e245f4bc8ac | 65 | return BSP_LCD_GetXSize(); |
phungductung | 0:4e245f4bc8ac | 66 | } |
phungductung | 0:4e245f4bc8ac | 67 | |
phungductung | 0:4e245f4bc8ac | 68 | uint32_t LCD_DISCO_F746NG::GetYSize(void) |
phungductung | 0:4e245f4bc8ac | 69 | { |
phungductung | 0:4e245f4bc8ac | 70 | return BSP_LCD_GetYSize(); |
phungductung | 0:4e245f4bc8ac | 71 | } |
phungductung | 0:4e245f4bc8ac | 72 | |
phungductung | 0:4e245f4bc8ac | 73 | void LCD_DISCO_F746NG::SetXSize(uint32_t imageWidthPixels) |
phungductung | 0:4e245f4bc8ac | 74 | { |
phungductung | 0:4e245f4bc8ac | 75 | BSP_LCD_SetXSize(imageWidthPixels); |
phungductung | 0:4e245f4bc8ac | 76 | } |
phungductung | 0:4e245f4bc8ac | 77 | |
phungductung | 0:4e245f4bc8ac | 78 | void LCD_DISCO_F746NG::SetYSize(uint32_t imageHeightPixels) |
phungductung | 0:4e245f4bc8ac | 79 | { |
phungductung | 0:4e245f4bc8ac | 80 | BSP_LCD_SetYSize(imageHeightPixels); |
phungductung | 0:4e245f4bc8ac | 81 | } |
phungductung | 0:4e245f4bc8ac | 82 | |
phungductung | 0:4e245f4bc8ac | 83 | void LCD_DISCO_F746NG::LayerDefaultInit(uint16_t LayerIndex, uint32_t FrameBuffer) |
phungductung | 0:4e245f4bc8ac | 84 | { |
phungductung | 0:4e245f4bc8ac | 85 | BSP_LCD_LayerDefaultInit(LayerIndex, FrameBuffer); |
phungductung | 0:4e245f4bc8ac | 86 | } |
phungductung | 0:4e245f4bc8ac | 87 | |
phungductung | 0:4e245f4bc8ac | 88 | void LCD_DISCO_F746NG::LayerRgb565Init(uint16_t LayerIndex, uint32_t FB_Address) |
phungductung | 0:4e245f4bc8ac | 89 | { |
phungductung | 0:4e245f4bc8ac | 90 | BSP_LCD_LayerRgb565Init(LayerIndex, FB_Address); |
phungductung | 0:4e245f4bc8ac | 91 | } |
phungductung | 0:4e245f4bc8ac | 92 | |
phungductung | 0:4e245f4bc8ac | 93 | void LCD_DISCO_F746NG::SetTransparency(uint32_t LayerIndex, uint8_t Transparency) |
phungductung | 0:4e245f4bc8ac | 94 | { |
phungductung | 0:4e245f4bc8ac | 95 | BSP_LCD_SetTransparency(LayerIndex, Transparency); |
phungductung | 0:4e245f4bc8ac | 96 | } |
phungductung | 0:4e245f4bc8ac | 97 | |
phungductung | 0:4e245f4bc8ac | 98 | void LCD_DISCO_F746NG::SetLayerAddress(uint32_t LayerIndex, uint32_t Address) |
phungductung | 0:4e245f4bc8ac | 99 | { |
phungductung | 0:4e245f4bc8ac | 100 | BSP_LCD_SetLayerAddress(LayerIndex, Address); |
phungductung | 0:4e245f4bc8ac | 101 | } |
phungductung | 0:4e245f4bc8ac | 102 | |
phungductung | 0:4e245f4bc8ac | 103 | void LCD_DISCO_F746NG::SetColorKeying(uint32_t LayerIndex, uint32_t RGBValue) |
phungductung | 0:4e245f4bc8ac | 104 | { |
phungductung | 0:4e245f4bc8ac | 105 | BSP_LCD_SetColorKeying(LayerIndex, RGBValue); |
phungductung | 0:4e245f4bc8ac | 106 | } |
phungductung | 0:4e245f4bc8ac | 107 | |
phungductung | 0:4e245f4bc8ac | 108 | void LCD_DISCO_F746NG::ResetColorKeying(uint32_t LayerIndex) |
phungductung | 0:4e245f4bc8ac | 109 | { |
phungductung | 0:4e245f4bc8ac | 110 | BSP_LCD_ResetColorKeying(LayerIndex); |
phungductung | 0:4e245f4bc8ac | 111 | } |
phungductung | 0:4e245f4bc8ac | 112 | |
phungductung | 0:4e245f4bc8ac | 113 | void LCD_DISCO_F746NG::SetLayerWindow(uint16_t LayerIndex, uint16_t Xpos, uint16_t Ypos, uint16_t Width, uint16_t Height) |
phungductung | 0:4e245f4bc8ac | 114 | { |
phungductung | 0:4e245f4bc8ac | 115 | BSP_LCD_SetLayerWindow(LayerIndex, Xpos, Ypos, Width, Height); |
phungductung | 0:4e245f4bc8ac | 116 | } |
phungductung | 0:4e245f4bc8ac | 117 | |
phungductung | 0:4e245f4bc8ac | 118 | void LCD_DISCO_F746NG::SelectLayer(uint32_t LayerIndex) |
phungductung | 0:4e245f4bc8ac | 119 | { |
phungductung | 0:4e245f4bc8ac | 120 | BSP_LCD_SelectLayer(LayerIndex); |
phungductung | 0:4e245f4bc8ac | 121 | } |
phungductung | 0:4e245f4bc8ac | 122 | |
phungductung | 0:4e245f4bc8ac | 123 | void LCD_DISCO_F746NG::SetLayerVisible(uint32_t LayerIndex, FunctionalState State) |
phungductung | 0:4e245f4bc8ac | 124 | { |
phungductung | 0:4e245f4bc8ac | 125 | BSP_LCD_SetLayerVisible(LayerIndex, State); |
phungductung | 0:4e245f4bc8ac | 126 | } |
phungductung | 0:4e245f4bc8ac | 127 | |
phungductung | 0:4e245f4bc8ac | 128 | void LCD_DISCO_F746NG::SetTextColor(uint32_t Color) |
phungductung | 0:4e245f4bc8ac | 129 | { |
phungductung | 0:4e245f4bc8ac | 130 | BSP_LCD_SetTextColor(Color); |
phungductung | 0:4e245f4bc8ac | 131 | } |
phungductung | 0:4e245f4bc8ac | 132 | |
phungductung | 0:4e245f4bc8ac | 133 | uint32_t LCD_DISCO_F746NG::GetTextColor(void) |
phungductung | 0:4e245f4bc8ac | 134 | { |
phungductung | 0:4e245f4bc8ac | 135 | return BSP_LCD_GetTextColor(); |
phungductung | 0:4e245f4bc8ac | 136 | } |
phungductung | 0:4e245f4bc8ac | 137 | |
phungductung | 0:4e245f4bc8ac | 138 | void LCD_DISCO_F746NG::SetBackColor(uint32_t Color) |
phungductung | 0:4e245f4bc8ac | 139 | { |
phungductung | 0:4e245f4bc8ac | 140 | BSP_LCD_SetBackColor(Color); |
phungductung | 0:4e245f4bc8ac | 141 | } |
phungductung | 0:4e245f4bc8ac | 142 | |
phungductung | 0:4e245f4bc8ac | 143 | uint32_t LCD_DISCO_F746NG::GetBackColor(void) |
phungductung | 0:4e245f4bc8ac | 144 | { |
phungductung | 0:4e245f4bc8ac | 145 | return BSP_LCD_GetBackColor(); |
phungductung | 0:4e245f4bc8ac | 146 | } |
phungductung | 0:4e245f4bc8ac | 147 | |
phungductung | 0:4e245f4bc8ac | 148 | void LCD_DISCO_F746NG::SetFont(sFONT *fonts) |
phungductung | 0:4e245f4bc8ac | 149 | { |
phungductung | 0:4e245f4bc8ac | 150 | BSP_LCD_SetFont(fonts); |
phungductung | 0:4e245f4bc8ac | 151 | } |
phungductung | 0:4e245f4bc8ac | 152 | |
phungductung | 0:4e245f4bc8ac | 153 | sFONT *LCD_DISCO_F746NG::GetFont(void) |
phungductung | 0:4e245f4bc8ac | 154 | { |
phungductung | 0:4e245f4bc8ac | 155 | return BSP_LCD_GetFont(); |
phungductung | 0:4e245f4bc8ac | 156 | } |
phungductung | 0:4e245f4bc8ac | 157 | |
phungductung | 0:4e245f4bc8ac | 158 | uint32_t LCD_DISCO_F746NG::ReadPixel(uint16_t Xpos, uint16_t Ypos) |
phungductung | 0:4e245f4bc8ac | 159 | { |
phungductung | 0:4e245f4bc8ac | 160 | return BSP_LCD_ReadPixel(Xpos, Ypos); |
phungductung | 0:4e245f4bc8ac | 161 | } |
phungductung | 0:4e245f4bc8ac | 162 | |
phungductung | 0:4e245f4bc8ac | 163 | void LCD_DISCO_F746NG::DrawPixel(uint16_t Xpos, uint16_t Ypos, uint32_t pixel) |
phungductung | 0:4e245f4bc8ac | 164 | { |
phungductung | 0:4e245f4bc8ac | 165 | BSP_LCD_DrawPixel(Xpos, Ypos, pixel); |
phungductung | 0:4e245f4bc8ac | 166 | } |
phungductung | 0:4e245f4bc8ac | 167 | |
phungductung | 0:4e245f4bc8ac | 168 | void LCD_DISCO_F746NG::Clear(uint32_t Color) |
phungductung | 0:4e245f4bc8ac | 169 | { |
phungductung | 0:4e245f4bc8ac | 170 | BSP_LCD_Clear(Color); |
phungductung | 0:4e245f4bc8ac | 171 | } |
phungductung | 0:4e245f4bc8ac | 172 | |
phungductung | 0:4e245f4bc8ac | 173 | void LCD_DISCO_F746NG::ClearStringLine(uint32_t Line) |
phungductung | 0:4e245f4bc8ac | 174 | { |
phungductung | 0:4e245f4bc8ac | 175 | BSP_LCD_ClearStringLine(Line); |
phungductung | 0:4e245f4bc8ac | 176 | } |
phungductung | 0:4e245f4bc8ac | 177 | |
phungductung | 0:4e245f4bc8ac | 178 | void LCD_DISCO_F746NG::DisplayStringAtLine(uint16_t Line, uint8_t *ptr) |
phungductung | 0:4e245f4bc8ac | 179 | { |
phungductung | 0:4e245f4bc8ac | 180 | BSP_LCD_DisplayStringAtLine(Line, ptr); |
phungductung | 0:4e245f4bc8ac | 181 | } |
phungductung | 0:4e245f4bc8ac | 182 | |
phungductung | 0:4e245f4bc8ac | 183 | void LCD_DISCO_F746NG::DisplayStringAt(uint16_t Xpos, uint16_t Ypos, uint8_t *Text, Text_AlignModeTypdef Mode) |
phungductung | 0:4e245f4bc8ac | 184 | { |
phungductung | 0:4e245f4bc8ac | 185 | BSP_LCD_DisplayStringAt(Xpos, Ypos, Text, Mode); |
phungductung | 0:4e245f4bc8ac | 186 | } |
phungductung | 0:4e245f4bc8ac | 187 | |
phungductung | 0:4e245f4bc8ac | 188 | void LCD_DISCO_F746NG::DisplayChar(uint16_t Xpos, uint16_t Ypos, uint8_t Ascii) |
phungductung | 0:4e245f4bc8ac | 189 | { |
phungductung | 0:4e245f4bc8ac | 190 | BSP_LCD_DisplayChar(Xpos, Ypos, Ascii); |
phungductung | 0:4e245f4bc8ac | 191 | } |
phungductung | 0:4e245f4bc8ac | 192 | |
phungductung | 0:4e245f4bc8ac | 193 | void LCD_DISCO_F746NG::DrawHLine(uint16_t Xpos, uint16_t Ypos, uint16_t Length) |
phungductung | 0:4e245f4bc8ac | 194 | { |
phungductung | 0:4e245f4bc8ac | 195 | BSP_LCD_DrawHLine(Xpos, Ypos, Length); |
phungductung | 0:4e245f4bc8ac | 196 | } |
phungductung | 0:4e245f4bc8ac | 197 | |
phungductung | 0:4e245f4bc8ac | 198 | void LCD_DISCO_F746NG::DrawVLine(uint16_t Xpos, uint16_t Ypos, uint16_t Length) |
phungductung | 0:4e245f4bc8ac | 199 | { |
phungductung | 0:4e245f4bc8ac | 200 | BSP_LCD_DrawVLine(Xpos, Ypos, Length); |
phungductung | 0:4e245f4bc8ac | 201 | } |
phungductung | 0:4e245f4bc8ac | 202 | |
phungductung | 0:4e245f4bc8ac | 203 | void LCD_DISCO_F746NG::DrawLine(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2) |
phungductung | 0:4e245f4bc8ac | 204 | { |
phungductung | 0:4e245f4bc8ac | 205 | BSP_LCD_DrawLine(x1, y1, x2, y2); |
phungductung | 0:4e245f4bc8ac | 206 | } |
phungductung | 0:4e245f4bc8ac | 207 | |
phungductung | 0:4e245f4bc8ac | 208 | void LCD_DISCO_F746NG::DrawRect(uint16_t Xpos, uint16_t Ypos, uint16_t Width, uint16_t Height) |
phungductung | 0:4e245f4bc8ac | 209 | { |
phungductung | 0:4e245f4bc8ac | 210 | BSP_LCD_DrawRect(Xpos, Ypos, Width, Height); |
phungductung | 0:4e245f4bc8ac | 211 | } |
phungductung | 0:4e245f4bc8ac | 212 | |
phungductung | 0:4e245f4bc8ac | 213 | void LCD_DISCO_F746NG::DrawCircle(uint16_t Xpos, uint16_t Ypos, uint16_t Radius) |
phungductung | 0:4e245f4bc8ac | 214 | { |
phungductung | 0:4e245f4bc8ac | 215 | BSP_LCD_DrawCircle(Xpos, Ypos, Radius); |
phungductung | 0:4e245f4bc8ac | 216 | } |
phungductung | 0:4e245f4bc8ac | 217 | |
phungductung | 0:4e245f4bc8ac | 218 | void LCD_DISCO_F746NG::DrawPolygon(pPoint Points, uint16_t PointCount) |
phungductung | 0:4e245f4bc8ac | 219 | { |
phungductung | 0:4e245f4bc8ac | 220 | BSP_LCD_DrawPolygon(Points, PointCount); |
phungductung | 0:4e245f4bc8ac | 221 | } |
phungductung | 0:4e245f4bc8ac | 222 | |
phungductung | 0:4e245f4bc8ac | 223 | void LCD_DISCO_F746NG::DrawEllipse(int Xpos, int Ypos, int XRadius, int YRadius) |
phungductung | 0:4e245f4bc8ac | 224 | { |
phungductung | 0:4e245f4bc8ac | 225 | BSP_LCD_DrawEllipse(Xpos, Ypos, XRadius, YRadius); |
phungductung | 0:4e245f4bc8ac | 226 | } |
phungductung | 0:4e245f4bc8ac | 227 | |
phungductung | 0:4e245f4bc8ac | 228 | void LCD_DISCO_F746NG::DrawBitmap(uint32_t Xpos, uint32_t Ypos, uint8_t *pbmp) |
phungductung | 0:4e245f4bc8ac | 229 | { |
phungductung | 0:4e245f4bc8ac | 230 | BSP_LCD_DrawBitmap(Xpos, Ypos, pbmp); |
phungductung | 0:4e245f4bc8ac | 231 | } |
phungductung | 0:4e245f4bc8ac | 232 | |
phungductung | 0:4e245f4bc8ac | 233 | void LCD_DISCO_F746NG::FillRect(uint16_t Xpos, uint16_t Ypos, uint16_t Width, uint16_t Height) |
phungductung | 0:4e245f4bc8ac | 234 | { |
phungductung | 0:4e245f4bc8ac | 235 | BSP_LCD_FillRect(Xpos, Ypos, Width, Height); |
phungductung | 0:4e245f4bc8ac | 236 | } |
phungductung | 0:4e245f4bc8ac | 237 | |
phungductung | 0:4e245f4bc8ac | 238 | void LCD_DISCO_F746NG::FillCircle(uint16_t Xpos, uint16_t Ypos, uint16_t Radius) |
phungductung | 0:4e245f4bc8ac | 239 | { |
phungductung | 0:4e245f4bc8ac | 240 | BSP_LCD_FillCircle(Xpos, Ypos, Radius); |
phungductung | 0:4e245f4bc8ac | 241 | } |
phungductung | 0:4e245f4bc8ac | 242 | |
phungductung | 0:4e245f4bc8ac | 243 | void LCD_DISCO_F746NG::FillPolygon(pPoint Points, uint16_t PointCount) |
phungductung | 0:4e245f4bc8ac | 244 | { |
phungductung | 0:4e245f4bc8ac | 245 | BSP_LCD_FillPolygon(Points, PointCount); |
phungductung | 0:4e245f4bc8ac | 246 | } |
phungductung | 0:4e245f4bc8ac | 247 | |
phungductung | 0:4e245f4bc8ac | 248 | void LCD_DISCO_F746NG::FillEllipse(int Xpos, int Ypos, int XRadius, int YRadius) |
phungductung | 0:4e245f4bc8ac | 249 | { |
phungductung | 0:4e245f4bc8ac | 250 | BSP_LCD_FillEllipse(Xpos, Ypos, XRadius, YRadius); |
phungductung | 0:4e245f4bc8ac | 251 | } |
phungductung | 0:4e245f4bc8ac | 252 | |
phungductung | 0:4e245f4bc8ac | 253 | void LCD_DISCO_F746NG::DisplayOff(void) |
phungductung | 0:4e245f4bc8ac | 254 | { |
phungductung | 0:4e245f4bc8ac | 255 | BSP_LCD_DisplayOff(); |
phungductung | 0:4e245f4bc8ac | 256 | } |
phungductung | 0:4e245f4bc8ac | 257 | |
phungductung | 0:4e245f4bc8ac | 258 | void LCD_DISCO_F746NG::DisplayOn(void) |
phungductung | 0:4e245f4bc8ac | 259 | { |
phungductung | 0:4e245f4bc8ac | 260 | BSP_LCD_DisplayOn(); |
phungductung | 0:4e245f4bc8ac | 261 | } |
phungductung | 0:4e245f4bc8ac | 262 | |
phungductung | 0:4e245f4bc8ac | 263 | //================================================================================================================= |
phungductung | 0:4e245f4bc8ac | 264 | // Private methods |
phungductung | 0:4e245f4bc8ac | 265 | //================================================================================================================= |