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