Infrared4Arduino 1.2.3
Loading...
Searching...
No Matches
Classes | Macros | Functions
Esp32.h File Reference

Hardware dependent definitions for Esp32 boards. More...

Go to the source code of this file.

Classes

class  Esp32
 

Macros

#define CURRENT_CLASS   Esp32
 
#define HAS_FLASH_READ   0
 
#define HAS_HARDWARE_PWM   1
 
#define HAS_SAMPLING   1
 
#define HAS_INPUT_CAPTURE   0
 
#define STRCPY_PF_CAST(x)   (x)
 
#define LED_BUILTIN   2
 
#define LEDCHANNEL   0
 
#define TIMER_SIZE   8
 
#define ISR(f)   void ICACHE_RAM_ATTR IRTimer()
 
#define PWM_PIN   5
 

Functions

void IRTimer ()
 

Detailed Description

Hardware dependent definitions for Esp32 boards.

Based upon https://github.com/z3t0/Arduino-IRremote/pull/540/files by Sensorslot (Andreas Spiess), as well as https://github.com/anothermist/LIBRARIES/blob/master/IRremote/esp32.cpp

Definition in file Esp32.h.

Macro Definition Documentation

◆ CURRENT_CLASS

#define CURRENT_CLASS   Esp32

Definition at line 29 of file Esp32.h.

◆ HAS_FLASH_READ

#define HAS_FLASH_READ   0

Definition at line 31 of file Esp32.h.

◆ HAS_HARDWARE_PWM

#define HAS_HARDWARE_PWM   1

Definition at line 32 of file Esp32.h.

◆ HAS_INPUT_CAPTURE

#define HAS_INPUT_CAPTURE   0

Definition at line 34 of file Esp32.h.

◆ HAS_SAMPLING

#define HAS_SAMPLING   1

Definition at line 33 of file Esp32.h.

◆ ISR

#define ISR (   f)    void ICACHE_RAM_ATTR IRTimer()

Definition at line 48 of file Esp32.h.

◆ LED_BUILTIN

#define LED_BUILTIN   2

Definition at line 39 of file Esp32.h.

◆ LEDCHANNEL

#define LEDCHANNEL   0

Definition at line 42 of file Esp32.h.

◆ PWM_PIN

#define PWM_PIN   5

Definition at line 52 of file Esp32.h.

◆ STRCPY_PF_CAST

#define STRCPY_PF_CAST (   x)    (x)

Definition at line 36 of file Esp32.h.

◆ TIMER_SIZE

#define TIMER_SIZE   8

Definition at line 43 of file Esp32.h.

Function Documentation

◆ IRTimer()

void IRTimer ( )