Speeduino
Loading...
Searching...
No Matches
Public Attributes | List of all members
cmpOperation Struct Reference

#include <globals.h>

Public Attributes

uint8_t firstCompType: 3
 First cmp. op (COMPARATOR_* ops, see below)
 
uint8_t secondCompType: 3
 Second cmp. op (0=COMPARATOR_EQUAL, 1=COMPARATOR_NOT_EQUAL,2=COMPARATOR_GREATER,3=COMPARATOR_GREATER_EQUAL,4=COMPARATOR_LESS,5=COMPARATOR_LESS_EQUAL,6=COMPARATOR_CHANGE)
 
uint8_t bitwise: 2
 BITWISE_AND, BITWISE_OR, BITWISE_XOR.
 

Detailed Description

Config for programmable I/O comparison operation (between 2 vars). Operations are implemented in utilities.ino (checkProgrammableIO()).

Member Data Documentation

◆ bitwise

uint8_t cmpOperation::bitwise

BITWISE_AND, BITWISE_OR, BITWISE_XOR.

◆ firstCompType

uint8_t cmpOperation::firstCompType

First cmp. op (COMPARATOR_* ops, see below)

◆ secondCompType

uint8_t cmpOperation::secondCompType

Second cmp. op (0=COMPARATOR_EQUAL, 1=COMPARATOR_NOT_EQUAL,2=COMPARATOR_GREATER,3=COMPARATOR_GREATER_EQUAL,4=COMPARATOR_LESS,5=COMPARATOR_LESS_EQUAL,6=COMPARATOR_CHANGE)


The documentation for this struct was generated from the following file: