Data Structures | Enumerations | Functions | Variables

mComm.h File Reference

#include <p18cxxx.h>
#include "mTouch.h"
#include "mComm_config.h"
#include "mComm_processConfiguration.h"
Include dependency graph for mComm.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  mComm_Vector
struct  mComm_OutputVector
struct  mComm_InputBuffer
struct  mComm_Opcode
struct  mComm_StreamConfig

Enumerations

enum  mComm_UART_States { MCOMM_IDLE, MCOMM_START, MCOMM_BUFFER, MCOMM_PROCESS_DATA }
enum  mComm_SPI_States {
  MCOMM_SPI_IDLE, MCOMM_SPI_START, MCOMM_SPI_PACKET_LENGTH, MCOMM_SPI_BUFFER,
  MCOMM_SPI_PROCESS_DATA, MCOMM_SPI_OUTPUT
}

Functions

void mComm_Init (void)

Variables

uint8_t mComm_GUICustomVariable

Detailed Description

Definition in file mComm.h.


Enumeration Type Documentation

Enumerator:
MCOMM_SPI_IDLE 

RX communications are idling.

MCOMM_SPI_START 

New RX packet is starting.

MCOMM_SPI_PACKET_LENGTH 

RX byte is the packet length.

MCOMM_SPI_BUFFER 

RX packet is being stored in the buffer.

MCOMM_SPI_PROCESS_DATA 

RX packet is ready to be processed by the state machine.

MCOMM_SPI_OUTPUT 

Definition at line 267 of file mComm.h.

Enumerator:
MCOMM_IDLE 

RX communications are idling.

MCOMM_START 

New RX packet is starting.

MCOMM_BUFFER 

RX packet is being stored in the buffer.

MCOMM_PROCESS_DATA 

RX packet is ready to be processed by the state machine.

Definition at line 259 of file mComm.h.


Function Documentation

void mComm_Init ( void   )

Variable Documentation