Function esp_idf_hal::cpu::core
source ยท #[link_section = ".iram1.cpu_core"]
pub fn core() -> Core
Expand description
Returns the currently active core ID On single-core systems, like esp32s2 and esp32c3 this function always returns 0
On dual-core systems like esp32 and esp32s3 this function returns: 0 - when the active core is the PRO CPU 1 - when the active core is the APP CPU