78 #define MAX_SUPPORTED_RC_CHANNEL_COUNT 18
80 #define NON_AUX_CHANNEL_COUNT 4
81 #define MAX_AUX_CHANNEL_COUNT (MAX_SUPPORTED_RC_CHANNEL_COUNT - NON_AUX_CHANNEL_COUNT)
struct rxRuntimeConfig_s rxRuntimeConfig_t
void setRssi(uint16_t rssiValue, rssiSource_e source)
void rxInit(void)
!TODO remove this extern, only needed once for channelCount
@ RX_FRAME_PROCESSING_REQUIRED
@ RSSI_SOURCE_RX_PROTOCOL
@ RSSI_SOURCE_FRAME_ERRORS
@ RSSI_SOURCE_RX_PROTOCOL_CRSF
uint8_t(* rcFrameStatusFnPtr)(struct rxRuntimeConfig_s *rxRuntimeConfig)
rcFrameStatusFnPtr rcFrameStatusFn
uint16_t(* rcReadRawDataFnPtr)(const struct rxRuntimeConfig_s *rxRuntimeConfig, uint8_t chan)
@ RX_PROVIDER_PARALLEL_PWM
bool(* rcProcessFrameFnPtr)(const struct rxRuntimeConfig_s *rxRuntimeConfig)
@ SERIALRX_XBUS_MODE_B_RJ01
SerialRXType serialrxProvider
void setRssiDirect(uint16_t newRssi, rssiSource_e source)
rcProcessFrameFnPtr rcProcessFrameFn
rxRuntimeConfig_t rxRuntimeConfig
rcReadRawDataFnPtr rcReadRawFn
unsigned short uint16_t
Typedef defining 16 bit unsigned short type.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.