TinyUSB Library
_hw_endpoint_init()
is only used within TinyUSB Library.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
Raspberry Pi Pico SDK and Examples
TinyUSB Library
_hw_endpoint_init()
_hw_endpoint_init() function
Syntax
Show:
Summary
Declaration
from
hcd_rp2040.c:307
static
void
_hw_endpoint_init
(
struct
hw_endpoint
*
ep
,
uint8_t
dev_addr
,
uint8_t
ep_addr
,
uint16_t
wMaxPacketSize
,
uint8_t
transfer_type
,
uint8_t
bmInterval
)
;
Arguments
Argument
ep
dev_addr
ep_addr
wMaxPacketSize
transfer_type
bmInterval
Related Functions
Found 19 other functions taking a
hw_endpoint
argument:
Function
hw_endpoint_lock_update()
hw_endpoint_reset_transfer()
hw_endpoint_xfer_start()
hw_endpoint_start_next_buffer()
_hw_endpoint_buffer_control_update32()
_hw_endpoint_buffer_control_set_value32()
hw_endpoint_xfer_continue()
e15_is_bulkin_ep()
e15_is_critical_frame_period()
hw_xfer_complete()
_hw_endpoint_buffer_control_get_value32()
prepare_ep_buffer()
sync_ep_buffer()
_hw_endpoint_xfer_sync()
_handle_buff_status_bit()
_hw_endpoint_alloc()
_hw_endpoint_close()
_hw_endpoint_buffer_control_clear_mask32()
_hw_endpoint_buffer_control_set_mask32()
Examples
References
from
examples
Code
Location
Referrer
static
void
_hw_endpoint_init
(
struct
hw_endpoint
*
ep
,
uint8_t
dev_addr
,
uint8_t
ep_addr
,
uint16_t
wMaxPacketSize
,
uint8_t
transfer_type
,
uint8_t
bmInterval
)
hcd_rp2040.c:307
_hw_endpoint_init
(
ep
,
hcd_rp2040.c:523
hcd_edpt_open()
_hw_endpoint_init
(
ep
,
dev_addr
,
ep_addr
,
ep
->
wMaxPacketSize
,
ep
->
transfer_type
,
0
)
;
hcd_rp2040.c:556
hcd_edpt_xfer()
_hw_endpoint_init
(
ep
,
dev_addr
,
0x00
,
ep
->
wMaxPacketSize
,
0
,
0
)
;
hcd_rp2040.c:613
hcd_setup_send()
Call Tree
from
examples
_hw_endpoint_init()
is called by 3 functions and calls 5 functions:
hcd_edpt_open()
hcd_edpt_xfer()
hcd_setup_send()
All items filtered out
_hw_endpoint_init()
tu_edpt_dir()
tu_edpt_number()
__assert_func()
hw_data_offset()
need_pre()
All items filtered out
Data Use
from
examples
_hw_endpoint_init()
reads 9 variables and writes 8 variables:
tusb_dir_t::TUSB_DIR_OUT
tusb_dir_t::TUSB_DIR_IN
usb_hw_t::int_ep_addr_ctrl
hw_endpoint::endpoint_control
hw_endpoint::buffer_control
hw_endpoint::hw_data_buf
hw_endpoint::transfer_type
hw_endpoint::interrupt_num
ep_pool
All items filtered out
_hw_endpoint_init()
usb_hw_t::int_ep_ctrl
hw_endpoint::configured
hw_endpoint::rx
hw_endpoint::ep_addr
hw_endpoint::next_pid
hw_endpoint::wMaxPacketSize
hw_endpoint::transfer_type
hw_endpoint::dev_addr
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