ESP-IDF
TAG
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
TAG
TAG variable
Syntax
Show:
Summary
Declaration
from
rmt_rx.c:31
static
const
char
*
TAG
=
"rmt"
;
Examples
References
from
examples
Code
Location
Referrer
static
const
char
*
TAG
=
"rmt"
;
rmt_rx.c:31
ESP_RETURN_ON_FALSE
(
group
,
ESP_ERR_NO_MEM
,
TAG
,
"no mem for group (%d)"
,
i
)
;
rmt_rx.c:116
rmt_rx_register_to_group()
ESP_RETURN_ON_FALSE
(
channel_id
>=
0
,
ESP_ERR_NOT_FOUND
,
TAG
,
"no free rx channels"
)
;
rmt_rx.c:138
rmt_rx_register_to_group()
ESP_RETURN_ON_ERROR
(
esp_intr_free
(
rx_channel
->
base
.
intr
)
,
TAG
,
"delete interrupt service failed"
)
;
rmt_rx.c:162
rmt_rx_destroy()
ESP_RETURN_ON_ERROR
(
esp_pm_lock_delete
(
rx_channel
->
base
.
pm_lock
)
,
TAG
,
"delete pm_lock failed"
)
;
rmt_rx.c:165
rmt_rx_destroy()
ESP_RETURN_ON_FALSE
(
(
config
->
intr_priority
)
>
0
,
ESP_ERR_INVALID_ARG
,
TAG
,
"invalid interrupt priority:%d"
,
config
->
intr_priority
)
;
rmt_rx.c:192
rmt_new_rx_channel()
ESP_RETURN_ON_FALSE
(
1
<
<
(
config
->
intr_priority
)
&
RMT_ALLOW_INTR_PRIORITY_MASK
,
ESP_ERR_INVALID_ARG
,
TAG
,
"invalid interrupt priority:%d"
,
config
->
intr_priority
)
;
rmt_rx.c:193
rmt_new_rx_channel()
ESP_RETURN_ON_FALSE
(
config
&&
ret_chan
&&
config
->
resolution_hz
,
ESP_ERR_INVALID_ARG
,
TAG
,
"invalid argument"
)
;
rmt_rx.c:195
rmt_new_rx_channel()
ESP_RETURN_ON_FALSE
(
GPIO_IS_VALID_GPIO
(
config
->
gpio_num
)
,
ESP_ERR_INVALID_ARG
,
TAG
,
"invalid GPIO number %d"
,
config
->
gpio_num
)
;
rmt_rx.c:196
rmt_new_rx_channel()
ESP_ERR_INVALID_ARG
,
TAG
,
"mem_block_symbols must be even and at least %d"
,
SOC_RMT_MEM_WORDS_PER_CHANNEL
)
;
rmt_rx.c:198
rmt_new_rx_channel()
ESP_RETURN_ON_FALSE
(
config
->
flags
.
with_dma
==
0
,
ESP_ERR_NOT_SUPPORTED
,
TAG
,
"DMA not supported"
)
;
rmt_rx.c:200
rmt_new_rx_channel()
ESP_RETURN_ON_FALSE
(
config
->
flags
.
allow_pd
==
0
,
ESP_ERR_NOT_SUPPORTED
,
TAG
,
"not able to power down in light sleep"
)
;
rmt_rx.c:204
rmt_new_rx_channel()
ESP_GOTO_ON_FALSE
(
rx_channel
,
ESP_ERR_NO_MEM
,
err
,
TAG
,
"no mem for rx channel"
)
;
rmt_rx.c:210
rmt_new_rx_channel()
ESP_GOTO_ON_ERROR
(
rmt_rx_register_to_group
(
rx_channel
,
config
)
,
err
,
TAG
,
"register channel failed"
)
;
rmt_rx.c:240
rmt_new_rx_channel()
ESP_GOTO_ON_FALSE
(
!
priority_conflict
,
ESP_ERR_INVALID_ARG
,
err
,
TAG
,
"intr_priority conflict"
)
;
rmt_rx.c:269
rmt_new_rx_channel()
ESP_GOTO_ON_ERROR
(
ret
,
err
,
TAG
,
"install rx interrupt failed"
)
;
rmt_rx.c:276
rmt_new_rx_channel()
ESP_GOTO_ON_ERROR
(
rmt_select_periph_clock
(
&
rx_channel
->
base
,
config
->
clk_src
)
,
err
,
TAG
,
"set group clock failed"
)
;
rmt_rx.c:280
rmt_new_rx_channel()
ESP_LOGW
(
TAG
,
"channel resolution loss, real=%"
PRIu32
,
rx_channel
->
base
.
resolution_hz
)
;
rmt_rx.c:287
rmt_new_rx_channel()
ESP_LOGD
(
TAG
,
"new rx channel(%d,%d) at %p, gpio=%d, res=%"
PRIu32
"Hz, hw_mem_base=%p, ping_pong_size=%d"
,
rmt_rx.c:335
rmt_new_rx_channel()
ESP_ERR_INVALID_STATE
,
TAG
,
"channel not in init state"
)
;
rmt_rx.c:350
rmt_del_rx_channel()
ESP_LOGD
(
TAG
,
"del rx channel(%d,%d)"
,
group_id
,
channel_id
)
;
rmt_rx.c:355
rmt_del_rx_channel()
ESP_RETURN_ON_ERROR
(
rmt_rx_destroy
(
rx_chan
)
,
TAG
,
"destroy rx channel failed"
)
;
rmt_rx.c:357
rmt_del_rx_channel()
ESP_RETURN_ON_FALSE
(
channel
&&
cbs
,
ESP_ERR_INVALID_ARG
,
TAG
,
"invalid argument"
)
;
rmt_rx.c:363
rmt_rx_register_event_callbacks()
ESP_RETURN_ON_FALSE
(
channel
->
direction
==
RMT_CHANNEL_DIRECTION_RX
,
ESP_ERR_INVALID_ARG
,
TAG
,
"invalid channel direction"
)
;
rmt_rx.c:364
rmt_rx_register_event_callbacks()
ESP_RETURN_ON_FALSE_ISR
(
channel
&&
buffer
&&
buffer_size
&&
config
,
ESP_ERR_INVALID_ARG
,
TAG
,
"invalid argument"
)
;
rmt_rx.c:383
rmt_receive()
ESP_RETURN_ON_FALSE_ISR
(
channel
->
direction
==
RMT_CHANNEL_DIRECTION_RX
,
ESP_ERR_INVALID_ARG
,
TAG
,
"invalid channel direction"
)
;
rmt_rx.c:384
rmt_receive()
ESP_RETURN_ON_FALSE_ISR
(
!
config
->
flags
.
en_partial_rx
,
ESP_ERR_NOT_SUPPORTED
,
TAG
,
"partial receive not supported"
)
;
rmt_rx.c:386
rmt_receive()
TAG
,
"buffer address or size are not %zu bytes aligned"
,
mem_alignment
)
;
rmt_rx.c:406
rmt_receive()
ESP_RETURN_ON_FALSE_ISR
(
filter_reg_value
<=
RMT_LL_MAX_FILTER_VALUE
,
ESP_ERR_INVALID_ARG
,
TAG
,
"signal_range_min_ns too big"
)
;
rmt_rx.c:414
rmt_receive()
ESP_RETURN_ON_FALSE_ISR
(
idle_reg_value
<=
RMT_LL_MAX_IDLE_VALUE
,
ESP_ERR_INVALID_ARG
,
TAG
,
"signal_range_max_ns too big"
)
;
rmt_rx.c:415
rmt_receive()
ESP_ERR_INVALID_STATE
,
TAG
,
"channel not in enable state"
)
;
rmt_rx.c:420
rmt_receive()
ESP_RETURN_ON_FALSE
(
false
,
ESP_ERR_NOT_SUPPORTED
,
TAG
,
"rx demodulation not supported"
)
;
rmt_rx.c:473
rmt_rx_demodulate_carrier()
ESP_ERR_INVALID_STATE
,
TAG
,
"channel not in init state"
)
;
rmt_rx.c:514
rmt_rx_enable()
ESP_RETURN_ON_FALSE
(
valid_state
,
ESP_ERR_INVALID_STATE
,
TAG
,
"channel not in enable or run state"
)
;
rmt_rx.c:556
rmt_rx_disable()
ESP_DRAM_LOGE
(
TAG
,
"user buffer too small, received symbols truncated"
)
;
rmt_rx.c:633
rmt_isr_handle_rx_done()
ESP_DRAM_LOGE
(
TAG
,
"user buffer too small, received symbols truncated"
)
;
rmt_rx.c:638
rmt_isr_handle_rx_done()
ESP_DRAM_LOGE
(
TAG
,
"hw buffer too small, received symbols truncated"
)
;
rmt_rx.c:659
rmt_isr_handle_rx_done()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
TAG
is read by 10 functions:
All items filtered out
TAG
rmt_rx_register_to_group()
rmt_rx_destroy()
rmt_new_rx_channel()
rmt_del_rx_channel()
rmt_rx_register_event_callbacks()
rmt_receive()
rmt_rx_demodulate_carrier()
rmt_rx_enable()
rmt_rx_disable()
rmt_isr_handle_rx_done()
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