#include <uavobjectmanager.h>
#include <hwshared.h>
#include <pios_usb_cdc_priv.h>
#include <pios_usb_hid_priv.h>
Go to the source code of this file.
|
enum | pios_hal_panic {
PIOS_HAL_PANIC_IMU = 2,
PIOS_HAL_PANIC_MAG = 3,
PIOS_HAL_PANIC_BARO = 4,
PIOS_HAL_PANIC_FLASH = 5,
PIOS_HAL_PANIC_FILESYS = 6,
PIOS_HAL_PANIC_I2C_INT = 7,
PIOS_HAL_PANIC_I2C_EXT = 8,
PIOS_HAL_PANIC_SPI = 9,
PIOS_HAL_PANIC_CAN = 10,
PIOS_HAL_PANIC_ADC = 11,
PIOS_HAL_PANIC_OSD = 12
} |
|
@ brief LED panic codes for hardware failure
Enumerator |
---|
PIOS_HAL_PANIC_IMU |
|
PIOS_HAL_PANIC_MAG |
|
PIOS_HAL_PANIC_BARO |
|
PIOS_HAL_PANIC_FLASH |
|
PIOS_HAL_PANIC_FILESYS |
|
PIOS_HAL_PANIC_I2C_INT |
|
PIOS_HAL_PANIC_I2C_EXT |
|
PIOS_HAL_PANIC_SPI |
|
PIOS_HAL_PANIC_CAN |
|
PIOS_HAL_PANIC_ADC |
|
PIOS_HAL_PANIC_OSD |
|
Definition at line 41 of file pios_hal.h.
void PIOS_HAL_ConfigureCDC |
( |
HwSharedUSB_VCPPortOptions |
port_type, |
|
|
uintptr_t |
usb_id, |
|
|
const struct pios_usb_cdc_cfg * |
cdc_cfg |
|
) |
| |
void PIOS_HAL_ConfigureHID |
( |
HwSharedUSB_HIDPortOptions |
port_type, |
|
|
uintptr_t |
usb_id, |
|
|
const struct pios_usb_hid_cfg * |
hid_cfg |
|
) |
| |
uintptr_t PIOS_HAL_GetReceiver |
( |
int |
receiver_type | ) |
|
void PIOS_HAL_SetReceiver |
( |
int |
receiver_type, |
|
|
uintptr_t |
value |
|
) |
| |