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

Manages message queues from the GUI to sensor and sensor to GUI. More...

#include "Micro_controller_template.h"
#include "queue.h"
Include dependency graph for queue_handle.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ERR_FAILED   1
 
#define ERR_OK   0
 
#define ERR_TIMEOUT   2
 
#define IRPyro_AFE_SIZE   2
 
#define IRPyro_CCP_SIZE   5
 
#define IRPyro_CCP_WRITE   0x10
 
#define IRPyro_DATA_SIZE   17
 
#define IRPyro_ENG_SIZE   1
 
#define IRPyro_REV_SIZE   1
 
#define IRPyro_STS_SIZE   1
 
#define IRPyro_VERSION   0x02
 
#define IRPyro_WUP_SIZE   6
 
#define USB_BCOK   5
 
#define USB_DATA   1
 
#define USB_ERR   2
 
#define USB_IN_BUFFER_SIZE   128
 
#define USB_NODATA   0
 
#define USB_SENT   3
 
#define USB_TIMEOUT   501
 
#define USB_TO   4
 

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_handle_enable (void)
 

Detailed Description

Manages message queues from the GUI to sensor and sensor to GUI.

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.h.

Macro Definition Documentation

◆ ERR_FAILED

#define ERR_FAILED   1

Definition at line 49 of file queue_handle.h.

◆ ERR_OK

#define ERR_OK   0

Definition at line 48 of file queue_handle.h.

◆ ERR_TIMEOUT

#define ERR_TIMEOUT   2

Definition at line 50 of file queue_handle.h.

◆ IRPyro_AFE_SIZE

#define IRPyro_AFE_SIZE   2

Definition at line 57 of file queue_handle.h.

◆ IRPyro_CCP_SIZE

#define IRPyro_CCP_SIZE   5

Definition at line 56 of file queue_handle.h.

◆ IRPyro_CCP_WRITE

#define IRPyro_CCP_WRITE   0x10

Definition at line 53 of file queue_handle.h.

◆ IRPyro_DATA_SIZE

#define IRPyro_DATA_SIZE   17

Definition at line 55 of file queue_handle.h.

◆ IRPyro_ENG_SIZE

#define IRPyro_ENG_SIZE   1

Definition at line 59 of file queue_handle.h.

◆ IRPyro_REV_SIZE

#define IRPyro_REV_SIZE   1

Definition at line 60 of file queue_handle.h.

◆ IRPyro_STS_SIZE

#define IRPyro_STS_SIZE   1

Definition at line 61 of file queue_handle.h.

◆ IRPyro_VERSION

#define IRPyro_VERSION   0x02

Definition at line 52 of file queue_handle.h.

◆ IRPyro_WUP_SIZE

#define IRPyro_WUP_SIZE   6

Definition at line 58 of file queue_handle.h.

◆ USB_BCOK

#define USB_BCOK   5

Definition at line 43 of file queue_handle.h.

◆ USB_DATA

#define USB_DATA   1

Definition at line 39 of file queue_handle.h.

◆ USB_ERR

#define USB_ERR   2

Definition at line 40 of file queue_handle.h.

◆ USB_IN_BUFFER_SIZE

#define USB_IN_BUFFER_SIZE   128

Definition at line 46 of file queue_handle.h.

◆ USB_NODATA

#define USB_NODATA   0

Definition at line 38 of file queue_handle.h.

◆ USB_SENT

#define USB_SENT   3

Definition at line 41 of file queue_handle.h.

◆ USB_TIMEOUT

#define USB_TIMEOUT   501

Definition at line 45 of file queue_handle.h.

◆ USB_TO

#define USB_TO   4

Definition at line 42 of file queue_handle.h.