IRPyro messaging application
Communications program between IRPyro and IRPyro evaluation tool
|
Manages message queues from the GUI to sensor and sensor to GUI. More...
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) |
Manages message queues from the GUI to sensor and sensor to GUI.
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.
#define ERR_FAILED 1 |
Definition at line 49 of file queue_handle.h.
#define ERR_OK 0 |
Definition at line 48 of file queue_handle.h.
#define ERR_TIMEOUT 2 |
Definition at line 50 of file queue_handle.h.
#define IRPyro_AFE_SIZE 2 |
Definition at line 57 of file queue_handle.h.
#define IRPyro_CCP_SIZE 5 |
Definition at line 56 of file queue_handle.h.
#define IRPyro_CCP_WRITE 0x10 |
Definition at line 53 of file queue_handle.h.
#define IRPyro_DATA_SIZE 17 |
Definition at line 55 of file queue_handle.h.
#define IRPyro_ENG_SIZE 1 |
Definition at line 59 of file queue_handle.h.
#define IRPyro_REV_SIZE 1 |
Definition at line 60 of file queue_handle.h.
#define IRPyro_STS_SIZE 1 |
Definition at line 61 of file queue_handle.h.
#define IRPyro_VERSION 0x02 |
Definition at line 52 of file queue_handle.h.
#define IRPyro_WUP_SIZE 6 |
Definition at line 58 of file queue_handle.h.
#define USB_BCOK 5 |
Definition at line 43 of file queue_handle.h.
#define USB_DATA 1 |
Definition at line 39 of file queue_handle.h.
#define USB_ERR 2 |
Definition at line 40 of file queue_handle.h.
#define USB_IN_BUFFER_SIZE 128 |
Definition at line 46 of file queue_handle.h.
#define USB_NODATA 0 |
Definition at line 38 of file queue_handle.h.
#define USB_SENT 3 |
Definition at line 41 of file queue_handle.h.
#define USB_TIMEOUT 501 |
Definition at line 45 of file queue_handle.h.
#define USB_TO 4 |
Definition at line 42 of file queue_handle.h.