Infrared4Arduino 1.2.3
|
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 180 of file IrWidget.h.
#define __CAT3 | ( | prefix, | |
num, | |||
postfix | |||
) | prefix##num##postfix |
Definition at line 182 of file IrWidget.h.
#define CAP_PIN 0 |
Definition at line 170 of file IrWidget.h.
#define CAP_PORT B |
Definition at line 169 of file IrWidget.h.
#define CAP_TIM 1 |
Definition at line 171 of file IrWidget.h.
#define CAP_TIM_OC A |
Definition at line 172 of file IrWidget.h.
#define CAPTURE_PRESCALER_BITS (3) |
Definition at line 117 of file IrWidget.h.
#define CAPTURE_PRESCALER_FACTOR (_BV(CAPTURE_PRESCALER_BITS)) |
Definition at line 122 of file IrWidget.h.
Definition at line 116 of file IrWidget.h.
#define CAT2 | ( | prefix, | |
num | |||
) | __CAT2(prefix, num) |
Definition at line 181 of file IrWidget.h.
#define CAT3 | ( | prefix, | |
num, | |||
postfix | |||
) | __CAT3(prefix, num, postfix) |
Definition at line 183 of file IrWidget.h.
#define cbi | ( | sfr, | |
bit | |||
) | (_SFR_BYTE(sfr) &= ~_BV(bit)) |
Definition at line 178 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 179 of file IrWidget.h.
#define USE_PRESCALER_FACTOR_8 1 |
Definition at line 38 of file IrWidget.h.