Subversion Repositories NaviCtrl

Rev

Rev 116 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
41 ingob 1
#ifndef __UART0_H
2
#define __UART0_H
3
 
49 ingob 4
typedef enum
5
{
6
        UART0_UNDEF,
7
        UART0_MK3MAG,
8
        UART0_MKGPS
9
} UART0_MuxerState_t;
10
 
11
extern UART0_MuxerState_t UART0_Muxer;
12
 
116 killagreg 13
typedef struct
14
{
15
        u8 SWMajor;
16
        u8 SWMinor;
17
        u8 ProtoMajor;
18
        u8 ProtoMinor;
19
        u8 SWPatch;
20
        u8 Reserved[5];
21
}  __attribute__((packed)) MKOSD_VersionInfo_t;
49 ingob 22
 
116 killagreg 23
extern MKOSD_VersionInfo_t MKOSD_VersionInfo;
24
 
41 ingob 25
void UART0_Init (void);
26
void UART0_Connect_to_MKGPS(void);
27
void UART0_Connect_to_MK3MAG(void);
111 killagreg 28
void UART0_TransmitTxData(void);
29
void UART0_ProcessRxData(void);
116 killagreg 30
void UART0_GetMKOSDVersion(void);
41 ingob 31
 
32
#endif //__UART0_H
33