PicoSDK
+
0
/3 examples
SourceVu will show references to
sio_hw_t
from the following samples and libraries:
FreeRTOS
TinyUSB Library
button 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
sio_hw_t
sio_hw_t struct
Syntax
Show:
Summary
Declaration
from
sio.h:28
typedef
struct
{
_REG_
(
SIO_CPUID_OFFSET
)
io_ro_32
cpuid
;
_REG_
(
SIO_GPIO_IN_OFFSET
)
io_ro_32
gpio_in
;
_REG_
(
SIO_GPIO_HI_IN_OFFSET
)
io_ro_32
gpio_hi_in
;
uint32_t
_pad0
;
_REG_
(
SIO_GPIO_OUT_OFFSET
)
io_rw_32
gpio_out
;
_REG_
(
SIO_GPIO_HI_OUT_OFFSET
)
io_rw_32
gpio_hi_out
;
_REG_
(
SIO_GPIO_OUT_SET_OFFSET
)
io_wo_32
gpio_set
;
_REG_
(
SIO_GPIO_HI_OUT_SET_OFFSET
)
io_wo_32
gpio_hi_set
;
_REG_
(
SIO_GPIO_OUT_CLR_OFFSET
)
io_wo_32
gpio_clr
;
_REG_
(
SIO_GPIO_HI_OUT_CLR_OFFSET
)
io_wo_32
gpio_hi_clr
;
_REG_
(
SIO_GPIO_OUT_XOR_OFFSET
)
io_wo_32
gpio_togl
;
_REG_
(
SIO_GPIO_HI_OUT_XOR_OFFSET
)
io_wo_32
gpio_hi_togl
;
_REG_
(
SIO_GPIO_OE_OFFSET
)
io_rw_32
gpio_oe
;
_REG_
(
SIO_GPIO_HI_OE_OFFSET
)
io_rw_32
gpio_hi_oe
;
_REG_
(
SIO_GPIO_OE_SET_OFFSET
)
io_wo_32
gpio_oe_set
;
_REG_
(
SIO_GPIO_HI_OE_SET_OFFSET
)
io_wo_32
gpio_hi_oe_set
;
_REG_
(
SIO_GPIO_OE_CLR_OFFSET
)
io_wo_32
gpio_oe_clr
;
_REG_
(
SIO_GPIO_HI_OE_CLR_OFFSET
)
io_wo_32
gpio_hi_oe_clr
;
_REG_
(
SIO_GPIO_OE_XOR_OFFSET
)
io_wo_32
gpio_oe_togl
;
_REG_
(
SIO_GPIO_HI_OE_XOR_OFFSET
)
io_wo_32
gpio_hi_oe_togl
;
_REG_
(
SIO_FIFO_ST_OFFSET
)
io_rw_32
fifo_st
;
_REG_
(
SIO_FIFO_WR_OFFSET
)
io_wo_32
fifo_wr
;
_REG_
(
SIO_FIFO_RD_OFFSET
)
io_ro_32
fifo_rd
;
_REG_
(
SIO_SPINLOCK_ST_OFFSET
)
io_ro_32
spinlock_st
;
uint32_t
_pad1
[
8
]
;
interp_hw_t
interp
[
2
]
;
_REG_
(
SIO_SPINLOCK0_OFFSET
)
io_rw_32
spinlock
[
32
]
;
_REG_
(
SIO_DOORBELL_OUT_SET_OFFSET
)
io_rw_32
doorbell_out_set
;
_REG_
(
SIO_DOORBELL_OUT_CLR_OFFSET
)
io_rw_32
doorbell_out_clr
;
_REG_
(
SIO_DOORBELL_IN_SET_OFFSET
)
io_rw_32
doorbell_in_set
;
_REG_
(
SIO_DOORBELL_IN_CLR_OFFSET
)
io_rw_32
doorbell_in_clr
;
_REG_
(
SIO_PERI_NONSEC_OFFSET
)
io_rw_32
peri_nonsec
;
uint32_t
_pad2
[
3
]
;
_REG_
(
SIO_RISCV_SOFTIRQ_OFFSET
)
io_rw_32
riscv_softirq
;
_REG_
(
SIO_MTIME_CTRL_OFFSET
)
io_rw_32
mtime_ctrl
;
uint32_t
_pad3
[
2
]
;
_REG_
(
SIO_MTIME_OFFSET
)
io_rw_32
mtime
;
_REG_
(
SIO_MTIMEH_OFFSET
)
io_rw_32
mtimeh
;
_REG_
(
SIO_MTIMECMP_OFFSET
)
io_rw_32
mtimecmp
;
_REG_
(
SIO_MTIMECMPH_OFFSET
)
io_rw_32
mtimecmph
;
_REG_
(
SIO_TMDS_CTRL_OFFSET
)
io_rw_32
tmds_ctrl
;
_REG_
(
SIO_TMDS_WDATA_OFFSET
)
io_wo_32
tmds_wdata
;
_REG_
(
SIO_TMDS_PEEK_SINGLE_OFFSET
)
io_ro_32
tmds_peek_single
;
_REG_
(
SIO_TMDS_POP_SINGLE_OFFSET
)
io_ro_32
tmds_pop_single
;
_REG_
(
SIO_TMDS_PEEK_DOUBLE_L0_OFFSET
)
io_ro_32
tmds_peek_double_l0
;
_REG_
(
SIO_TMDS_POP_DOUBLE_L0_OFFSET
)
io_ro_32
tmds_pop_double_l0
;
_REG_
(
SIO_TMDS_PEEK_DOUBLE_L1_OFFSET
)
io_ro_32
tmds_peek_double_l1
;
_REG_
(
SIO_TMDS_POP_DOUBLE_L1_OFFSET
)
io_ro_32
tmds_pop_double_l1
;
_REG_
(
SIO_TMDS_PEEK_DOUBLE_L2_OFFSET
)
io_ro_32
tmds_peek_double_l2
;
_REG_
(
SIO_TMDS_POP_DOUBLE_L2_OFFSET
)
io_ro_32
tmds_pop_double_l2
;
}
sio_hw_t
;
Fields
Field
Declared as
sio_hw_t::cpuid
io_ro_32
sio_hw_t::gpio_in
io_ro_32
sio_hw_t::gpio_hi_in
io_ro_32
sio_hw_t::_pad0
uint32_t
sio_hw_t::gpio_out
io_rw_32
sio_hw_t::gpio_hi_out
io_rw_32
sio_hw_t::gpio_set
io_wo_32
sio_hw_t::gpio_hi_set
io_wo_32
sio_hw_t::gpio_clr
io_wo_32
sio_hw_t::gpio_hi_clr
io_wo_32
sio_hw_t::gpio_togl
io_wo_32
sio_hw_t::gpio_hi_togl
io_wo_32
sio_hw_t::gpio_oe
io_rw_32
sio_hw_t::gpio_hi_oe
io_rw_32
sio_hw_t::gpio_oe_set
io_wo_32
sio_hw_t::gpio_hi_oe_set
io_wo_32
sio_hw_t::gpio_oe_clr
io_wo_32
sio_hw_t::gpio_hi_oe_clr
io_wo_32
sio_hw_t::gpio_oe_togl
io_wo_32
sio_hw_t::gpio_hi_oe_togl
io_wo_32
sio_hw_t::fifo_st
io_rw_32
sio_hw_t::fifo_wr
io_wo_32
sio_hw_t::fifo_rd
io_ro_32
sio_hw_t::spinlock_st
io_ro_32
sio_hw_t::_pad1
uint32_t
[
8
]
sio_hw_t::interp
interp_hw_t
[
2
]
sio_hw_t::spinlock
io_rw_32
[
32
]
sio_hw_t::doorbell_out_set
io_rw_32
sio_hw_t::doorbell_out_clr
io_rw_32
sio_hw_t::doorbell_in_set
io_rw_32
sio_hw_t::doorbell_in_clr
io_rw_32
sio_hw_t::peri_nonsec
io_rw_32
sio_hw_t::_pad2
uint32_t
[
3
]
sio_hw_t::riscv_softirq
io_rw_32
sio_hw_t::mtime_ctrl
io_rw_32
sio_hw_t::_pad3
uint32_t
[
2
]
sio_hw_t::mtime
io_rw_32
sio_hw_t::mtimeh
io_rw_32
sio_hw_t::mtimecmp
io_rw_32
sio_hw_t::mtimecmph
io_rw_32
sio_hw_t::tmds_ctrl
io_rw_32
sio_hw_t::tmds_wdata
io_wo_32
sio_hw_t::tmds_peek_single
io_ro_32
sio_hw_t::tmds_pop_single
io_ro_32
sio_hw_t::tmds_peek_double_l0
io_ro_32
sio_hw_t::tmds_pop_double_l0
io_ro_32
sio_hw_t::tmds_peek_double_l1
io_ro_32
sio_hw_t::tmds_pop_double_l1
io_ro_32
sio_hw_t::tmds_peek_double_l2
io_ro_32
sio_hw_t::tmds_pop_double_l2
io_ro_32
Examples
sio_hw_t
is referenced by 3 libraries and example projects:
FreeRTOS
TinyUSB Library
button sample
References
from
0/3
examples
Code
Location
Referrer
typedef
struct
{
sio.h:28
}
sio_hw_t
;
sio.h:329
return
sio_hw
->
gpio_in
&
(
1u
<
<
gpio
)
;
gpio.h:861
gpio_get()
return
sio_hw
->
gpio_out
&
(
1u
<
<
gpio
)
;
gpio.h:1190
gpio_get_out_level()
return
sio_hw
->
gpio_oe
&
(
1u
<
<
(
gpio
)
)
;
gpio.h:1375
gpio_is_dir_out()
check_hw_layout
(
sio_hw_t
,
interp
,
SIO_INTERP0_ACCUM0_OFFSET
)
;
interp.c:13
sio_hw
->
fifo_wr
=
data
;
multicore.c:46
multicore_fifo_push_timeout_us()
*
out
=
sio_hw
->
fifo_rd
;
multicore.c:65
multicore_fifo_pop_timeout_us()
if
(
sio_hw
->
fifo_rd
==
LOCKOUT_MAGIC_START
)
{
multicore.c:208
multicore_lockout_handler()
return
sio_hw
->
fifo_st
&
SIO_FIFO_ST_VLD_BITS
;
multicore.h:146
multicore_fifo_rvalid()
return
sio_hw
->
fifo_st
&
SIO_FIFO_ST_RDY_BITS
;
multicore.h:157
multicore_fifo_wready()
sio_hw
->
fifo_wr
=
data
;
multicore.h:189
multicore_fifo_push_blocking_inline()
return
sio_hw
->
fifo_rd
;
multicore.h:237
multicore_fifo_pop_blocking_inline()
(
void
)
sio_hw
->
fifo_rd
;
multicore.h:260
multicore_fifo_drain()
sio_hw
->
fifo_st
=
0xff
;
multicore.h:275
multicore_fifo_clear_irq()
return
sio_hw
->
fifo_st
;
multicore.h:294
multicore_fifo_get_status()
sio_hw
->
doorbell_out_set
=
1u
<
<
doorbell_num
;
multicore.h:350
multicore_doorbell_set_other_core()
sio_hw
->
doorbell_out_clr
=
1u
<
<
doorbell_num
;
multicore.h:359
multicore_doorbell_clear_other_core()
sio_hw
->
doorbell_in_set
=
1u
<
<
doorbell_num
;
multicore.h:368
multicore_doorbell_set_current_core()
sio_hw
->
doorbell_in_clr
=
1u
<
<
doorbell_num
;
multicore.h:377
multicore_doorbell_clear_current_core()
return
sio_hw
->
doorbell_in_set
&
(
1u
<
<
doorbell_num
)
;
multicore.h:386
multicore_doorbell_is_set_current_core()
return
sio_hw
->
doorbell_out_set
&
(
1u
<
<
doorbell_num
)
;
multicore.h:395
multicore_doorbell_is_set_other_core()
}
sio_hw_t
;
sio.h:329
sio_hw_t
static_assert
(
sizeof
(
sio_hw_t
)
==
0x01e8
,
""
)
;
sio.h:333
Call Tree
from
0/3
examples
All items filtered out
All items filtered out
Data Use
from
0/3
examples
All items filtered out
All items filtered out
Class Tree
from
0/3
examples
All items filtered out
All items filtered out
Override Tree
from
0/3
examples
All items filtered out
All items filtered out
Implementations
from
0/3
examples
All items filtered out
All items filtered out
Instances
from
0/3
examples
Lifecycle
from
0/3
examples
All items filtered out
All items filtered out