ESP-IDF
uart_obj_t::rx_data_buf
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
uart_obj_t::rx_data_buf
uart_obj_t::rx_data_buf field
Data buffer to stash FIFO data
Syntax
Show:
Summary
Declaration
from
uart.c:140
uint8_t
*
rx_data_buf
;
Examples
References
from
examples
Code
Location
Referrer
uint8_t
*
rx_data_buf
;
/*!< Data buffer to stash FIFO data*/
uart.c:140
uart_hal_read_rxfifo
(
&
(
uart_context
[
uart_num
]
.
hal
)
,
p_uart
->
rx_data_buf
,
&
rx_fifo_len
)
;
uart.c:1138
uart_rx_intr_handler_default()
pat_idx
=
uart_find_pattern_from_last
(
p_uart
->
rx_data_buf
,
rx_fifo_len
-
1
,
pat_chr
,
pat_num
)
;
uart.c:1149
uart_rx_intr_handler_default()
sent
=
xRingbufferSendFromISR
(
p_uart
->
rx_ring_buf
,
p_uart
->
rx_data_buf
,
p_uart
->
rx_stash_len
,
&
HPTaskAwoken
)
;
uart.c:1160
uart_rx_intr_handler_default()
BaseType_t
res
=
xRingbufferSend
(
p_uart_obj
[
uart_num
]
->
rx_ring_buf
,
p_uart_obj
[
uart_num
]
->
rx_data_buf
,
p_uart_obj
[
uart_num
]
->
rx_stash_len
,
0
)
;
uart.c:1503
uart_check_buf_full()
BaseType_t
res
=
xRingbufferSend
(
p_uart_obj
[
uart_num
]
->
rx_ring_buf
,
p_uart_obj
[
uart_num
]
->
rx_data_buf
,
p_uart_obj
[
uart_num
]
->
rx_stash_len
,
0
)
;
uart.c:1617
uart_flush_input()
heap_caps_free
(
uart_obj
->
rx_data_buf
)
;
uart.c:1661
uart_free_driver_obj()
uart_obj
->
rx_data_buf
=
heap_caps_calloc
(
UART_HW_FIFO_LEN
(
uart_num
)
,
sizeof
(
uint32_t
)
,
UART_MALLOC_CAPS
)
;
uart.c:1676
uart_alloc_driver_obj()
if
(
!
uart_obj
->
rx_data_buf
)
{
uart.c:1677
uart_alloc_driver_obj()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
uart_obj_t::rx_data_buf
is written by 1 function and is read by 5 functions:
uart_alloc_driver_obj()
All items filtered out
uart_obj_t::rx_data_buf
uart_rx_intr_handler_default()
uart_check_buf_full()
uart_flush_input()
uart_free_driver_obj()
uart_alloc_driver_obj()
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