|
TeensyNanoExoCode
|
Singleton class that manages the UART data. NOT THREAD SAFE. The class queues recieved messages. More...
Go to the source code of this file.
Classes | |
| class | UARTHandler |
| Singleton Class to handle the UART Work. More... | |
Macros | |
| #define | MAX_NUM_LEGS 2 |
| #define | MAX_NUM_JOINTS_PER_LEG 2 |
| #define | MAX_RAW_BUFFER_SIZE 256 |
| #define | MAX_DATA_SIZE 32 |
| #define | UART_DATA_TYPE short int |
| #define | FIXED_POINT_FACTOR 100 |
| #define | UART_BAUD 256000 |
| #define | MAX_RX_LEN 64 |
| #define | RX_TIMEOUT_US 1000 |
| #define | END 0300 /* indicates end of packet */ |
| #define | ESC 0333 /* indicates byte stuffing */ |
| #define | ESC_END 0334 /* ESC ESC_END means END data byte */ |
| #define | ESC_ESC 0335 /* ESC ESC_ESC means ESC data byte */ |
Singleton class that manages the UART data. NOT THREAD SAFE. The class queues recieved messages.
| #define END 0300 /* indicates end of packet */ |
| #define ESC 0333 /* indicates byte stuffing */ |
| #define FIXED_POINT_FACTOR 100 |
| #define MAX_DATA_SIZE 32 |
| #define MAX_NUM_JOINTS_PER_LEG 2 |
| #define MAX_NUM_LEGS 2 |
| #define MAX_RAW_BUFFER_SIZE 256 |
| #define MAX_RX_LEN 64 |
| #define RX_TIMEOUT_US 1000 |
| #define UART_BAUD 256000 |
| #define UART_DATA_TYPE short int |