i80_controller sample
lv_arc_t::max_value
is only used within i80_controller sample.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
i80_controller sample
lv_arc_t::max_value
lv_arc_t::max_value field
Maximum value of the arc
Syntax
Show:
Summary
Declaration
from
lv_arc_private.h:38
int32_t
max_value
;
Examples
References
from
examples
Code
Location
Referrer
int32_t
max_value
;
/**< Maximum value of the arc */
lv_arc_private.h:38
new_value
=
value
>
arc
->
max_value
?
arc
->
max_value
:
value
;
lv_arc.c:247
lv_arc_set_value()
if
(
arc
->
min_value
==
min
&&
arc
->
max_value
==
max
)
return
;
lv_arc.c:261
lv_arc_set_range()
arc
->
max_value
=
max
;
lv_arc.c:264
lv_arc_set_range()
return
(
(
lv_arc_t
*
)
obj
)
->
max_value
;
lv_arc.c:335
lv_arc_get_max_value()
arc
->
max_value
=
100
;
lv_arc.c:429
lv_arc_constructor()
lv_value_precise_t
round
=
(
(
bg_end
-
arc
->
bg_angle_start
)
*
8
)
/
(
arc
->
max_value
-
arc
->
min_value
)
;
lv_arc.c:575
lv_arc_event()
arc
->
max_value
)
;
lv_arc.c:584
lv_arc_event()
new_value
=
arc
->
max_value
-
new_value
+
arc
->
min_value
;
lv_arc.c:586
lv_arc_event()
if
(
new_value
==
arc
->
min_value
||
new_value
==
arc
->
max_value
)
{
lv_arc.c:599
lv_arc_event()
range_midpoint
=
(
int32_t
)
(
arc
->
min_value
+
arc
->
max_value
)
/
2
;
lv_arc.c:894
value_update()
angle
=
lv_map
(
arc
->
value
,
range_midpoint
,
arc
->
max_value
,
(
int32_t
)
bg_midpoint
,
(
int32_t
)
bg_end
)
;
lv_arc.c:902
value_update()
angle
=
lv_map
(
arc
->
value
,
arc
->
min_value
,
arc
->
max_value
,
(
int32_t
)
bg_end
,
(
int32_t
)
arc
->
bg_angle_start
)
;
lv_arc.c:908
value_update()
angle
=
lv_map
(
arc
->
value
,
arc
->
min_value
,
arc
->
max_value
,
(
int32_t
)
arc
->
bg_angle_start
,
(
int32_t
)
bg_end
)
;
lv_arc.c:912
value_update()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
lv_arc_t::max_value
is written by 2 functions and is read by 5 functions:
lv_arc_set_range()
lv_arc_constructor()
All items filtered out
lv_arc_t::max_value
lv_arc_set_value()
lv_arc_set_range()
lv_arc_get_max_value()
lv_arc_event()
value_update()
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