4 #define RESOURCE_INDEX(x) x + 1
35 extern const char * const ownerNames
[OWNER_TOTAL_COUNT
];
37 // Currently TIMER should be shared resource (softserial dualtimer and timerqueue needs to allocate timer channel, but pin can be used for other function)
38 // with mode switching (shared serial ports, ...) this will need some improvement
41 RESOURCE_INPUT
, RESOURCE_OUTPUT
, RESOURCE_IO
,
43 RESOURCE_UART_TX
, RESOURCE_UART_RX
, RESOURCE_UART_TXRX
,
45 RESOURCE_I2C_SCL
, RESOURCE_I2C_SDA
,
46 RESOURCE_SPI_SCK
, RESOURCE_SPI_MOSI
, RESOURCE_SPI_MISO
, RESOURCE_SPI_CS
,
47 RESOURCE_ADC_BATTERY
, RESOURCE_ADC_RSSI
, RESOURCE_ADC_EXTERNAL1
, RESOURCE_ADC_CURRENT
,
51 extern const char * const resourceNames
[RESOURCE_TOTAL_COUNT
];