PicoSDK
boot_lock_instance()
is only used within PicoSDK.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
Raspberry Pi Pico SDK and Examples
PicoSDK
boot_lock_instance()
boot_lock_instance() function
Get HW Bootlock instance from number
Syntax
Show:
Summary
Declaration
from
boot_lock.h:32
__force_inline
static
boot_lock_t
*
boot_lock_instance
(
uint
lock_num
)
;
Arguments
Argument
Description
lock_num
Bootlock ID
Return value
The bootlock instance
Examples
References
from
examples
Code
Location
Referrer
__force_inline
static
boot_lock_t
*
boot_lock_instance
(
uint
lock_num
)
{
boot_lock.h:32
boot_unlock_unsafe
(
boot_lock_instance
(
i
)
)
;
boot_lock.c:13
boot_locks_reset()
boot_lock_t
*
lock
=
boot_lock_instance
(
lock_num
)
;
boot_lock.c:19
boot_lock_init()
return
boot_try_lock_unsafe
(
boot_lock_instance
(
lock_num
)
)
;
lock.h:31
bootrom_try_acquire_lock()
boot_lock_unsafe_blocking
(
boot_lock_instance
(
lock_num
)
)
;
lock.h:48
bootrom_acquire_lock_blocking()
boot_unlock_unsafe
(
boot_lock_instance
(
lock_num
)
)
;
lock.h:63
bootrom_release_lock()
Call Tree
from
examples
boot_lock_instance()
is called by 5 functions and calls 1 function:
bootrom_try_acquire_lock()
bootrom_acquire_lock_blocking()
bootrom_release_lock()
boot_locks_reset()
boot_lock_init()
All items filtered out
boot_lock_instance()
__assert_func()
All items filtered out
Data Use
from
examples
boot_lock_instance()
:
All items filtered out
boot_lock_instance()
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