pub struct AppCoreGuard<'a> { /* private fields */ }Available on crate feature
unstable only.Expand description
Will park the APP (second) core when dropped.
Parking stops the APP core immediately, also when it holds a lock. On the ESP32-S3, ESP32-S31, ESP32-H4 and ESP32-P4, DMA buffer operations lock the cache. If the APP core is parked during such an operation, the next cache operation on the PRO core waits forever. Make sure that the APP core does no DMA or cache operation before you drop this guard.
The parked APP core runs no IPC requests. A request that the APP core posted or took at the park can stay busy.
§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.