APM:Libraries
|
#include <stdint.h>
#include <stdbool.h>
#include <AP_HAL/AP_HAL.h>
#include <hal.h>
#include <systick.h>
#include "serial_4way_impl.h"
Go to the source code of this file.
Macros | |
#define | USE_SERIAL_4WAY_BLHELI_BOOTLOADER |
#define | USE_SERIAL_4WAY_SK_BOOTLOADER |
#define | imC2 0 |
#define | imSIL_BLB 1 |
#define | imATM_BLB 2 |
#define | imSK 3 |
#define | imARM_BLB 4 |
Functions | |
union | __attribute__ ((packed)) |
uint16_t | _crc_xmodem_update (uint16_t crc, uint8_t data) |
bool | isMcuConnected (void) |
uint8_t | esc4wayInit (const uint8_t *output_channels, uint8_t nm) |
void | esc4wayProcess (AP_HAL::UARTDriver *uartPort) |
Variables | |
uint8_16_u | |
uint8_32_u | |
#define imARM_BLB 4 |
Definition at line 23 of file serial_4way.h.
#define imATM_BLB 2 |
Definition at line 21 of file serial_4way.h.
#define imC2 0 |
Definition at line 19 of file serial_4way.h.
#define imSIL_BLB 1 |
Definition at line 20 of file serial_4way.h.
#define imSK 3 |
Definition at line 22 of file serial_4way.h.
#define USE_SERIAL_4WAY_BLHELI_BOOTLOADER |
Definition at line 16 of file serial_4way.h.
#define USE_SERIAL_4WAY_SK_BOOTLOADER |
Definition at line 17 of file serial_4way.h.
union __attribute__ | ( | (packed) | ) |
Definition at line 27 of file serial_4way.h.
uint16_t _crc_xmodem_update | ( | uint16_t | crc, |
uint8_t | data | ||
) |
uint8_t esc4wayInit | ( | const uint8_t * | output_channels, |
uint8_t | nm | ||
) |
void esc4wayProcess | ( | AP_HAL::UARTDriver * | uartPort | ) |
bool isMcuConnected | ( | void | ) |
uint8_16_u |
Definition at line 30 of file serial_4way.h.
uint8_32_u |
Definition at line 36 of file serial_4way.h.