aligenie_demo sample
lightbulb_obj_t::effect_timer
is only used within aligenie_demo 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
aligenie_demo sample
lightbulb_obj_t::effect_timer
lightbulb_obj_t::effect_timer field
Syntax
Show:
Summary
Declaration
from
lightbulb.c:71
TimerHandle_t
effect_timer
;
Examples
References
from
examples
Code
Location
Referrer
TimerHandle_t
effect_timer
;
lightbulb.c:71
}
else
if
(
tmr
==
s_lb_obj
->
effect_timer
)
{
lightbulb.c:373
timercb()
if
(
s_lb_obj
->
effect_timer
)
{
lightbulb.c:630
lightbulb_deinit()
xTimerStop
(
s_lb_obj
->
effect_timer
,
0
)
;
lightbulb.c:631
lightbulb_deinit()
xTimerDelete
(
s_lb_obj
->
effect_timer
,
0
)
;
lightbulb.c:632
lightbulb_deinit()
s_lb_obj
->
effect_timer
=
NULL
;
lightbulb.c:633
lightbulb_deinit()
if
(
CHECK_EFFECT_TIMER_IS_ACTIVE
(
)
)
{
lightbulb.c:927
lightbulb_set_hsv()
xTimerStop
(
s_lb_obj
->
effect_timer
,
0
)
;
lightbulb.c:928
lightbulb_set_hsv()
if
(
CHECK_EFFECT_TIMER_IS_ACTIVE
(
)
)
{
lightbulb.c:1003
lightbulb_set_cctb()
xTimerStop
(
s_lb_obj
->
effect_timer
,
0
)
;
lightbulb.c:1004
lightbulb_set_cctb()
if
(
CHECK_EFFECT_TIMER_IS_ACTIVE
(
)
)
{
lightbulb.c:1081
lightbulb_set_switch()
xTimerStop
(
s_lb_obj
->
effect_timer
,
0
)
;
lightbulb.c:1082
lightbulb_set_switch()
if
(
CHECK_EFFECT_TIMER_IS_ACTIVE
(
)
)
{
lightbulb.c:1327
lightbulb_basic_effect_start()
xTimerStop
(
s_lb_obj
->
effect_timer
,
0
)
;
lightbulb.c:1328
lightbulb_basic_effect_start()
if
(
!
s_lb_obj
->
effect_timer
)
{
lightbulb.c:1380
lightbulb_basic_effect_start()
s_lb_obj
->
effect_timer
=
xTimerCreate
(
"effect_timer"
,
pdMS_TO_TICKS
(
config
->
total_ms
)
,
false
,
NULL
,
timercb
)
;
lightbulb.c:1381
lightbulb_basic_effect_start()
LIGHTBULB_CHECK
(
s_lb_obj
->
effect_timer
,
"create timer fail"
,
goto
EXIT
)
;
lightbulb.c:1382
lightbulb_basic_effect_start()
xTimerChangePeriod
(
s_lb_obj
->
effect_timer
,
pdMS_TO_TICKS
(
config
->
total_ms
)
,
0
)
;
lightbulb.c:1384
lightbulb_basic_effect_start()
vTimerSetTimerID
(
s_lb_obj
->
effect_timer
,
config
->
user_cb
)
;
lightbulb.c:1387
lightbulb_basic_effect_start()
vTimerSetTimerID
(
s_lb_obj
->
effect_timer
,
NULL
)
;
lightbulb.c:1389
lightbulb_basic_effect_start()
xTimerStart
(
s_lb_obj
->
effect_timer
,
0
)
;
lightbulb.c:1391
lightbulb_basic_effect_start()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
lightbulb_obj_t::effect_timer
is written by 2 functions and is read by 6 functions:
lightbulb_deinit()
lightbulb_basic_effect_start()
All items filtered out
lightbulb_obj_t::effect_timer
timercb()
lightbulb_deinit()
lightbulb_set_hsv()
lightbulb_set_cctb()
lightbulb_set_switch()
lightbulb_basic_effect_start()
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