Subversion Repositories FlightCtrl

Rev

Rev 1199 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1199 Rev 1200
1
#ifndef _DSL_H
1
#ifndef _DSL_H
2
#define _DSL_H
2
#define _DSL_H
3
 
3
 
4
#include <inttypes.h>
4
#include <inttypes.h>
5
 
5
 
6
// Received signal strength indicator
6
// Received signal strength indicator
7
extern volatile uint8_t dsl_RSSI;
7
extern uint8_t dsl_RSSI;
8
 
8
 
9
// Battery voltage (0-255 [0V - 8.2V])
9
// Battery voltage (0-255 [0V - 8.2V])
10
extern uint8_t dsl_battery;
10
extern uint8_t dsl_Battery;
11
 
11
 
12
// Frequency allocation (35,40,72)
12
// Frequency allocation (35,40,72)
13
extern uint8_t dsl_allocation;
13
extern uint8_t dsl_Allocation;
14
 
14
 
15
// this function should be called within the UART RX ISR
15
// this function should be called within the UART RX ISR
16
extern void dsl_parser(uint8_t c);
16
extern void dsl_parser(uint8_t c);
17
 
17
 
18
#endif //_DSL_H
18
#endif //_DSL_H
19
 
19
 
20
 
20