Subversion Repositories HomeAutomation

Rev

Rev 1503 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1503 Rev 1532
Line 16... Line 16...
16
#include <drivers/timer/timer.h>
16
#include <drivers/timer/timer.h>
17
#include <drivers/mcu/gpio.h>
17
#include <drivers/mcu/gpio.h>
18
 
18
 
19
//to use PCINT lib. uncomment the line below
19
//to use PCINT lib. uncomment the line below
20
#include <drivers/mcu/pcint.h>
20
#include <drivers/mcu/pcint.h>
-
 
21
 
-
 
22
 
-
 
23
#ifdef act_protectedOutput_EEPROM_ENABLED
-
 
24
    typedef struct {
-
 
25
        ///TODO: Define EEPROM variables needed by the module
-
 
26
#if act_protectedOutput_CH_COUNT >= 1
-
 
27
        uint8_t ch0;
-
 
28
#endif
-
 
29
#if act_protectedOutput_CH_COUNT >= 2
-
 
30
        uint8_t ch1;
-
 
31
#endif
-
 
32
#if act_protectedOutput_CH_COUNT >= 3
-
 
33
        uint8_t ch2;
-
 
34
#endif
-
 
35
#if act_protectedOutput_CH_COUNT >= 4
-
 
36
        uint8_t ch3;
-
 
37
#endif
-
 
38
    } act_protectedOutput_Data_t;
-
 
39
#endif
21
 
40
 
22
 
41
 
23
/*-----------------------------------------------------------------------------
42
/*-----------------------------------------------------------------------------
24
 * Exported Functions
43
 * Exported Functions
25
 *---------------------------------------------------------------------------*/
44
 *---------------------------------------------------------------------------*/
26
 
45
 
27
void act_protectedOutput_Init(void);
46
void act_protectedOutput_Init(void);
28
void act_protectedOutput_Process(void);
47
void act_protectedOutput_Process(void);
29
void act_protectedOutput_HandleMessage(StdCan_Msg_t *rxMsg);
48
void act_protectedOutput_HandleMessage(StdCan_Msg_t *rxMsg);
30
void act_protectedOutput_List(uint8_t ModuleSequenceNumber);
49
void act_protectedOutput_List(uint8_t ModuleSequenceNumber);
-
 
50
 
31
 
51
 
32
 
52
 
33
#endif // ACT_PROTECTEDOUTPUT
53
#endif // ACT_PROTECTEDOUTPUT