modm API documentation
|
#include <modm/platform/core/multicore.hpp>
Static Public Member Functions | |
static void | init () |
static void | lock () |
static void | unlock () |
The RP2040 provides 32 hardware spin locks, which can be used to manage mutually-exclusive access to shared software and hardware resources.
Instance 0 allocated for modm usage.
Acquire a spin lock without disabling interrupts (hence unsafe)