7 #ifdef PIOS_INCLUDE_USART 
   15 #ifdef PIOS_INCLUDE_I2C 
   16 #include <pios_i2c_priv.h> 
   24 #if defined(PIOS_INCLUDE_OPENLRS) 
   58 #define PIOS_COM_TELEM_SER (pios_com_telem_serial_id) 
   66 #if defined(PIOS_INCLUDE_SBUS) || defined(PIOS_INCLUDE_DSM) || defined(PIOS_INCLUDE_HOTT) || defined(PIOS_INCLUDE_GPS) || defined(PIOS_INCLUDE_OPENLRS) || defined(PIOS_INCLUDE_USB_CDC) || defined(PIOS_INCLUDE_USB_HID) || defined(PIOS_INCLUDE_MAVLINK) 
   68 #ifndef PIOS_INCLUDE_COM 
   69 #error Options defined that require PIOS_INCLUDE_COM! 
   72 #if !defined(PIOS_INCLUDE_USART) && !defined(FLIGHT_POSIX) 
   73 #error Options defined that require PIOS_INCLUDE_USART! 
   80 #ifdef PIOS_INCLUDE_USART 
   84                 size_t rx_buf_len, 
size_t tx_buf_len,
 
   87 void PIOS_HAL_ConfigurePort(HwSharedPortTypesOptions port_type,
 
   97                 HwSharedDSMxModeOptions dsm_mode,
 
  101 #ifdef PIOS_INCLUDE_I2C 
  107                 HwSharedMagOrientationOptions orientation,
 
  120 #if defined(PIOS_INCLUDE_OPENLRS) 
  123 void PIOS_HAL_ConfigureRFM22B(
pios_spi_t spi_dev,
 
  125                 HwSharedRfBandOptions rf_band,
 
  126                 HwSharedMaxRfPowerOptions rf_power,
 
  127                 const struct pios_openlrs_cfg *openlrs_cfg,
 
  128                 pios_openlrs_t *handle);
 
  132                                 HwSharedSpeedBpsOptions 
speed);
 
  138 #ifdef PIOS_INCLUDE_DAC 
  142 int PIOS_HAL_ConfigureDAC(
dac_dev_t dac);
 
void PIOS_HAL_ConfigureCDC(HwSharedUSB_VCPPortOptions port_type, uintptr_t usb_id, const struct pios_usb_cdc_cfg *cdc_cfg)
 
void PIOS_HAL_InitUAVTalkReceiver()
 
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_ConfigureSerialSpeed(uintptr_t com_id, HwSharedSpeedBpsOptions speed)
 
USART private definitions. 
 
Spektrum/JR DSMx satellite receiver private structures. 
 
struct pios_i2c_adapter * pios_i2c_t
 
USB COM HID private definitions. 
 
uintptr_t pios_rcvr_group_map[]
 
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)
 
Futaba S.Bus Private structures. 
 
struct dac_dev_s * dac_dev_t
 
Implements an OpenLRS driver for the RFM22B. 
 
void PIOS_HAL_CriticalError(uint32_t led_id, enum pios_hal_panic code)
Flash a blink code. 
 
USB COM CDC private definitions. 
 
void PIOS_HAL_SetReceiver(int receiver_type, uintptr_t value)
 
Implements an OpenLRS driver for the RFM22B.