PicoVGA  1.0-cmake
VGA/TV display on Raspberry Pico
Second Core

Description

Execute functions on the second core.

If the 2nd core is not too busy generating the video, it can be passed a request to perform the function. This does not affect the video generation, it may just happen that the requested function runs slowly when the generator is heavily loaded. The function cannot use interrupts, cannot disable interrupts, and may be restricted from using the hardware interpolator (video interrupt does not save its state).

Functions

void Core1Exec (void(*fnc)())
 Execute remote function on second core. More...
 
Bool Core1Busy ()
 Check if core 1 is busy executing remote function.
 
void Core1Wait ()
 Wait for core 1 finish executing remote function.
 

Function Documentation

◆ Core1Exec()

void Core1Exec ( void(*)()  fnc)

Execute remote function on second core.

Parameters
fncFunction to execute on the second core