v2.0.0
Macros | Functions
platform.h File Reference
`#include "pico/platform/compiler.h"`
`#include "pico/platform/sections.h"`
`#include "pico/platform/panic.h"`
`#include "hardware/regs/addressmap.h"`
`#include "hardware/regs/sio.h"`
Include dependency graph for platform.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Macros
#define | PICO_STACK_SIZE _u(0x800)
#define | PICO_HEAP_SIZE _u(0x800)
#define | PICO_NO_RAM_VECTOR_TABLE 0
#define | PICO_RAM_VECTOR_TABLE_SIZE (VTABLE_FIRST_IRQ + NUM_IRQS)
#define | PICO_USE_STACK_GUARDS 0
#define | PICO_NO_SIM_CHECK 1
#define | host_safe_hw_ptr(x) ((uintptr_t)(x))
#define | native_safe_hw_ptr(x) host_safe_hw_ptr(x)
#define | __fast_mul(a, b)
| multiply two integer values using the fastest method possible More...

## Functions
static __force_inline void | tight_loop_contents (void)
| No-op function for the body of tight loops. More...
static void | busy_wait_at_least_cycles (uint32_t minimum_cycles)
| Helper method to busy-wait for at least the given number of cycles. More...
bool | running_on_fpga (void)
static bool | running_in_sim (void)
static __force_inline void | __breakpoint (void)
| Execute a breakpoint instruction.
static __force_inline uint | get_core_num (void)
| Get the current core number. More...
static __force_inline uint | __get_current_exception (void)
| Get the current exception level on this core. More...
static __force_inline bool | pico_processor_state_is_nonsecure (void)
| Return true if executing in the NonSecure state (Arm-only) More...
uint8_t | rp2350_chip_version (void)
| Returns the RP2350 chip revision number. More...
static uint8_t | rp2040_chip_version (void)
| Returns the RP2040 chip revision number for compatibility. More...
static uint8_t | rp2040_rom_version (void)
| Returns the RP2040 rom version number. More...
static __force_inline int32_t | __mul_instruction (int32_t a, int32_t b)
| Multiply two integers using an assembly `MUL` instruction. More...