STM32F429I-Discovery
ActiveLayer
is only used within STM32F429I-Discovery.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (2/7)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
STM32 Libraries and Samples
STM32F429I-Discovery
ActiveLayer
ActiveLayer variable
Syntax
Show:
Summary
Declaration
from
stm32f429i_discovery_lcd.c:111
static
uint32_t
ActiveLayer
=
0
;
Examples
References
from
examples
Code
Location
Referrer
static
uint32_t
ActiveLayer
=
0
;
stm32f429i_discovery_lcd.c:111
ActiveLayer
=
LayerIndex
;
stm32f429i_discovery_lcd.c:276
BSP_LCD_SelectLayer()
return
DrawProp
[
ActiveLayer
]
.
TextColor
;
stm32f429i_discovery_lcd.c:463
BSP_LCD_GetTextColor()
return
DrawProp
[
ActiveLayer
]
.
BackColor
;
stm32f429i_discovery_lcd.c:472
BSP_LCD_GetBackColor()
DrawProp
[
ActiveLayer
]
.
TextColor
=
Color
;
stm32f429i_discovery_lcd.c:481
BSP_LCD_SetTextColor()
DrawProp
[
ActiveLayer
]
.
BackColor
=
Color
;
stm32f429i_discovery_lcd.c:490
BSP_LCD_SetBackColor()
DrawProp
[
ActiveLayer
]
.
pFont
=
pFonts
;
stm32f429i_discovery_lcd.c:499
BSP_LCD_SetFont()
return
DrawProp
[
ActiveLayer
]
.
pFont
;
stm32f429i_discovery_lcd.c:508
BSP_LCD_GetFont()
if
(
LtdcHandler
.
LayerCfg
[
ActiveLayer
]
.
PixelFormat
==
LTDC_PIXEL_FORMAT_ARGB8888
)
stm32f429i_discovery_lcd.c:521
BSP_LCD_ReadPixel()
ret
=
*
(
__IO
uint32_t
*
)
(
LtdcHandler
.
LayerCfg
[
ActiveLayer
]
.
FBStartAdress
+
(
4
*
(
Ypos
*
BSP_LCD_GetXSize
(
)
+
Xpos
)
)
)
;
stm32f429i_discovery_lcd.c:524
BSP_LCD_ReadPixel()
else
if
(
LtdcHandler
.
LayerCfg
[
ActiveLayer
]
.
PixelFormat
==
LTDC_PIXEL_FORMAT_RGB888
)
stm32f429i_discovery_lcd.c:526
BSP_LCD_ReadPixel()
ret
=
(
*
(
__IO
uint32_t
*
)
(
LtdcHandler
.
LayerCfg
[
ActiveLayer
]
.
FBStartAdress
+
(
4
*
(
Ypos
*
BSP_LCD_GetXSize
(
)
+
Xpos
)
)
)
&
0x00FFFFFF
)
;
stm32f429i_discovery_lcd.c:529
BSP_LCD_ReadPixel()
else
if
(
(
LtdcHandler
.
LayerCfg
[
ActiveLayer
]
.
PixelFormat
==
LTDC_PIXEL_FORMAT_RGB565
)
||
\
stm32f429i_discovery_lcd.c:531
BSP_LCD_ReadPixel()
(
LtdcHandler
.
LayerCfg
[
ActiveLayer
]
.
PixelFormat
==
LTDC_PIXEL_FORMAT_ARGB4444
)
||
\
stm32f429i_discovery_lcd.c:532
BSP_LCD_ReadPixel()
(
LtdcHandler
.
LayerCfg
[
ActiveLayer
]
.
PixelFormat
==
LTDC_PIXEL_FORMAT_AL88
)
)
stm32f429i_discovery_lcd.c:533
BSP_LCD_ReadPixel()
ret
=
*
(
__IO
uint16_t
*
)
(
LtdcHandler
.
LayerCfg
[
ActiveLayer
]
.
FBStartAdress
+
(
2
*
(
Ypos
*
BSP_LCD_GetXSize
(
)
+
Xpos
)
)
)
;
stm32f429i_discovery_lcd.c:536
BSP_LCD_ReadPixel()
ret
=
*
(
__IO
uint8_t
*
)
(
LtdcHandler
.
LayerCfg
[
ActiveLayer
]
.
FBStartAdress
+
(
2
*
(
Ypos
*
BSP_LCD_GetXSize
(
)
+
Xpos
)
)
)
;
stm32f429i_discovery_lcd.c:541
BSP_LCD_ReadPixel()
FillBuffer
(
ActiveLayer
,
(
uint32_t
*
)
(
LtdcHandler
.
LayerCfg
[
ActiveLayer
]
.
FBStartAdress
)
,
BSP_LCD_GetXSize
(
)
,
stm32f429i_discovery_lcd.c:554
BSP_LCD_Clear()
uint32_t
colorbackup
=
DrawProp
[
ActiveLayer
]
.
TextColor
;
stm32f429i_discovery_lcd.c:564
BSP_LCD_ClearStringLine()
DrawProp
[
ActiveLayer
]
.
TextColor
=
DrawProp
[
ActiveLayer
]
.
BackColor
;
stm32f429i_discovery_lcd.c:565
BSP_LCD_ClearStringLine()
BSP_LCD_FillRect
(
0
,
(
Line
*
DrawProp
[
ActiveLayer
]
.
pFont
->
Height
)
,
BSP_LCD_GetXSize
(
)
,
stm32f429i_discovery_lcd.c:568
BSP_LCD_ClearStringLine()
DrawProp
[
ActiveLayer
]
.
pFont
->
Height
)
;
stm32f429i_discovery_lcd.c:569
BSP_LCD_ClearStringLine()
DrawProp
[
ActiveLayer
]
.
TextColor
=
colorbackup
;
stm32f429i_discovery_lcd.c:571
BSP_LCD_ClearStringLine()
BSP_LCD_SetTextColor
(
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32f429i_discovery_lcd.c:572
BSP_LCD_ClearStringLine()
DrawChar
(
Xpos
,
Ypos
,
&
DrawProp
[
ActiveLayer
]
.
pFont
->
table
[
(
Ascii
-
' '
)
*
\
stm32f429i_discovery_lcd.c:583
BSP_LCD_DisplayChar()
DrawProp
[
ActiveLayer
]
.
pFont
->
Height
*
(
(
DrawProp
[
ActiveLayer
]
.
pFont
->
Width
+
7
)
/
8
)
]
)
;
stm32f429i_discovery_lcd.c:584
BSP_LCD_DisplayChar()
xsize
=
(
BSP_LCD_GetXSize
(
)
/
DrawProp
[
ActiveLayer
]
.
pFont
->
Width
)
;
stm32f429i_discovery_lcd.c:608
BSP_LCD_DisplayStringAt()
refcolumn
=
X
+
(
(
xsize
-
size
)
*
DrawProp
[
ActiveLayer
]
.
pFont
->
Width
)
/
2
;
stm32f429i_discovery_lcd.c:614
BSP_LCD_DisplayStringAt()
refcolumn
=
X
+
(
(
xsize
-
size
)
*
DrawProp
[
ActiveLayer
]
.
pFont
->
Width
)
;
stm32f429i_discovery_lcd.c:624
BSP_LCD_DisplayStringAt()
while
(
(
*
pText
!=
0
)
&
(
(
(
BSP_LCD_GetXSize
(
)
-
(
i
*
DrawProp
[
ActiveLayer
]
.
pFont
->
Width
)
)
&
0xFFFF
)
>=
stm32f429i_discovery_lcd.c:635
BSP_LCD_DisplayStringAt()
DrawProp
[
ActiveLayer
]
.
pFont
->
Width
)
)
stm32f429i_discovery_lcd.c:636
BSP_LCD_DisplayStringAt()
refcolumn
+=
DrawProp
[
ActiveLayer
]
.
pFont
->
Width
;
stm32f429i_discovery_lcd.c:641
BSP_LCD_DisplayStringAt()
xaddress
=
(
LtdcHandler
.
LayerCfg
[
ActiveLayer
]
.
FBStartAdress
)
+
4
*
(
BSP_LCD_GetXSize
(
)
*
Ypos
+
Xpos
)
;
stm32f429i_discovery_lcd.c:669
BSP_LCD_DrawHLine()
FillBuffer
(
ActiveLayer
,
(
uint32_t
*
)
xaddress
,
Length
,
1
,
0
,
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32f429i_discovery_lcd.c:672
BSP_LCD_DrawHLine()
xaddress
=
(
LtdcHandler
.
LayerCfg
[
ActiveLayer
]
.
FBStartAdress
)
+
4
*
(
BSP_LCD_GetXSize
(
)
*
Ypos
+
Xpos
)
;
stm32f429i_discovery_lcd.c:686
BSP_LCD_DrawVLine()
FillBuffer
(
ActiveLayer
,
(
uint32_t
*
)
xaddress
,
1
,
Length
,
(
BSP_LCD_GetXSize
(
)
-
1
)
,
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32f429i_discovery_lcd.c:689
BSP_LCD_DrawVLine()
BSP_LCD_DrawPixel
(
x
,
y
,
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
/* Draw the current pixel */
stm32f429i_discovery_lcd.c:753
BSP_LCD_DrawLine()
BSP_LCD_DrawPixel
(
(
Xpos
+
curx
)
,
(
Ypos
-
cury
)
,
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32f429i_discovery_lcd.c:802
BSP_LCD_DrawCircle()
BSP_LCD_DrawPixel
(
(
Xpos
-
curx
)
,
(
Ypos
-
cury
)
,
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32f429i_discovery_lcd.c:803
BSP_LCD_DrawCircle()
BSP_LCD_DrawPixel
(
(
Xpos
+
cury
)
,
(
Ypos
-
curx
)
,
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32f429i_discovery_lcd.c:804
BSP_LCD_DrawCircle()
BSP_LCD_DrawPixel
(
(
Xpos
-
cury
)
,
(
Ypos
-
curx
)
,
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32f429i_discovery_lcd.c:805
BSP_LCD_DrawCircle()
BSP_LCD_DrawPixel
(
(
Xpos
+
curx
)
,
(
Ypos
+
cury
)
,
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32f429i_discovery_lcd.c:806
BSP_LCD_DrawCircle()
BSP_LCD_DrawPixel
(
(
Xpos
-
curx
)
,
(
Ypos
+
cury
)
,
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32f429i_discovery_lcd.c:807
BSP_LCD_DrawCircle()
BSP_LCD_DrawPixel
(
(
Xpos
+
cury
)
,
(
Ypos
+
curx
)
,
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32f429i_discovery_lcd.c:808
BSP_LCD_DrawCircle()
BSP_LCD_DrawPixel
(
(
Xpos
-
cury
)
,
(
Ypos
+
curx
)
,
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32f429i_discovery_lcd.c:809
BSP_LCD_DrawCircle()
BSP_LCD_DrawPixel
(
(
Xpos
-
(
uint16_t
)
(
x
/
k
)
)
,
(
Ypos
+
y
)
,
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32f429i_discovery_lcd.c:868
BSP_LCD_DrawEllipse()
BSP_LCD_DrawPixel
(
(
Xpos
+
(
uint16_t
)
(
x
/
k
)
)
,
(
Ypos
+
y
)
,
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32f429i_discovery_lcd.c:869
BSP_LCD_DrawEllipse()
BSP_LCD_DrawPixel
(
(
Xpos
+
(
uint16_t
)
(
x
/
k
)
)
,
(
Ypos
-
y
)
,
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32f429i_discovery_lcd.c:870
BSP_LCD_DrawEllipse()
BSP_LCD_DrawPixel
(
(
Xpos
-
(
uint16_t
)
(
x
/
k
)
)
,
(
Ypos
-
y
)
,
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32f429i_discovery_lcd.c:871
BSP_LCD_DrawEllipse()
address
=
LtdcHandler
.
LayerCfg
[
ActiveLayer
]
.
FBStartAdress
+
(
(
(
BSP_LCD_GetXSize
(
)
*
Y
)
+
X
)
*
(
4
)
)
;
stm32f429i_discovery_lcd.c:908
BSP_LCD_DrawBitmap()
BSP_LCD_SetTextColor
(
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32f429i_discovery_lcd.c:951
BSP_LCD_FillRect()
xaddress
=
(
LtdcHandler
.
LayerCfg
[
ActiveLayer
]
.
FBStartAdress
)
+
4
*
(
BSP_LCD_GetXSize
(
)
*
Ypos
+
Xpos
)
;
stm32f429i_discovery_lcd.c:954
BSP_LCD_FillRect()
FillBuffer
(
ActiveLayer
,
(
uint32_t
*
)
xaddress
,
Width
,
Height
,
(
BSP_LCD_GetXSize
(
)
-
Width
)
,
stm32f429i_discovery_lcd.c:957
BSP_LCD_FillRect()
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32f429i_discovery_lcd.c:958
BSP_LCD_FillRect()
BSP_LCD_SetTextColor
(
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32f429i_discovery_lcd.c:978
BSP_LCD_FillCircle()
BSP_LCD_SetTextColor
(
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32f429i_discovery_lcd.c:1005
BSP_LCD_FillCircle()
*
(
__IO
uint32_t
*
)
(
LtdcHandler
.
LayerCfg
[
ActiveLayer
]
.
FBStartAdress
+
(
4
*
(
Ypos
*
BSP_LCD_GetXSize
(
)
+
Xpos
)
)
)
=
RGB_Code
;
stm32f429i_discovery_lcd.c:1299
BSP_LCD_DrawPixel()
height
=
DrawProp
[
ActiveLayer
]
.
pFont
->
Height
;
stm32f429i_discovery_lcd.c:1316
DrawChar()
width
=
DrawProp
[
ActiveLayer
]
.
pFont
->
Width
;
stm32f429i_discovery_lcd.c:1317
DrawChar()
BSP_LCD_DrawPixel
(
(
Xpos
+
j
)
,
Ypos
,
DrawProp
[
ActiveLayer
]
.
TextColor
)
;
stm32f429i_discovery_lcd.c:1345
DrawChar()
BSP_LCD_DrawPixel
(
(
Xpos
+
j
)
,
Ypos
,
DrawProp
[
ActiveLayer
]
.
BackColor
)
;
stm32f429i_discovery_lcd.c:1349
DrawChar()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
ActiveLayer
is written by 1 function and is read by 21 functions:
BSP_LCD_SelectLayer()
All items filtered out
ActiveLayer
BSP_LCD_GetTextColor()
BSP_LCD_GetBackColor()
BSP_LCD_SetTextColor()
BSP_LCD_SetBackColor()
BSP_LCD_SetFont()
BSP_LCD_GetFont()
BSP_LCD_ReadPixel()
BSP_LCD_Clear()
BSP_LCD_ClearStringLine()
BSP_LCD_DisplayChar()
BSP_LCD_DisplayStringAt()
BSP_LCD_DrawHLine()
BSP_LCD_DrawVLine()
BSP_LCD_DrawLine()
BSP_LCD_DrawCircle()
BSP_LCD_DrawEllipse()
BSP_LCD_DrawBitmap()
BSP_LCD_FillRect()
BSP_LCD_FillCircle()
BSP_LCD_DrawPixel()
DrawChar()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out