dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
serial_4way.h File Reference
#include "drivers/io_types.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))
 
bool isMcuConnected (void)
 
uint8_t esc4wayInit (void)
 
void esc4wayProcess (struct serialPort_s *mspPort)
 
void esc4wayRelease (void)
 

Variables

uint8_t selected_esc
 
ioMem_t ioMem
 
 uint8_16_u
 
 uint8_32_u
 

Macro Definition Documentation

#define imARM_BLB   4

Definition at line 32 of file serial_4way.h.

#define imATM_BLB   2

Definition at line 30 of file serial_4way.h.

#define imC2   0

Definition at line 28 of file serial_4way.h.

#define imSIL_BLB   1

Definition at line 29 of file serial_4way.h.

#define imSK   3

Definition at line 31 of file serial_4way.h.

#define USE_SERIAL_4WAY_BLHELI_BOOTLOADER

Definition at line 25 of file serial_4way.h.

#define USE_SERIAL_4WAY_SK_BOOTLOADER

Definition at line 26 of file serial_4way.h.

Function Documentation

uint8_t esc4wayInit ( void  )
void esc4wayProcess ( struct serialPort_s *  mspPort)
void esc4wayRelease ( void  )
bool isMcuConnected ( void  )

Variable Documentation

ioMem_t ioMem
uint8_t selected_esc
uint8_16_u

Definition at line 41 of file serial_4way.h.

uint8_32_u

Definition at line 47 of file serial_4way.h.