ESP-IDF
rmt_obj_t
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (2/5)...
Files
loading (4/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
rmt_obj_t
rmt_obj_t struct
Syntax
Show:
Summary
Declaration
from
rmt_legacy.c:88
typedef
struct
{
size_t
tx_offset
;
size_t
tx_len_rem
;
size_t
tx_sub_len
;
bool
translator
;
bool
wait_done
;
bool
loop_autostop
;
rmt_channel_t
channel
;
const
rmt_item32_t
*
tx_data
;
SemaphoreHandle_t
tx_sem
;
#if
CONFIG_SPIRAM_USE_MALLOC
int
intr_alloc_flags
;
StaticSemaphore_t
tx_sem_buffer
;
#endif
rmt_item32_t
*
tx_buf
;
RingbufHandle_t
rx_buf
;
#if
SOC_RMT_SUPPORT_RX_PINGPONG
rmt_item32_t
*
rx_item_buf
;
uint32_t
rx_item_buf_size
;
uint32_t
rx_item_len
;
int
rx_item_start_idx
;
#endif
sample_to_rmt_t
sample_to_rmt
;
void
*
tx_context
;
size_t
sample_size_remain
;
const
uint8_t
*
sample_cur
;
}
rmt_obj_t
;
Fields
Field
Declared as
rmt_obj_t::tx_offset
size_t
rmt_obj_t::tx_len_rem
size_t
rmt_obj_t::tx_sub_len
size_t
rmt_obj_t::translator
bool
rmt_obj_t::wait_done
bool
rmt_obj_t::loop_autostop
bool
rmt_obj_t::channel
rmt_channel_t
rmt_obj_t::tx_data
const
rmt_item32_t
*
rmt_obj_t::tx_sem
SemaphoreHandle_t
rmt_obj_t::intr_alloc_flags
int
rmt_obj_t::tx_sem_buffer
StaticSemaphore_t
rmt_obj_t::tx_buf
rmt_item32_t
*
rmt_obj_t::rx_buf
RingbufHandle_t
rmt_obj_t::sample_to_rmt
sample_to_rmt_t
rmt_obj_t::tx_context
void
*
rmt_obj_t::sample_size_remain
size_t
rmt_obj_t::sample_cur
const
uint8_t
*
Examples
References
from
examples
Code
Location
Scope
Referrer
typedef
struct
{
rmt_legacy.c:88
}
rmt_obj_t
;
rmt_legacy.c:114
rmt_obj_t
static
rmt_obj_t
*
p_rmt_obj
[
RMT_CHANNEL_MAX
]
=
{
0
}
;
rmt_legacy.c:128
rmt_obj_t
*
p_rmt
=
p_rmt_obj
[
channel
]
;
rmt_legacy.c:759
rmt_driver_isr_default()
rmt_obj_t
*
p_rmt
=
p_rmt_obj
[
channel
]
;
rmt_legacy.c:781
rmt_driver_isr_default()
rmt_obj_t
*
p_rmt
=
p_rmt_obj
[
RMT_ENCODE_RX_CHANNEL
(
channel
)
]
;
rmt_legacy.c:833
rmt_driver_isr_default()
rmt_obj_t
*
p_rmt
=
p_rmt_obj
[
RMT_ENCODE_RX_CHANNEL
(
channel
)
]
;
rmt_legacy.c:924
rmt_driver_isr_default()
rmt_obj_t
*
p_rmt
=
p_rmt_obj
[
channel
]
;
rmt_legacy.c:939
rmt_driver_isr_default()
free
(
p_rmt_obj
[
channel
]
)
;
rmt_legacy.c:1009
rmt_driver_uninstall()
p_rmt_obj
[
channel
]
=
calloc
(
1
,
sizeof
(
rmt_obj_t
)
)
;
rmt_legacy.c:1033
rmt_driver_install()
p_rmt_obj
[
channel
]
=
calloc
(
1
,
sizeof
(
rmt_obj_t
)
)
;
rmt_legacy.c:1036
rmt_driver_install()
p_rmt_obj
[
channel
]
=
heap_caps_calloc
(
1
,
sizeof
(
rmt_obj_t
)
,
MALLOC_CAP_INTERNAL
|
MALLOC_CAP_8BIT
)
;
rmt_legacy.c:1038
rmt_driver_install()
rmt_obj_t
*
p_rmt
=
p_rmt_obj
[
channel
]
;
rmt_legacy.c:1132
rmt_write_items()
rmt_obj_t
*
obj
=
__containerof
(
item_num
,
rmt_obj_t
,
tx_len_rem
)
;
rmt_legacy.c:1255
rmt_translator_get_context()
rmt_obj_t
*
p_rmt
=
p_rmt_obj
[
channel
]
;
rmt_legacy.c:1277
rmt_write_sample()
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
Instance
Scope
Location
Project
p_rmt_obj
rmt_legacy.c:128
Lifecycle
from
examples
rmt_obj_t
is allocated by 1 symbol and is freed by 1 symbol:
rmt_driver_install()
All items filtered out
rmt_obj_t
rmt_driver_uninstall()
All items filtered out