DevSlashLirc
InfraredTypes.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <stdint.h>
4 
5 #ifndef UINT32_MAX
6 #define UINT32_MAX 4294967295U
7 #endif
8 
19 //typedef uint16_t microseconds_t;
20 typedef uint32_t microseconds_t;
22 //#define MICROSECONDS_T_MAX 65535
23 #define MICROSECONDS_T_MAX UINT32_MAX
24 
29 typedef uint32_t milliseconds_t;
32 //#define MILLISECONDS_T_MAX 4294967295
33 
37 //typedef uint16_t frequency_t;
38 typedef uint32_t frequency_t;
40 //#define FREQUENCY_T_MAX 65535
41 #define FREQUENCY_T_MAX UINT32_MAX
uint32_t frequency_t
Largest milliseconds_t number possible.
Definition: InfraredTypes.h:38
uint32_t milliseconds_t
Type for durations in milli seconds.
Definition: InfraredTypes.h:29
uint32_t microseconds_t
Type for durations in micro seconds.
Definition: InfraredTypes.h:20