Pico-Arduino
Public Member Functions | List of all members
MuliticoreFifo Class Reference

The RP2040 contains two FIFOs for passing data, messages or ordered events between the two cores. Each FIFO is 32 bits wide, and 8 entries deep. One of the FIFOs can only be written by core 0, and read by core 1. The other can only be written by core 1, and read by core 0. More...

#include <PicoMulticoreFifo.h>

Public Member Functions

bool push (uint32_t data, bool is_blocking=true)
 
bool pop (uint32_t &data, bool is_blocking=true)
 
bool isEmpty ()
 
bool isFull ()
 
void clear ()
 

Detailed Description

The RP2040 contains two FIFOs for passing data, messages or ordered events between the two cores. Each FIFO is 32 bits wide, and 8 entries deep. One of the FIFOs can only be written by core 0, and read by core 1. The other can only be written by core 1, and read by core 0.

Author
Phil Schatzmann

The documentation for this class was generated from the following file: