PicoSDK
boot_lock_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
boot_lock_t
boot_lock_t
A boot lock identifier
Syntax
Show:
Summary
Declaration
from
boot_lock.h:24
typedef
volatile
uint32_t
boot_lock_t
;
Examples
References
from
examples
Code
Location
Scope
Referrer
typedef
volatile
uint32_t
boot_lock_t
;
boot_lock.h:24
boot_lock_t
*
boot_lock_init
(
uint
lock_num
)
{
boot_lock.c:17
boot_lock_init()
boot_lock_t
*
lock
=
boot_lock_instance
(
lock_num
)
;
boot_lock.c:19
boot_lock_init()
__force_inline
static
boot_lock_t
*
boot_lock_instance
(
uint
lock_num
)
{
boot_lock.h:32
boot_lock_instance()
return
(
boot_lock_t
*
)
(
BOOTRAM_BASE
+
BOOTRAM_BOOTLOCK0_OFFSET
+
lock_num
*
4
)
;
boot_lock.h:34
boot_lock_instance()
__force_inline
static
uint
boot_lock_get_num
(
boot_lock_t
*
lock
)
{
boot_lock.h:43
boot_lock_get_num()
boot_lock_get_num()::lock
(
uint
)
lock
>=
NUM_BOOT_LOCKS
*
sizeof
(
boot_lock_t
)
+
BOOTRAM_BASE
+
BOOTRAM_BOOTLOCK0_OFFSET
||
boot_lock.h:45
boot_lock_get_num()
(
(
uint
)
lock
-
BOOTRAM_BASE
+
BOOTRAM_BOOTLOCK0_OFFSET
)
%
sizeof
(
boot_lock_t
)
!=
0
)
;
boot_lock.h:46
boot_lock_get_num()
return
(
uint
)
(
lock
-
(
boot_lock_t
*
)
(
BOOTRAM_BASE
+
BOOTRAM_BOOTLOCK0_OFFSET
)
)
;
boot_lock.h:47
boot_lock_get_num()
__force_inline
static
void
boot_lock_unsafe_blocking
(
boot_lock_t
*
lock
)
{
boot_lock.h:55
boot_lock_unsafe_blocking()
boot_lock_unsafe_blocking()::lock
__force_inline
static
bool
boot_try_lock_unsafe
(
boot_lock_t
*
lock
)
{
boot_lock.h:70
boot_try_lock_unsafe()
boot_try_lock_unsafe()::lock
__force_inline
static
void
boot_unlock_unsafe
(
boot_lock_t
*
lock
)
{
boot_lock.h:83
boot_unlock_unsafe()
boot_unlock_unsafe()::lock
__force_inline
static
uint32_t
boot_lock_blocking
(
boot_lock_t
*
lock
)
{
boot_lock.h:96
boot_lock_blocking()
boot_lock_blocking()::lock
inline
static
bool
is_boot_locked
(
boot_lock_t
*
lock
)
{
boot_lock.h:107
is_boot_locked()
is_boot_locked()::lock
check_hw_size
(
boot_lock_t
,
4
)
;
boot_lock.h:108
is_boot_locked()
__force_inline
static
void
boot_unlock
(
boot_lock_t
*
lock
,
uint32_t
saved_irq
)
{
boot_lock.h:123
boot_unlock()
boot_unlock()::lock
boot_lock_t
*
boot_lock_init
(
uint
lock_num
)
;
boot_lock.h:136
boot_lock_init()
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
Instance
Scope
Location
Project
return
boot_lock_instance()
boot_lock.h:32
boot_lock_get_num()::lock
boot_lock_get_num()
boot_lock.h:43
boot_lock_unsafe_blocking()::lock
boot_lock_unsafe_blocking()
boot_lock.h:55
boot_try_lock_unsafe()::lock
boot_try_lock_unsafe()
boot_lock.h:70
boot_unlock_unsafe()::lock
boot_unlock_unsafe()
boot_lock.h:83
boot_lock_blocking()::lock
boot_lock_blocking()
boot_lock.h:96
is_boot_locked()::lock
is_boot_locked()
boot_lock.h:107
boot_unlock()::lock
boot_unlock()
boot_lock.h:123
return
boot_lock_init()
boot_lock.h:136
return
boot_lock_init()
boot_lock.c:17
Lifecycle
from
examples
All items filtered out
All items filtered out