PicoSDK
xosc_hw_t
is only used within PicoSDK.
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
xosc_hw_t
xosc_hw_t struct
\tag::xosc_hw[]
Syntax
Show:
Summary
Declaration
from
xosc.h:27
typedef
struct
{
_REG_
(
XOSC_CTRL_OFFSET
)
io_rw_32
ctrl
;
_REG_
(
XOSC_STATUS_OFFSET
)
io_rw_32
status
;
_REG_
(
XOSC_DORMANT_OFFSET
)
io_rw_32
dormant
;
_REG_
(
XOSC_STARTUP_OFFSET
)
io_rw_32
startup
;
_REG_
(
XOSC_COUNT_OFFSET
)
io_rw_32
count
;
}
xosc_hw_t
;
Fields
Field
Declared as
xosc_hw_t::ctrl
io_rw_32
xosc_hw_t::status
io_rw_32
xosc_hw_t::dormant
io_rw_32
xosc_hw_t::startup
io_rw_32
xosc_hw_t::count
io_rw_32
Examples
References
from
examples
Code
Location
Referrer
typedef
struct
{
xosc.h:27
}
xosc_hw_t
;
xosc.h:57
xosc_hw
->
ctrl
=
XOSC_CTRL_FREQ_RANGE_VALUE_1_15MHZ
;
xosc.c:31
xosc_init()
xosc_hw
->
startup
=
STARTUP_DELAY
;
xosc.c:34
xosc_init()
hw_set_bits
(
&
xosc_hw
->
ctrl
,
XOSC_CTRL_ENABLE_VALUE_ENABLE
<
<
XOSC_CTRL_ENABLE_LSB
)
;
xosc.c:37
xosc_init()
while
(
!
(
xosc_hw
->
status
&
XOSC_STATUS_STABLE_BITS
)
)
{
xosc.c:40
xosc_init()
uint32_t
tmp
=
xosc_hw
->
ctrl
;
xosc.c:46
xosc_disable()
xosc_hw
->
ctrl
=
tmp
;
xosc.c:49
xosc_disable()
while
(
xosc_hw
->
status
&
XOSC_STATUS_STABLE_BITS
)
{
xosc.c:51
xosc_disable()
xosc_hw
->
dormant
=
XOSC_DORMANT_VALUE_DORMANT
;
xosc.c:58
xosc_dormant()
while
(
!
(
xosc_hw
->
status
&
XOSC_STATUS_STABLE_BITS
)
)
{
xosc.c:60
xosc_dormant()
}
xosc_hw_t
;
xosc.h:57
xosc_hw_t
static_assert
(
sizeof
(
xosc_hw_t
)
==
0x0014
,
""
)
;
xosc.h:61
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
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