Go to the source code of this file.
|
int32_t | adcs747x_connect (struct adc *a, struct spi *spi, uint8_t cs, uint16_t gpio) |
|
◆ ADCS747X_ID
#define ADCS747X_ID |
( |
|
_channelID | ) |
HAL_GET_ID(adc, adcs747x, adcs747x_##_channelID) |
◆ ADD_ADCS747X
#define ADD_ADCS747X |
( |
|
_channelID | ) |
|
Value: struct adc_adcs747x adcs747x_##_channelID = { \
ADC_INIT_DEV(adcs747x) \
HAL_NAME("TI ADCS747x Channel " #_channelID) \
.channelID = _channelID, \
};\
ADC_ADDDEV(adcs747x, adcs747x_##_channelID)
◆ adcs747x_connect()
int32_t adcs747x_connect |
( |
struct adc * |
a, |
|
|
struct spi * |
spi, |
|
|
uint8_t |
cs, |
|
|
uint16_t |
gpio |
|
) |
| |