dRonin
adbada4
dRonin firmware
|
#include <pios.h>
#include <pios_hal.h>
#include <openpilot.h>
#include <pios_com_priv.h>
#include <pios_rcvr_priv.h>
#include <pios_modules.h>
#include <pios_sys.h>
#include <pios_thread.h>
#include <dacsettings.h>
#include <manualcontrolsettings.h>
#include <sanitycheck.h>
Go to the source code of this file.
Macros | |
#define | PIOS_COM_TELEM_RF_RX_BUF_LEN 512 |
#define | PIOS_COM_TELEM_RF_TX_BUF_LEN 512 |
#define | PIOS_COM_GPS_RX_BUF_LEN 32 |
#define | PIOS_COM_GPS_TX_BUF_LEN 16 |
#define | PIOS_COM_TELEM_USB_RX_BUF_LEN 129 |
#define | PIOS_COM_TELEM_USB_TX_BUF_LEN 65 |
#define | PIOS_COM_BRIDGE_RX_BUF_LEN 65 |
#define | PIOS_COM_BRIDGE_TX_BUF_LEN 12 |
#define | PIOS_COM_MAVLINK_TX_BUF_LEN 128 |
#define | PIOS_COM_MSP_TX_BUF_LEN 128 |
#define | PIOS_COM_MSP_RX_BUF_LEN 65 |
#define | PIOS_COM_HOTT_RX_BUF_LEN 16 |
#define | PIOS_COM_HOTT_TX_BUF_LEN 16 |
#define | PIOS_COM_FRSKYSENSORHUB_TX_BUF_LEN 128 |
#define | PIOS_COM_LIGHTTELEMETRY_TX_BUF_LEN 22 |
#define | PIOS_COM_FRSKYSPORT_TX_BUF_LEN 16 |
#define | PIOS_COM_FRSKYSPORT_RX_BUF_LEN 16 |
#define | PIOS_COM_OPENLOG_TX_BUF_LEN 768 |
#define | PIOS_COM_STORM32BGC_RX_BUF_LEN 32 |
#define | PIOS_COM_STORM32BGC_TX_BUF_LEN 32 |
#define | PIOS_COM_TBSVTXCONFIG_TX_BUF_LEN 32 |
#define | PIOS_COM_TBSVTXCONFIG_RX_BUF_LEN 32 |
#define | BT_COMMAND_DELAY 1100 |
Configure a [flexi/main/rcvr/etc] port. More... | |
#define | BT_COMMAND_QDELAY 350 |
Functions | |
static void | PIOS_HAL_Err2811 (bool on) |
void | PIOS_HAL_CriticalError (uint32_t led_id, enum pios_hal_panic code) |
Flash a blink code. More... | |
static void | PIOS_HAL_SetTarget (uintptr_t *target, uintptr_t value) |
Bind a device instance to a role. More... | |
void | PIOS_HAL_ConfigureSerialSpeed (uintptr_t com_id, HwSharedSpeedBpsOptions speed) |
int | PIOS_HAL_ConfigureExternalBaro (HwSharedExtBaroOptions baro, pios_i2c_t *i2c_id, const struct pios_i2c_adapter_cfg *i2c_cfg) |
int | PIOS_HAL_ConfigureExternalMag (HwSharedMagOptions mag, HwSharedMagOrientationOptions orientation, pios_i2c_t *i2c_id, const struct pios_i2c_adapter_cfg *i2c_cfg) |
void | PIOS_HAL_InitUAVTalkReceiver () |
Variables | |
uintptr_t | pios_rcvr_group_map [MANUALCONTROLSETTINGS_CHANNELGROUPS_NONE] |
uintptr_t | pios_com_gps_id |
uintptr_t | pios_com_bridge_id |
uintptr_t | pios_com_telem_serial_id |
Definition in file pios_hal.c.