![]() |
![]() |
|
CC23x0R5DriverLibrary
|
#include "adc.h"
Functions | |
| void | ADCSetSampleDuration (uint32_t clkDiv, uint16_t clkCycles) |
| Sets the clock-divider value, and sample duration. More... | |
| void | ADCSetResolution (uint32_t resolution) |
| Sets the ADC bit resolution. More... | |
| void | ADCSetInput (uint32_t reference, uint8_t channel, uint32_t index) |
| Sets the ADC reference source and input channel. More... | |
| void | ADCManualTrigger (void) |
| Triggers an ADC conversion. More... | |
| void | ADCSetMemctlRange (uint32_t start, uint32_t stop) |
| Set start and stop control registers. More... | |
| void | ADCSetSequence (uint32_t sequence) |
| Set conversion sequence. More... | |
| uint32_t | ADCAdjustValueForGain (uint32_t adcValue, uint32_t bitResolution, uint16_t gain) |
| Performs ADC value gain adjustment. More... | |
| uint32_t | ADCValueToMicrovolts (uint32_t adcCode, uint32_t bitResolution, uint32_t referenceVoltageMicroVolt) |
| Convert ADC code to microvolts. More... | |
| uint16_t | ADCGetAdjustmentGain (uint32_t reference) |
| Returns ADC gain value for given reference. More... | |
| void | ADCSetAdjustmentOffset (uint32_t reference) |
| Write correct offset value to ADC-peripheral trim register. More... | |