PicoSDK
+
0
/2 examples
SourceVu will show references to
usb_hw_t
from the following samples and libraries:
TinyUSB Library
dev_lowlevel sample
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
Raspberry Pi Pico SDK and Examples
PicoSDK
usb_hw_t
usb_hw_t struct
Syntax
Show:
Summary
Declaration
from
usb.h:27
typedef
struct
{
_REG_
(
USB_ADDR_ENDP_OFFSET
)
io_rw_32
dev_addr_ctrl
;
_REG_
(
USB_ADDR_ENDP1_OFFSET
)
io_rw_32
int_ep_addr_ctrl
[
15
]
;
_REG_
(
USB_MAIN_CTRL_OFFSET
)
io_rw_32
main_ctrl
;
_REG_
(
USB_SOF_WR_OFFSET
)
io_wo_32
sof_wr
;
_REG_
(
USB_SOF_RD_OFFSET
)
io_ro_32
sof_rd
;
_REG_
(
USB_SIE_CTRL_OFFSET
)
io_rw_32
sie_ctrl
;
_REG_
(
USB_SIE_STATUS_OFFSET
)
io_rw_32
sie_status
;
_REG_
(
USB_INT_EP_CTRL_OFFSET
)
io_rw_32
int_ep_ctrl
;
_REG_
(
USB_BUFF_STATUS_OFFSET
)
io_rw_32
buf_status
;
_REG_
(
USB_BUFF_CPU_SHOULD_HANDLE_OFFSET
)
io_ro_32
buf_cpu_should_handle
;
_REG_
(
USB_EP_ABORT_OFFSET
)
io_rw_32
abort
;
_REG_
(
USB_EP_ABORT_DONE_OFFSET
)
io_rw_32
abort_done
;
_REG_
(
USB_EP_STALL_ARM_OFFSET
)
io_rw_32
ep_stall_arm
;
_REG_
(
USB_NAK_POLL_OFFSET
)
io_rw_32
nak_poll
;
_REG_
(
USB_EP_STATUS_STALL_NAK_OFFSET
)
io_rw_32
ep_nak_stall_status
;
_REG_
(
USB_USB_MUXING_OFFSET
)
io_rw_32
muxing
;
_REG_
(
USB_USB_PWR_OFFSET
)
io_rw_32
pwr
;
_REG_
(
USB_USBPHY_DIRECT_OFFSET
)
io_rw_32
phy_direct
;
_REG_
(
USB_USBPHY_DIRECT_OVERRIDE_OFFSET
)
io_rw_32
phy_direct_override
;
_REG_
(
USB_USBPHY_TRIM_OFFSET
)
io_rw_32
phy_trim
;
_REG_
(
USB_LINESTATE_TUNING_OFFSET
)
io_rw_32
linestate_tuning
;
_REG_
(
USB_INTR_OFFSET
)
io_ro_32
intr
;
_REG_
(
USB_INTE_OFFSET
)
io_rw_32
inte
;
_REG_
(
USB_INTF_OFFSET
)
io_rw_32
intf
;
_REG_
(
USB_INTS_OFFSET
)
io_ro_32
ints
;
uint32_t
_pad0
[
25
]
;
_REG_
(
USB_SOF_TIMESTAMP_RAW_OFFSET
)
io_ro_32
sof_timestamp_raw
;
_REG_
(
USB_SOF_TIMESTAMP_LAST_OFFSET
)
io_ro_32
sof_timestamp_last
;
_REG_
(
USB_SM_STATE_OFFSET
)
io_ro_32
sm_state
;
_REG_
(
USB_EP_TX_ERROR_OFFSET
)
io_rw_32
ep_tx_error
;
_REG_
(
USB_EP_RX_ERROR_OFFSET
)
io_rw_32
ep_rx_error
;
_REG_
(
USB_DEV_SM_WATCHDOG_OFFSET
)
io_rw_32
dev_sm_watchdog
;
}
usb_hw_t
;
Fields
Field
Declared as
usb_hw_t::dev_addr_ctrl
io_rw_32
usb_hw_t::int_ep_addr_ctrl
io_rw_32
[
15
]
usb_hw_t::main_ctrl
io_rw_32
usb_hw_t::sof_wr
io_wo_32
usb_hw_t::sof_rd
io_ro_32
usb_hw_t::sie_ctrl
io_rw_32
usb_hw_t::sie_status
io_rw_32
usb_hw_t::int_ep_ctrl
io_rw_32
usb_hw_t::buf_status
io_rw_32
usb_hw_t::buf_cpu_should_handle
io_ro_32
usb_hw_t::abort
io_rw_32
usb_hw_t::abort_done
io_rw_32
usb_hw_t::ep_stall_arm
io_rw_32
usb_hw_t::nak_poll
io_rw_32
usb_hw_t::ep_nak_stall_status
io_rw_32
usb_hw_t::muxing
io_rw_32
usb_hw_t::pwr
io_rw_32
usb_hw_t::phy_direct
io_rw_32
usb_hw_t::phy_direct_override
io_rw_32
usb_hw_t::phy_trim
io_rw_32
usb_hw_t::linestate_tuning
io_rw_32
usb_hw_t::intr
io_ro_32
usb_hw_t::inte
io_rw_32
usb_hw_t::intf
io_rw_32
usb_hw_t::ints
io_ro_32
usb_hw_t::_pad0
uint32_t
[
25
]
usb_hw_t::sof_timestamp_raw
io_ro_32
usb_hw_t::sof_timestamp_last
io_ro_32
usb_hw_t::sm_state
io_ro_32
usb_hw_t::ep_tx_error
io_rw_32
usb_hw_t::ep_rx_error
io_rw_32
usb_hw_t::dev_sm_watchdog
io_rw_32
Examples
usb_hw_t
is referenced by 2 libraries and example projects:
TinyUSB Library
dev_lowlevel sample
References
from
0/2
examples
Code
Location
Referrer
typedef
struct
{
usb.h:27
}
usb_hw_t
;
usb.h:596
if
(
usb_hw
->
sie_ctrl
==
USB_SIE_CTRL_RESET
)
{
runtime_init.c:100
runtime_init_usb_power_down()
hw_set_bits
(
&
usb_hw
->
sie_ctrl
,
USB_SIE_CTRL_TRANSCEIVER_PD_BITS
)
;
runtime_init.c:101
runtime_init_usb_power_down()
}
usb_hw_t
;
usb.h:596
usb_hw_t
static_assert
(
sizeof
(
usb_hw_t
)
==
0x0118
,
""
)
;
usb.h:599
Call Tree
from
0/2
examples
All items filtered out
All items filtered out
Data Use
from
0/2
examples
All items filtered out
All items filtered out
Class Tree
from
0/2
examples
All items filtered out
All items filtered out
Override Tree
from
0/2
examples
All items filtered out
All items filtered out
Implementations
from
0/2
examples
All items filtered out
All items filtered out
Instances
from
0/2
examples
Lifecycle
from
0/2
examples
All items filtered out
All items filtered out