DevSlashLirc
|
This file defines some general data types that are used in the library. More...
#include <stdint.h>
Go to the source code of this file.
Macros | |
#define | UINT32_MAX 4294967295U |
#define | MICROSECONDS_T_MAX UINT32_MAX |
Largest microseconds_t number possible. More... | |
#define | FREQUENCY_T_MAX UINT32_MAX |
Largest frequency_t number possible. More... | |
Typedefs | |
typedef uint32_t | microseconds_t |
Type for durations in micro seconds. More... | |
typedef uint32_t | milliseconds_t |
Type for durations in milli seconds. More... | |
typedef uint32_t | frequency_t |
Largest milliseconds_t number possible. More... | |
This file defines some general data types that are used in the library.
Definition in file InfraredTypes.h.
#define FREQUENCY_T_MAX UINT32_MAX |
Largest frequency_t number possible.
Definition at line 41 of file InfraredTypes.h.
#define MICROSECONDS_T_MAX UINT32_MAX |
Largest microseconds_t number possible.
Definition at line 23 of file InfraredTypes.h.
#define UINT32_MAX 4294967295U |
Definition at line 6 of file InfraredTypes.h.
typedef uint32_t frequency_t |
Largest milliseconds_t number possible.
Type for modulation frequency in Hz.
Definition at line 38 of file InfraredTypes.h.
typedef uint32_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 20 of file InfraredTypes.h.
typedef uint32_t milliseconds_t |
Type for durations in milli seconds.
Using a larger type than 16 bits probably is not sensible.
Definition at line 29 of file InfraredTypes.h.