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_tx.c:32
static
const
char
*
TAG
=
"rmt"
;
Examples
References
from
examples
Code
Location
Referrer
static
const
char
*
TAG
=
"rmt"
;
rmt_tx.c:32
ESP_RETURN_ON_FALSE
(
group
,
ESP_ERR_NO_MEM
,
TAG
,
"no mem for group (%d)"
,
i
)
;
rmt_tx.c:145
rmt_tx_register_to_group()
ESP_RETURN_ON_FALSE
(
channel_id
>=
0
,
ESP_ERR_NOT_FOUND
,
TAG
,
"no free tx channels"
)
;
rmt_tx.c:167
rmt_tx_register_to_group()
ESP_GOTO_ON_FALSE
(
tx_channel
->
trans_queues
[
i
]
,
ESP_ERR_NO_MEM
,
exit
,
TAG
,
"no mem for queues"
)
;
rmt_tx.c:189
rmt_tx_create_trans_queue()
ESP_ERR_INVALID_STATE
,
exit
,
TAG
,
"ready queue full"
)
;
rmt_tx.c:197
rmt_tx_create_trans_queue()
ESP_RETURN_ON_ERROR
(
esp_intr_free
(
tx_channel
->
base
.
intr
)
,
TAG
,
"delete interrupt service failed"
)
;
rmt_tx.c:219
rmt_tx_destroy()
ESP_RETURN_ON_ERROR
(
esp_pm_lock_delete
(
tx_channel
->
base
.
pm_lock
)
,
TAG
,
"delete pm_lock failed"
)
;
rmt_tx.c:222
rmt_tx_destroy()
ESP_RETURN_ON_FALSE
(
(
config
->
intr_priority
)
>
0
,
ESP_ERR_INVALID_ARG
,
TAG
,
"invalid interrupt priority:%d"
,
config
->
intr_priority
)
;
rmt_tx.c:257
rmt_new_tx_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_tx.c:258
rmt_new_tx_channel()
ESP_RETURN_ON_FALSE
(
config
&&
ret_chan
&&
config
->
resolution_hz
&&
config
->
trans_queue_depth
,
ESP_ERR_INVALID_ARG
,
TAG
,
"invalid argument"
)
;
rmt_tx.c:260
rmt_new_tx_channel()
ESP_RETURN_ON_FALSE
(
GPIO_IS_VALID_OUTPUT_GPIO
(
config
->
gpio_num
)
,
ESP_ERR_INVALID_ARG
,
TAG
,
"invalid GPIO number %d"
,
config
->
gpio_num
)
;
rmt_tx.c:261
rmt_new_tx_channel()
ESP_ERR_INVALID_ARG
,
TAG
,
"mem_block_symbols must be even and at least %d"
,
SOC_RMT_MEM_WORDS_PER_CHANNEL
)
;
rmt_tx.c:263
rmt_new_tx_channel()
ESP_RETURN_ON_FALSE
(
config
->
flags
.
with_dma
==
0
,
ESP_ERR_NOT_SUPPORTED
,
TAG
,
"DMA not supported"
)
;
rmt_tx.c:265
rmt_new_tx_channel()
ESP_RETURN_ON_FALSE
(
config
->
flags
.
allow_pd
==
0
,
ESP_ERR_NOT_SUPPORTED
,
TAG
,
"not able to power down in light sleep"
)
;
rmt_tx.c:269
rmt_new_tx_channel()
ESP_GOTO_ON_FALSE
(
tx_channel
,
ESP_ERR_NO_MEM
,
err
,
TAG
,
"no mem for tx channel"
)
;
rmt_tx.c:275
rmt_new_tx_channel()
ESP_GOTO_ON_FALSE
(
dma_nodes
,
ESP_ERR_NO_MEM
,
err
,
TAG
,
"no mem for tx DMA nodes"
)
;
rmt_tx.c:283
rmt_new_tx_channel()
err
,
TAG
,
"cache sync failed"
)
;
rmt_tx.c:290
rmt_new_tx_channel()
ESP_GOTO_ON_ERROR
(
rmt_tx_create_trans_queue
(
tx_channel
,
config
)
,
err
,
TAG
,
"install trans queues failed"
)
;
rmt_tx.c:296
rmt_new_tx_channel()
ESP_GOTO_ON_ERROR
(
rmt_tx_register_to_group
(
tx_channel
,
config
)
,
err
,
TAG
,
"register channel failed"
)
;
rmt_tx.c:298
rmt_new_tx_channel()
ESP_GOTO_ON_FALSE
(
!
priority_conflict
,
ESP_ERR_INVALID_ARG
,
err
,
TAG
,
"intr_priority conflict"
)
;
rmt_tx.c:319
rmt_new_tx_channel()
ESP_GOTO_ON_ERROR
(
ret
,
err
,
TAG
,
"install tx interrupt failed"
)
;
rmt_tx.c:327
rmt_new_tx_channel()
ESP_GOTO_ON_ERROR
(
rmt_select_periph_clock
(
&
tx_channel
->
base
,
config
->
clk_src
)
,
err
,
TAG
,
"set group clock failed"
)
;
rmt_tx.c:335
rmt_new_tx_channel()
ESP_LOGW
(
TAG
,
"channel resolution loss, real=%"
PRIu32
,
tx_channel
->
base
.
resolution_hz
)
;
rmt_tx.c:342
rmt_new_tx_channel()
ESP_LOGW
(
TAG
,
"GPIO %d is not usable, maybe conflict with others"
,
config
->
gpio_num
)
;
rmt_tx.c:359
rmt_new_tx_channel()
ESP_LOGD
(
TAG
,
"new tx channel(%d,%d) at %p, gpio=%d, res=%"
PRIu32
"Hz, hw_mem_base=%p, dma_mem_base=%p, dma_nodes=%p, ping_pong_size=%zu, queue_depth=%zu"
,
rmt_tx.c:388
rmt_new_tx_channel()
ESP_ERR_INVALID_STATE
,
TAG
,
"channel not in init state"
)
;
rmt_tx.c:403
rmt_del_tx_channel()
ESP_LOGD
(
TAG
,
"del tx channel(%d,%d)"
,
group_id
,
channel_id
)
;
rmt_tx.c:408
rmt_del_tx_channel()
ESP_RETURN_ON_ERROR
(
rmt_tx_destroy
(
tx_chan
)
,
TAG
,
"destroy tx channel failed"
)
;
rmt_tx.c:410
rmt_del_tx_channel()
ESP_RETURN_ON_FALSE
(
false
,
ESP_ERR_NOT_SUPPORTED
,
TAG
,
"sync manager not supported"
)
;
rmt_tx.c:417
rmt_new_sync_manager()
ESP_RETURN_ON_FALSE
(
false
,
ESP_ERR_NOT_SUPPORTED
,
TAG
,
"sync manager not supported"
)
;
rmt_tx.c:486
rmt_sync_reset()
ESP_RETURN_ON_FALSE
(
false
,
ESP_ERR_NOT_SUPPORTED
,
TAG
,
"sync manager not supported"
)
;
rmt_tx.c:505
rmt_del_sync_manager()
ESP_RETURN_ON_FALSE
(
channel
&&
cbs
,
ESP_ERR_INVALID_ARG
,
TAG
,
"invalid argument"
)
;
rmt_tx.c:527
rmt_tx_register_event_callbacks()
ESP_RETURN_ON_FALSE
(
channel
->
direction
==
RMT_CHANNEL_DIRECTION_TX
,
ESP_ERR_INVALID_ARG
,
TAG
,
"invalid channel direction"
)
;
rmt_tx.c:528
rmt_tx_register_event_callbacks()
ESP_RETURN_ON_FALSE
(
channel
&&
encoder
&&
payload
&&
payload_bytes
&&
config
,
ESP_ERR_INVALID_ARG
,
TAG
,
"invalid argument"
)
;
rmt_tx.c:547
rmt_transmit()
ESP_RETURN_ON_FALSE
(
channel
->
direction
==
RMT_CHANNEL_DIRECTION_TX
,
ESP_ERR_INVALID_ARG
,
TAG
,
"invalid channel direction"
)
;
rmt_tx.c:548
rmt_transmit()
ESP_RETURN_ON_FALSE
(
config
->
loop_count
<=
0
,
ESP_ERR_NOT_SUPPORTED
,
TAG
,
"loop count is not supported"
)
;
rmt_tx.c:550
rmt_transmit()
ESP_RETURN_ON_FALSE
(
t
,
ESP_ERR_INVALID_STATE
,
TAG
,
"no free transaction descriptor, please consider increasing trans_queue_depth"
)
;
rmt_tx.c:568
rmt_transmit()
ESP_ERR_INVALID_STATE
,
TAG
,
"ready queue full"
)
;
rmt_tx.c:585
rmt_transmit()
ESP_RETURN_ON_FALSE
(
channel
,
ESP_ERR_INVALID_ARG
,
TAG
,
"invalid argument"
)
;
rmt_tx.c:605
rmt_tx_wait_all_done()
ESP_ERR_TIMEOUT
,
TAG
,
"flush timeout"
)
;
rmt_tx.c:613
rmt_tx_wait_all_done()
ESP_ERR_INVALID_STATE
,
TAG
,
"ready queue full"
)
;
rmt_tx.c:615
rmt_tx_wait_all_done()
ESP_DRAM_LOGE
(
TAG
,
"encoding artifacts can't exceed hw memory block for loop transmission"
)
;
rmt_tx.c:682
rmt_encode_check_result()
ESP_ERR_INVALID_STATE
,
TAG
,
"channel not in init state"
)
;
rmt_tx.c:776
rmt_tx_enable()
ESP_RETURN_ON_FALSE
(
valid_state
,
ESP_ERR_INVALID_STATE
,
TAG
,
"channel can't be disabled in state %d"
,
expected_fsm
)
;
rmt_tx.c:852
rmt_tx_disable()
ESP_RETURN_ON_ERROR
(
esp_pm_lock_release
(
channel
->
pm_lock
)
,
TAG
,
"release pm_lock failed"
)
;
rmt_tx.c:877
rmt_tx_disable()
ESP_LOGD
(
TAG
,
"enable carrier modulation for channel(%d,%d), freq=%"
PRIu32
"Hz"
,
group_id
,
channel_id
,
real_frequency
)
;
rmt_tx.c:917
rmt_tx_modulate_carrier()
ESP_LOGD
(
TAG
,
"disable carrier modulation for channel(%d,%d)"
,
group_id
,
channel_id
)
;
rmt_tx.c:919
rmt_tx_modulate_carrier()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
TAG
is read by 15 functions:
All items filtered out
TAG
rmt_tx_register_to_group()
rmt_tx_create_trans_queue()
rmt_tx_destroy()
rmt_new_tx_channel()
rmt_del_tx_channel()
rmt_new_sync_manager()
rmt_sync_reset()
rmt_del_sync_manager()
rmt_tx_register_event_callbacks()
rmt_transmit()
rmt_tx_wait_all_done()
rmt_encode_check_result()
rmt_tx_enable()
rmt_tx_disable()
rmt_tx_modulate_carrier()
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