TinyUSB Library
hw_endpoint_get_by_num()
is only used within TinyUSB Library.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
Raspberry Pi Pico SDK and Examples
TinyUSB Library
hw_endpoint_get_by_num()
hw_endpoint_get_by_num() function
Syntax
Show:
Summary
Declaration
from
dcd_rp2040.c:59
TU_ATTR_ALWAYS_INLINE
static
inline
struct
hw_endpoint
*
hw_endpoint_get_by_num
(
uint8_t
num
,
tusb_dir_t
dir
)
;
Arguments
Argument
num
dir
Examples
References
from
examples
Code
Location
Referrer
TU_ATTR_ALWAYS_INLINE
static
inline
struct
hw_endpoint
*
hw_endpoint_get_by_num
(
uint8_t
num
,
tusb_dir_t
dir
)
{
dcd_rp2040.c:59
return
hw_endpoint_get_by_num
(
num
,
dir
)
;
dcd_rp2040.c:66
hw_endpoint_get_by_addr()
if
(
hw_endpoint_get_by_num
(
i
,
TUSB_DIR_OUT
)
->
hw_data_buf
!=
NULL
||
dcd_rp2040.c:105
_hw_endpoint_close()
hw_endpoint_get_by_num
(
i
,
TUSB_DIR_IN
)
->
hw_data_buf
!=
NULL
)
{
dcd_rp2040.c:106
_hw_endpoint_close()
struct
hw_endpoint
*
ep
=
hw_endpoint_get_by_num
(
i
>
>
1u
,
(
i
&
1u
)
?
TUSB_DIR_OUT
:
TUSB_DIR_IN
)
;
dcd_rp2040.c:180
hw_handle_buff_status()
struct
hw_endpoint
*
ep
=
hw_endpoint_get_by_num
(
0
,
dir
)
;
dcd_rp2040.c:199
reset_ep0()
struct
hw_endpoint
*
ep
=
hw_endpoint_get_by_num
(
i
,
TUSB_DIR_IN
)
;
dcd_rp2040.c:250
dcd_rp2040_irq()
Call Tree
from
examples
hw_endpoint_get_by_num()
is called by 5 functions:
hw_endpoint_get_by_addr()
_hw_endpoint_close()
hw_handle_buff_status()
reset_ep0()
dcd_rp2040_irq()
All items filtered out
hw_endpoint_get_by_num()
All items filtered out
Data Use
from
examples
hw_endpoint_get_by_num()
reads 1 variable:
hw_endpoints
All items filtered out
hw_endpoint_get_by_num()
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