Rev 1200 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1200 | Rev 1201 | ||
---|---|---|---|
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 |
- | |
7 | extern uint8_t dsl_RSSI; |
- | |
8 | 6 | extern uint8_t dsl_RSSI; // Received signal strength indicator |
|
9 | // Battery voltage (0-255 [0V - 8.2V]) |
- | |
10 | extern uint8_t dsl_Battery; |
- | |
11 | 7 | extern uint8_t dsl_Battery; // Battery voltage (0-255 [0V - 8.2V]) |
|
12 | // Frequency allocation (35,40,72) |
- | |
- | 8 | extern uint8_t dsl_Allocation; // Frequency allocation (35,40,72) |
|
13 | extern uint8_t dsl_Allocation; |
9 | |
14 | 10 | #define USART1_BAUD 38400 |
|
15 | // this function should be called within the UART RX ISR |
11 | // this function should be called within the UART RX ISR |
16 | extern void dsl_parser(uint8_t c); |
12 | extern void dsl_parser(uint8_t c); |
17 | 13 | ||
18 | #endif //_DSL_H |
14 | #endif //_DSL_H |
19 | 15 | ||
20 | 16 |