Infrared4Arduino
|
This file defines some general data types that are used in the library. More...
#include <Arduino.h>
Go to the source code of this file.
Macros | |
#define | MICROSECONDS_T_MAX 65535 |
Largest microseconds_t number possible. More... | |
#define | MILLISECONDS_T_MAX 65535 |
Largest milliseconds_t number possible. More... | |
#define | FREQUENCY_T_MAX 65535 |
Largest frequency_t number possible. More... | |
#define | PIN_T_MAX 255 |
Largest pin_t number possible. More... | |
Typedefs | |
typedef uint16_t | microseconds_t |
Type for durations in micro seconds. More... | |
typedef uint16_t | milliseconds_t |
Type for durations in milli seconds. More... | |
typedef uint16_t | frequency_t |
Type for modulation frequency in Hz. More... | |
typedef uint8_t | pin_t |
Type for GPIO pin, compatible with Arduino libs. More... | |
Variables | |
const pin_t | invalidPin = 255 |
Symbolic name for an invalid pin number. More... | |
This file defines some general data types that are used in the library.
Definition in file InfraredTypes.h.
#define FREQUENCY_T_MAX 65535 |
Largest frequency_t number possible.
Definition at line 35 of file InfraredTypes.h.
#define MICROSECONDS_T_MAX 65535 |
Largest microseconds_t number possible.
Definition at line 18 of file InfraredTypes.h.
#define MILLISECONDS_T_MAX 65535 |
Largest milliseconds_t number possible.
Definition at line 28 of file InfraredTypes.h.
#define PIN_T_MAX 255 |
Largest pin_t number possible.
Definition at line 44 of file InfraredTypes.h.
typedef uint16_t frequency_t |
Type for modulation frequency in Hz.
Definition at line 33 of file InfraredTypes.h.
typedef uint16_t microseconds_t |
Type for durations in micro seconds.
Change to a longer type if needed, AND you know what you are doing. But DO NOT use a system dependent type like int!
Definition at line 16 of file InfraredTypes.h.
typedef uint16_t milliseconds_t |
Type for durations in milli seconds.
Using a larger type than 16 bits probably is not sensible.
Definition at line 26 of file InfraredTypes.h.
typedef uint8_t pin_t |
Type for GPIO pin, compatible with Arduino libs.
Definition at line 40 of file InfraredTypes.h.
const pin_t invalidPin = 255 |
Symbolic name for an invalid pin number.
Definition at line 42 of file InfraredTypes.h.