ESP-IDF
light_sleep_args
is only used within ESP-IDF.
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
ESP-IDF
light_sleep_args
light_sleep_args variable
'light_sleep' command puts the chip into light sleep mode
Syntax
Show:
Summary
Declaration
from
cmd_system_sleep.c:121
static
struct
{
struct
arg_int
*
wakeup_time
;
struct
arg_int
*
wakeup_gpio_num
;
struct
arg_int
*
wakeup_gpio_level
;
struct
arg_end
*
end
;
}
light_sleep_args
;
Examples
References
from
examples
Code
Location
Referrer
}
light_sleep_args
;
cmd_system_sleep.c:126
int
nerrors
=
arg_parse
(
argc
,
argv
,
(
void
*
*
)
&
light_sleep_args
)
;
cmd_system_sleep.c:130
light_sleep()
arg_print_errors
(
stderr
,
light_sleep_args
.
end
,
argv
[
0
]
)
;
cmd_system_sleep.c:132
light_sleep()
if
(
light_sleep_args
.
wakeup_time
->
count
)
{
cmd_system_sleep.c:136
light_sleep()
uint64_t
timeout
=
1000ULL
*
light_sleep_args
.
wakeup_time
->
ival
[
0
]
;
cmd_system_sleep.c:137
light_sleep()
int
io_count
=
light_sleep_args
.
wakeup_gpio_num
->
count
;
cmd_system_sleep.c:141
light_sleep()
if
(
io_count
!=
light_sleep_args
.
wakeup_gpio_level
->
count
)
{
cmd_system_sleep.c:142
light_sleep()
int
io_num
=
light_sleep_args
.
wakeup_gpio_num
->
ival
[
i
]
;
cmd_system_sleep.c:147
light_sleep()
int
level
=
light_sleep_args
.
wakeup_gpio_level
->
ival
[
i
]
;
cmd_system_sleep.c:148
light_sleep()
light_sleep_args
.
wakeup_time
=
cmd_system_sleep.c:192
register_system_light_sleep()
light_sleep_args
.
wakeup_gpio_num
=
cmd_system_sleep.c:194
register_system_light_sleep()
light_sleep_args
.
wakeup_gpio_level
=
cmd_system_sleep.c:197
register_system_light_sleep()
light_sleep_args
.
end
=
arg_end
(
3
)
;
cmd_system_sleep.c:199
register_system_light_sleep()
.
argtable
=
&
light_sleep_args
cmd_system_sleep.c:210
register_system_light_sleep()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
light_sleep_args
is read by 2 functions:
All items filtered out
light_sleep_args
light_sleep()
register_system_light_sleep()
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