NinjaFlight
|
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include <platform.h>
#include "config/config.h"
#include "io/serial.h"
#include "rx/rx.h"
#include "rx/xbus.h"
Macros | |
#define | XBUS_CHANNEL_COUNT 12 |
#define | XBUS_RJ01_CHANNEL_COUNT 12 |
#define | XBUS_FRAME_SIZE 27 |
#define | XBUS_RJ01_FRAME_SIZE 33 |
#define | XBUS_RJ01_MESSAGE_LENGTH 30 |
#define | XBUS_RJ01_OFFSET_BYTES 3 |
#define | XBUS_CRC_AND_VALUE 0x8000 |
#define | XBUS_CRC_POLY 0x1021 |
#define | XBUS_BAUDRATE 115200 |
#define | XBUS_RJ01_BAUDRATE 250000 |
#define | XBUS_MAX_FRAME_TIME 8000 |
#define | XBUS_START_OF_FRAME_BYTE (0xA1) |
#define | XBUS_CONVERT_TO_USEC(V) (800 + ((V * 1400) >> 12)) |
#define XBUS_BAUDRATE 115200 |
#define XBUS_CHANNEL_COUNT 12 |
#define XBUS_CONVERT_TO_USEC | ( | V | ) | (800 + ((V * 1400) >> 12)) |
#define XBUS_CRC_AND_VALUE 0x8000 |
#define XBUS_CRC_POLY 0x1021 |
#define XBUS_FRAME_SIZE 27 |
#define XBUS_MAX_FRAME_TIME 8000 |
#define XBUS_RJ01_BAUDRATE 250000 |
#define XBUS_RJ01_CHANNEL_COUNT 12 |
#define XBUS_RJ01_FRAME_SIZE 33 |
#define XBUS_RJ01_MESSAGE_LENGTH 30 |
#define XBUS_RJ01_OFFSET_BYTES 3 |
#define XBUS_START_OF_FRAME_BYTE (0xA1) |