source: blaster/blaster.h @ 6b8aa22

Revision 6b8aa22, 788 bytes checked in by Tarmo Kople <tarmo@…>, 5 years ago (diff)

Initial import

  • Property mode set to 100644
Line 
1/*
2 * File:   blaster.h
3 * Author: tarmo
4 *
5 * Created on esmaspäev, 19. jaanuar 2015. a, 8:03
6 */
7
8#ifndef BLASTER_H
9#define BLASTER_H
10
11#include "libvcomm/structs.h"
12
13#define MAX_RECORDS 200     // maximum number of records in blastfile
14#define MAX_NAME_LEN 64    // maximum name length for event
15
16typedef struct {
17    char eventName[MAX_NAME_LEN];   // buffer for event name
18} evname_t;
19
20typedef struct {
21    evname_t evntList[MAX_RECORDS]; // list of eventnames
22} header_t;
23
24typedef struct {
25    uint8_t freq;   // frequency for IR carrier
26    uint8_t duty;   // duty cycle of IR carrier
27} settings_t;
28
29typedef struct {
30    settings_t frameSettings;   // settings for this frame (freq, duty cycle)
31    irframe_t frameData;        // IRframe data
32} record_t;
33
34#endif  /* BLASTER_H */
35
Note: See TracBrowser for help on using the repository browser.