diff options
author | Clyne Sullivan <clyne@bitgloo.com> | 2020-10-27 20:19:13 -0400 |
---|---|---|
committer | Clyne Sullivan <clyne@bitgloo.com> | 2020-10-27 20:19:13 -0400 |
commit | f58821430754f5ea3627d50672415548e2fbd59f (patch) | |
tree | 3446f403743cc44934c2c7100752d4c2f5e7246b /source/adc.hpp | |
parent | 2c9892cc3e68f00e71cf3d3b066a0c7080e1e220 (diff) |
finish sample rate setting
Diffstat (limited to 'source/adc.hpp')
-rw-r--r-- | source/adc.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/adc.hpp b/source/adc.hpp index d31d60a..5f41117 100644 --- a/source/adc.hpp +++ b/source/adc.hpp @@ -46,6 +46,7 @@ namespace adc void init(); void set_rate(rate new_rate); + unsigned int get_gpt_divisor(); adcsample_t *read(adcsample_t *buffer, size_t count); void read_start(operation_t operation_func, adcsample_t *buffer, size_t count); void read_set_operation_func(operation_t operation_func); |