Subversion Repositories HomeAutomation

Rev

Rev 867 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 867 Rev 868
Line 61... Line 61...
61
//------------------------------------
61
//------------------------------------
62
#define CAN_CLASS_MODULE_NMT        0x0BUL      // If we move the functionality for this to BIOS we should use CAN_NMT instead
62
#define CAN_CLASS_MODULE_NMT        0x0BUL      // If we move the functionality for this to BIOS we should use CAN_NMT instead
63
#define CAN_CLASS_MODULE_ACT        0x0CUL
63
#define CAN_CLASS_MODULE_ACT        0x0CUL
64
#define CAN_CLASS_MODULE_SNS        0x0DUL
64
#define CAN_CLASS_MODULE_SNS        0x0DUL
65
#define CAN_CLASS_MODULE_DEF        0x0EUL
65
#define CAN_CLASS_MODULE_DEF        0x0EUL
-
 
66
#define CAN_CLASS_MODULE_CON_OPEN   0x0FUL
-
 
67
#define CAN_CLASS_MODULE_CON        0x10UL
66
 
68
 
67
// Module frame direction
69
// Module frame direction
68
//------------------------------------
70
//------------------------------------
69
#define DIR_FROM_OWNER          1       // If a module sends a packet
71
#define DIR_FROM_OWNER          1       // If a module sends a packet
70
#define DIR_TO_OWNER            0       // If a module sends a packet to another module
72
#define DIR_TO_OWNER            0       // If a module sends a packet to another module
Line 73... Line 75...
73
//------------------------------------
75
//------------------------------------
74
#define CAN_TYPE_MODULE_def_default 0x01
76
#define CAN_TYPE_MODULE_def_default 0x01
75
#define CAN_TYPE_MODULE_sns_ds18x20 0x03
77
#define CAN_TYPE_MODULE_sns_ds18x20 0x03
76
#define CAN_TYPE_MODULE_sns_FOST02  0x05
78
#define CAN_TYPE_MODULE_sns_FOST02  0x05
77
#define CAN_TYPE_MODULE_sns_BusVoltage  0x06
79
#define CAN_TYPE_MODULE_sns_BusVoltage  0x06
-
 
80
#define CAN_TYPE_MODULE_sns_SimpleDTMF  0x07
78
#define CAN_TYPE_MODULE_act_hd44789 0x04
81
#define CAN_TYPE_MODULE_act_hd44789 0x04
-
 
82
 
79
 
83
 
80
// Module commands
84
// Module commands
81
//------------------------------------
85
//------------------------------------
82
//#define CAN_CMD_MODULE_NMT_LIST       0x00UL      // Tell the application to report which modules it has
86
//#define CAN_CMD_MODULE_NMT_LIST       0x00UL      // Tell the application to report which modules it has
83
 
87