i80_controller sample
state
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
state
state macro
DEFINES
Syntax
Show:
Summary
Declaration
from
lv_anim.c:24
#define
state
LV_GLOBAL_DEFAULT
(
)
->
anim_state
Examples
References
from
examples
Code
Location
#define
state
LV_GLOBAL_DEFAULT
(
)
->
anim_state
lv_anim.c:24
#define
state
LV_GLOBAL_DEFAULT
(
)
->
tlsf_state
lv_mem_core_builtin.c:39
#define
state
LV_GLOBAL_DEFAULT
(
)
->
tick_state
lv_tick.c:16
#define
state
LV_GLOBAL_DEFAULT
(
)
->
timer_state
lv_timer.c:24
#define
anim_ll_p
&
(
state
.
anim_ll
)
lv_anim.c:25
state
.
timer
=
lv_timer_create
(
anim_timer
,
LV_DEF_REFR_PERIOD
,
NULL
)
;
lv_anim.c:64
state
.
anim_list_changed
=
false
;
lv_anim.c:66
state
.
anim_run_round
=
false
;
lv_anim.c:67
new_anim
->
run_round
=
state
.
anim_run_round
;
lv_anim.c:98
return
state
.
timer
;
lv_anim.c:188
state
.
anim_run_round
=
state
.
anim_run_round
?
false
:
true
;
lv_anim.c:498
state
.
anim_list_changed
=
false
;
lv_anim.c:512
if
(
a
->
run_round
!=
state
.
anim_run_round
)
{
lv_anim.c:514
a
->
run_round
=
state
.
anim_run_round
;
/*The list readying might be reset so need to know which anim has run already*/
lv_anim.c:515
if
(
!
state
.
anim_list_changed
&&
a
->
custom_exec_cb
)
a
->
custom_exec_cb
(
a
,
new_value
)
;
lv_anim.c:545
if
(
!
state
.
anim_list_changed
&&
a
->
act_time
>=
a
->
duration
)
{
lv_anim.c:549
if
(
state
.
anim_list_changed
)
lv_anim.c:557
state
.
anim_list_changed
=
true
;
lv_anim.c:617
lv_timer_pause
(
state
.
timer
)
;
lv_anim.c:619
lv_timer_resume
(
state
.
timer
)
;
lv_anim.c:621
state
.
tlsf
=
lv_tlsf_create_with_pool
(
(
void
*
)
work_mem_int
,
LV_MEM_SIZE
)
;
lv_mem_core_builtin.c:83
lv_ll_init
(
&
state
.
pool_ll
,
sizeof
(
lv_pool_t
)
)
;
lv_mem_core_builtin.c:89
lv_pool_t
*
pool_p
=
lv_ll_ins_tail
(
&
state
.
pool_ll
)
;
lv_mem_core_builtin.c:92
*
pool_p
=
lv_tlsf_get_pool
(
state
.
tlsf
)
;
lv_mem_core_builtin.c:94
lv_ll_clear
(
&
state
.
pool_ll
)
;
lv_mem_core_builtin.c:103
lv_tlsf_destroy
(
state
.
tlsf
)
;
lv_mem_core_builtin.c:104
lv_mem_pool_t
new_pool
=
lv_tlsf_add_pool
(
state
.
tlsf
,
mem
,
bytes
)
;
lv_mem_core_builtin.c:112
lv_pool_t
*
pool_p
=
lv_ll_ins_tail
(
&
state
.
pool_ll
)
;
lv_mem_core_builtin.c:118
LV_LL_READ
(
&
state
.
pool_ll
,
pool_p
)
{
lv_mem_core_builtin.c:128
lv_ll_remove
(
&
state
.
pool_ll
,
pool_p
)
;
lv_mem_core_builtin.c:130
lv_tlsf_remove_pool
(
state
.
tlsf
,
pool
)
;
lv_mem_core_builtin.c:132
void
*
p
=
lv_tlsf_malloc
(
state
.
tlsf
,
size
)
;
lv_mem_core_builtin.c:144
state
.
cur_used
+=
lv_tlsf_block_size
(
p
)
;
lv_mem_core_builtin.c:147
state
.
max_used
=
LV_MAX
(
state
.
cur_used
,
state
.
max_used
)
;
lv_mem_core_builtin.c:148
void
*
p_new
=
lv_tlsf_realloc
(
state
.
tlsf
,
p
,
new_size
)
;
lv_mem_core_builtin.c:164
state
.
cur_used
-=
old_size
;
lv_mem_core_builtin.c:167
state
.
cur_used
+=
lv_tlsf_block_size
(
p_new
)
;
lv_mem_core_builtin.c:168
state
.
max_used
=
LV_MAX
(
state
.
cur_used
,
state
.
max_used
)
;
lv_mem_core_builtin.c:169
lv_tlsf_free
(
state
.
tlsf
,
p
)
;
lv_mem_core_builtin.c:188
if
(
state
.
cur_used
>
size
)
state
.
cur_used
-=
size
;
lv_mem_core_builtin.c:189
else
state
.
cur_used
=
0
;
lv_mem_core_builtin.c:190
LV_LL_READ
(
&
state
.
pool_ll
,
pool_p
)
{
lv_mem_core_builtin.c:204
mon_p
->
max_used
=
state
.
max_used
;
lv_mem_core_builtin.c:217
if
(
lv_tlsf_check
(
state
.
tlsf
)
)
{
lv_mem_core_builtin.c:227
LV_LL_READ
(
&
state
.
pool_ll
,
pool_p
)
{
lv_mem_core_builtin.c:236
lv_tick_state_t
*
state_p
=
&
state
;
lv_tick.c:40
lv_tick_state_t
*
state_p
=
&
state
;
lv_tick.c:48
if
(
state
.
delay_cb
)
{
lv_tick.c:85
state
.
delay_cb
(
ms
)
;
lv_tick.c:86
state
.
tick_get_cb
=
cb
;
lv_tick.c:103
state
.
delay_cb
=
cb
;
lv_tick.c:108
#define
timer_ll_p
&
(
state
.
timer_ll
)
lv_timer.c:25
lv_timer_state_t
*
state_p
=
&
state
;
lv_timer.c:67
state
.
run_cnt
++
;
lv_timer.c:86
if
(
state
.
run_cnt
>
100
)
{
lv_timer.c:87
state
.
run_cnt
=
0
;
lv_timer.c:88
lv_timer_state_t
*
state_p
=
&
state
;
lv_timer.c:153
state
.
timer_created
=
true
;
lv_timer.c:182
state
.
timer_deleted
=
true
;
lv_timer.c:198
state
.
lv_timer_run
=
en
;
lv_timer.c:255
return
state
.
idle_last
;
lv_timer.c:268
return
state
.
timer_time_until_next
;
lv_timer.c:273
if
(
!
state
.
timer_deleted
)
{
lv_timer.c:328
if
(
state
.
timer_deleted
==
false
)
{
/*The timer might be deleted by itself as well*/
lv_timer.c:339
state
.
timer_time_until_next
=
0
;
lv_timer.c:375
if
(
state
.
resume_cb
)
{
lv_timer.c:376
state
.
resume_cb
(
state
.
resume_data
)
;
lv_timer.c:377
state
.
resume_cb
=
cb
;
lv_timer.c:383
state
.
resume_data
=
data
;
lv_timer.c:384
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
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