|
AGHAF 4.5.7
Annecy electronique Generic Hardware Access Framework
|
Go to the source code of this file.
| typedef void * | AGHAF_ADC |
| handle on a ADC | |
| AGHAF_Status | AGHAF_ADC_activate (AGHAF_ADC adc) |
| start the communication with the ADC | |
| AGHAF_Status | AGHAF_ADC_deactivate (AGHAF_ADC adc) |
| stop the communication with the ADC | |
| AGHAF_ADC | AGHAF_ADC_get (AGHAF_Device device, uint8_t index) |
| return the KLine bus at the index specified | |
| uint8_t | AGHAF_ADC_getCount (AGHAF_Device device) |
| return the number of Adcs available on a device | |
| uint8_t | AGHAF_ADC_getIndex (AGHAF_ADC adc) |
| return the index from an ADC | |
| AGHAF_Status | AGHAF_ADC_getLastConversion (AGHAF_ADC adc, int32_t *value, AGHAF_ADC_TriggerState *triggerState) |
| Return the current state from the ADC trigger. | |
| AGHAF_Status | AGHAF_ADC_getParam (AGHAF_ADC adc, AGHAF_ADC_Param param, uint32_t *value) |
| get a parameter from a ADC | |
| AGHAF_Status | AGHAF_ADC_isActivated (AGHAF_ADC adc, AGHAF_BOOL *isActivated) |
| allow to know if the communication on the ADC is started or not | |
| typedef void(* | AGHAF_ADC_onConversion) (uint64_t timestamp, int32_t value, AGHAF_ADC_TriggerState state, void *userContext) |
| callback called on a ADC event | |
| void | AGHAF_ADC_setOnConversionCallback (AGHAF_ADC adc, AGHAF_ADC_onConversion callback, void *userContext) |
| Set the callback called on a ADC event. | |
| AGHAF_Status | AGHAF_ADC_setParam (AGHAF_ADC adc, AGHAF_ADC_Param param, uint32_t value) |
| set a parameter from a ADC | |