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

Go to the source code of this file.

Macros

#define IR_INPUT_PIN   2
 
#define TINY_RECEIVER_USE_ARDUINO_ATTACH_INTERRUPT
 
#define USE_ATTACH_INTERRUPT
 

Functions

void handleReceivedIRData (uint16_t aAddress, uint8_t aCommand, bool isRepetition)
 Declaration of the callback function provided by the user application. More...
 
void IRPinChangeInterruptHandler (void)
 The ISR of TinyIRRreceiver. More...
 
bool isTinyReceiverIdle ()
 
bool initPCIInterruptForTinyReceiver ()
 Sets IR_INPUT_PIN mode to INPUT_PULLUP, if required, sets feedback LED output mode and call enablePCIInterruptForTinyReceiver() More...
 
bool enablePCIInterruptForTinyReceiver ()
 Initializes hardware interrupt generation according to IR_INPUT_PIN or use attachInterrupt() function. More...
 
void disablePCIInterruptForTinyReceiver ()
 

Variables

TinyIRReceiverStruct TinyIRReceiverControl