#include "pico/platform/compiler.h"#include "pico/platform/sections.h"#include "pico/platform/panic.h"#include "pico/platform/common.h"#include "hardware/regs/addressmap.h"#include "hardware/regs/sio.h"Go to the source code of this file.
Macros | |
| #define | PICO_USE_XIP_CACHE_AS_RAM 0 |
| #define | PICO_RP2350_A2_SUPPORTED 1 |
| #define | PICO_STACK_SIZE _u(0x800) |
| #define | PICO_HEAP_SIZE _u(0x800) |
| #define | PICO_NO_RAM_VECTOR_TABLE 0 |
| #define | PICO_USE_STACK_GUARDS 0 |
| #define | PICO_CLKDIV_ROUND_NEAREST 1 |
| #define | __fast_mul(a, b) |
| multiply two integer values using the fastest method possible | |
Functions | |
| static void | busy_wait_at_least_cycles (uint32_t minimum_cycles) |
| Helper method to busy-wait for at least the given number of cycles. | |
| static __force_inline void | __breakpoint (void) |
| Execute a breakpoint instruction. | |
| static __force_inline uint | get_core_num (void) |
| Get the current core number. | |
| static __force_inline uint | __get_current_exception (void) |
| Get the current exception level on this core. | |
| static __force_inline bool | pico_processor_state_is_nonsecure (void) |
| Return true if executing in the NonSecure state (Arm-only). | |
| uint8_t | rp2350_chip_version (void) |
| Returns the RP2350 chip revision number. | |
| static uint8_t | rp2040_chip_version (void) |
| Returns the RP2040 chip revision number for compatibility. | |
| static uint8_t | rp2350_rom_version (void) |
| Returns the RP2350 rom version number. | |
| static __force_inline int32_t | __mul_instruction (int32_t a, int32_t b) |
| Multiply two integers using an assembly MUL instruction. | |