ME507 Utility Library  0.2.1
Mechatronics Course Support Software for ARM/Arduino/FreeRTOS
taskqueue.h File Reference
#include <Arduino.h>
#include "FreeRTOS.h"
#include "baseshare.h"
Include dependency graph for taskqueue.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Queue< dataType >
 Implements a queue to transmit data from one RTOS task to another. More...
 

Detailed Description

This file contains a very simple wrapper class for the FreeRTOS queue. It makes using the queue just a little bit easier in C++ than it is in C. This version has been tested on STM32's and ESP32's only because the insertion and extraction operators << and >> need specific functions to determine if they're running in ISR's or not.

Date
2012-Oct-21 JRR Original file
2014-Aug-26 JRR Changed file names and queue class name to Queue
2020-Oct-10 JRR Made compatible with Arduino/FreeRTOS environment
2020-Nov-18 JRR Added << and >> operators for ESP32 and STM32
2021-Sep-19 JRR Added overloads of get(), ISR_get(), peek(), and ISR_peek() which return copies

License: This file is copyright 2012-2020 by JR Ridgely and released under the Lesser GNU Public License, version 2. It intended for educational use only, but its use is not limited thereto.