DevSlashLirc
Macros | Typedefs
InfraredTypes.h File Reference

This file defines some general data types that are used in the library. More...

#include <stdint.h>
Include dependency graph for InfraredTypes.h:
This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

This file defines some general data types that are used in the library.

Definition in file InfraredTypes.h.

Macro Definition Documentation

◆ FREQUENCY_T_MAX

#define FREQUENCY_T_MAX   UINT32_MAX

Largest frequency_t number possible.

Definition at line 41 of file InfraredTypes.h.

◆ MICROSECONDS_T_MAX

#define MICROSECONDS_T_MAX   UINT32_MAX

Largest microseconds_t number possible.

Definition at line 23 of file InfraredTypes.h.

◆ UINT32_MAX

#define UINT32_MAX   4294967295U

Definition at line 6 of file InfraredTypes.h.

Typedef Documentation

◆ frequency_t

typedef uint32_t frequency_t

Largest milliseconds_t number possible.

Type for modulation frequency in Hz.

Definition at line 38 of file InfraredTypes.h.

◆ microseconds_t

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.

◆ milliseconds_t

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.