IRremote
TinyIRReceiver.hpp File Reference
#include <Arduino.h>
#include "TinyIR.h"
#include "digitalWriteFast.h"
Include dependency graph for TinyIRReceiver.hpp:

Go to the source code of this file.

Macros

#define IR_RECEIVE_PIN   2
 
#define TINY_RECEIVER_USE_ARDUINO_ATTACH_INTERRUPT
 
#define USE_ATTACH_INTERRUPT
 

Functions

void handleTinyReceivedIRData ()
 Declaration of the callback function provided by the user application. More...
 
void IRPinChangeInterruptHandler (void)
 The ISR (Interrupt Service Routine) of TinyIRRreceiver. More...
 
bool isTinyReceiverIdle ()
 
bool isIRReceiverAttachedForTinyReceiver ()
 
bool initPCIInterruptForTinyReceiver ()
 Sets IR_RECEIVE_PIN mode to INPUT, and if IR_FEEDBACK_LED_PIN is defined, sets feedback LED output mode. More...
 
void printTinyReceiverResultMinimal (Print *aSerial)
 
bool enablePCIInterruptForTinyReceiver ()
 Initializes hardware interrupt generation according to IR_RECEIVE_PIN or use attachInterrupt() function. More...
 
void disablePCIInterruptForTinyReceiver ()
 

Variables

TinyIRReceiverStruct TinyIRReceiverControl
 
volatile TinyIRReceiverCallbackDataStruct TinyIRReceiverData