Infrared4Arduino
|
Go to the source code of this file.
Classes | |
class | IrWidget |
Base class for classes based upon ICP pins capture. More... | |
Macros | |
#define | ENABLE_PULL_UP |
#define | USE_PRESCALER_FACTOR_8 1 |
#define | CAPTURE_PRESCALER_SETTING (_BV(CAT3(CS, CAP_TIM, 1))) |
#define | CAPTURE_PRESCALER_BITS (3) |
#define | CAPTURE_PRESCALER_FACTOR (_BV(CAPTURE_PRESCALER_BITS)) |
#define | CAP_PORT B |
#define | CAP_PIN 0 |
#define | CAP_TIM 1 |
#define | CAP_TIM_OC A |
#define | cbi(sfr, bit) (_SFR_BYTE(sfr) &= ~_BV(bit)) |
#define | sbi(sfr, bit) (_SFR_BYTE(sfr) |= _BV(bit)) |
#define | __CAT2(base, portname) base##portname |
#define | CAT2(prefix, num) __CAT2(prefix, num) |
#define | __CAT3(prefix, num, postfix) prefix##num##postfix |
#define | CAT3(prefix, num, postfix) __CAT3(prefix, num, postfix) |
#define __CAT2 | ( | base, | |
portname | |||
) | base##portname |
Definition at line 176 of file IrWidget.h.
#define __CAT3 | ( | prefix, | |
num, | |||
postfix | |||
) | prefix##num##postfix |
Definition at line 178 of file IrWidget.h.
#define CAP_PIN 0 |
Definition at line 166 of file IrWidget.h.
#define CAP_PORT B |
Definition at line 165 of file IrWidget.h.
#define CAP_TIM 1 |
Definition at line 167 of file IrWidget.h.
#define CAP_TIM_OC A |
Definition at line 168 of file IrWidget.h.
#define CAPTURE_PRESCALER_BITS (3) |
Definition at line 112 of file IrWidget.h.
#define CAPTURE_PRESCALER_FACTOR (_BV(CAPTURE_PRESCALER_BITS)) |
Definition at line 117 of file IrWidget.h.
Definition at line 111 of file IrWidget.h.
#define CAT2 | ( | prefix, | |
num | |||
) | __CAT2(prefix, num) |
Definition at line 177 of file IrWidget.h.
#define CAT3 | ( | prefix, | |
num, | |||
postfix | |||
) | __CAT3(prefix, num, postfix) |
Definition at line 179 of file IrWidget.h.
#define cbi | ( | sfr, | |
bit | |||
) | (_SFR_BYTE(sfr) &= ~_BV(bit)) |
Definition at line 174 of file IrWidget.h.
#define ENABLE_PULL_UP |
Definition at line 33 of file IrWidget.h.
#define sbi | ( | sfr, | |
bit | |||
) | (_SFR_BYTE(sfr) |= _BV(bit)) |
Definition at line 175 of file IrWidget.h.
#define USE_PRESCALER_FACTOR_8 1 |
Definition at line 38 of file IrWidget.h.