ESP-IDF
Select one of the symbols to view example projects that use it.
Symbol previews are coming soon...
Outline
#include <stdint.h>
#include <stdbool.h>
#include "sdkconfig.h"
#include "soc/reg_base.h"
#include "soc/usb_serial_jtag_struct.h"
#include "soc/uart_reg.h"
#include "soc/uart_struct.h"
is_transport_memory_region(intptr_t)
Files
loading...
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
components/esp_gdbstub/private_include/esp_gdbstub_memory_regions_common.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
* SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
/* ... */
#pragma
once
#include
<
stdint.h>
#include
<
stdbool.h>
#include
"
sdkconfig.h"
#if
CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG
#include
"
soc
/
reg_base.h"
#include
"
soc
/
usb_serial_jtag_struct.h"
/* ... */
#else
#include
"
soc
/
uart_reg.h"
#include
"
soc
/
uart_struct.h"
/* ... */
#endif
static
inline
bool
is_transport_memory_region
(
intptr_t
addr
)
{
#if
CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG
return
addr
>=
DR_REG_USB_SERIAL_JTAG_BASE
&&
addr
<=
DR_REG_USB_SERIAL_JTAG_BASE
+
sizeof
(
USB_SERIAL_JTAG
)
;
/* ... */
#else
return
addr
>=
REG_UART_BASE
(
CONFIG_ESP_CONSOLE_UART_NUM
)
&&
addr
<=
REG_UART_BASE
(
CONFIG_ESP_CONSOLE_UART_NUM
)
+
sizeof
(
UART0
)
;
/* ... */
#endif
}
{ ... }
Details
Show:
from
Types:
Columns:
All items filtered out
All items filtered out
This file uses the notable symbols shown below. Click anywhere in the file to view more details.
is_transport_memory_region()
UART0
REG_UART_BASE
is_transport_memory_region()::addr