cpu_conf.h File Reference

CPU configuration for the RP2350. More...

Detailed Description

CPU configuration for the RP2350.

Author
Tom Hert git@a.nosp@m.nnsa.nosp@m.nn.eu

Definition in file cpu_conf.h.

#include "RP2350.h"
#include "core_cm33.h"
#include "cpu_conf_common.h"
+ Include dependency graph for cpu_conf.h:

Go to the source code of this file.

#define CPU_DEFAULT_IRQ_PRIO   1u
 
#define CPU_IRQ_NUMOF   52u
 
#define SIO_FIFO_READ_VALID_BIT   0
 
#define SIO_FIFO_SEND_READY_BIT   1
 
#define core1_psm_bit   24
 
typedef void *(* core_1_fn_t) (void *arg)
 The function signature used for any function passed onto core 1.
 
static volatile uint32_t core_1_stack [16 *THREAD_STACKSIZE_DEFAULT]
 The stack used by core 1, 16 times the thread stack size.
 
void core1_init (core_1_fn_t function, void *arg)
 Init Core 1. More...
 
void _core1_trampoline (void)
 This is the internal trampoline setting everything up before the entry function gets executed, it retrieves the required data from the stack and then jumps to the designated function.
 

Function Documentation

◆ core1_init()

void core1_init ( core_1_fn_t  function,
void *  arg 
)

Init Core 1.

Parameters
functionThe function to be loaded onto Core 1
argThe argument to pass onto the the function (NULL if none)