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

IRPyro evaluation tool with API integration. More...

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

Go to the source code of this file.

Functions

uint8_t message_getchar (uint8_t *c)
 Gets a character from the receive queue. More...
 
void message_putchar (uint8_t c, uint8_t go_flag)
 sends a character to the transmission queue and enables TX interrupt More...
 
void queue_get_data (void)
 interrupt handler for USART 2 More...
 
void queue_handle_enable (void)
 
void queue_send_data (void)
 

Variables

static volatile int RxOverflow = 0
 
static volatile int TxPrimed = 0
 
static volatile struct Queue Uart_Rx_Buffer = {0,0,{0}}
 
static volatile struct Queue Uart_Tx_Buffer = {0,0,{0}}
 

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_handle.c.

Variable Documentation

◆ RxOverflow

volatile int RxOverflow = 0
static

Definition at line 44 of file queue_handle.c.

◆ TxPrimed

volatile int TxPrimed = 0
static

Definition at line 43 of file queue_handle.c.

◆ Uart_Rx_Buffer

volatile struct Queue Uart_Rx_Buffer = {0,0,{0}}
static

Definition at line 1 of file queue_handle.c.

◆ Uart_Tx_Buffer

volatile struct Queue Uart_Tx_Buffer = {0,0,{0}}
static

Definition at line 1 of file queue_handle.c.