Subversion Repositories HomeAutomation

Rev

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

Rev 228 Rev 250
Line 11... Line 11...
11
 
11
 
12
static void reset(void);
12
static void reset(void);
13
static void bios_putchar(char c);
13
static void bios_putchar(char c);
14
static char bios_getchar(void);
14
static char bios_getchar(void);
15
static long timebase_get(void);
15
static long timebase_get(void);
-
 
16
static Can_Return_t can_send(Can_Message_t* msg);
-
 
17
//static Can_Return_t can_receive(Can_Message_t *msg);
16
 
18
 
17
static bios_t bios_functions = {
19
static bios_t bios_functions = {
18
    BIOS_VERSION,
20
    BIOS_VERSION,
19
    reset,
21
    reset,
-
 
22
    can_send,
-
 
23
    0,
20
    bios_putchar,
24
    bios_putchar,
21
    bios_getchar,
25
    bios_getchar,
22
    timebase_get
26
    timebase_get
23
};
27
};
-
 
28
 
-
 
29
//---------------------------------------------------------------------------
-
 
30
// Special CAN masks
-
 
31
 
-
 
32
// completely bogus
-
 
33
#define CAN_FUNCT_MASK  0x00000F
-
 
34
#define CAN_MSG_TYPE_BIOS   0x0
-
 
35
#define CAN_MSG_TYPE_APP    0x1
-
 
36
#define CAN_MSG_TYPE_BAJS   0x4
-
 
37
#define CAN_MSG_TYPE_LOPRIO 0xf
24
 
38
 
25
#endif /*BIOS_FUNS_H_*/
39
#endif /*BIOS_FUNS_H_*/