IRPyro messaging application
Communications program between IRPyro and IRPyro evaluation tool
queue.c File Reference

IRPyro evaluation tool with API integration. More...

#include "queue.h"
Include dependency graph for queue.c:

Go to the source code of this file.

Functions

int message_dequeue (volatile struct Queue *q, uint8_t *data)
 Obtains one byte from the circular buffer. More...
 
int message_enqueue (volatile struct Queue *q, uint8_t data)
 Adds a byte to the circular buffer. More...
 
int message_queue_empty (volatile struct Queue *q)
 Checks if the queue is empty. More...
 
int message_queue_full (volatile struct Queue *q)
 Checks is the queue is full. More...
 

Detailed Description

IRPyro evaluation tool with API integration.

Author
_KEMET, Ltd
Date
March 2018
Version
Release 1.0.6
Attention

© COPYRIGHT 2018 _KEMET, Ltd

   Copyright (c) 2018, _KEMET, Ltd
   All rights reserved.

   THIS SOFTWARE IS PROVIDED BY _KEMET, Ltd ''AS IS'' AND ANY
   EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
   WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
   DISCLAIMED. IN NO EVENT SHALL _KEMET, Ltd BE LIABLE FOR ANY
   DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
   (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
   LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
   ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
   SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file queue.c.