ARM - ADC cleanup (#8385)
authorJoel Challis <git@zvecr.com>
Tue, 17 Mar 2020 00:29:52 +0000 (00:29 +0000)
committerGitHub <noreply@github.com>
Tue, 17 Mar 2020 00:29:52 +0000 (00:29 +0000)
commit567bfc97ac4f5066e8a2302c46e3b375efe59792
tree45eb64a6c294c91bea9934d32ae8f6b98b0ff7f6
parent7aff643031eec0b940b85d9f2a0d7a27fd6d4fa7
ARM - ADC cleanup (#8385)

* Update switch to array to allow custom values

* Add adc keymap

* update docs to reflect alignment of default 10 bit

* start conversion to USE_ADCVn

* samplerate is hella wrong...stub out for now

* basic f1 and f4 functionality

* Tidy up current changes

* Restore old pinToMux function

* Add back sample rate for supported platforms

* F0 compile fixes

* wordsmithery

Co-Authored-By: Ryan <fauxpark@gmail.com>
* Remove reference to avr only function

Co-authored-by: Ryan <fauxpark@gmail.com>
docs/adc_driver.md
drivers/arm/analog.c
drivers/arm/analog.h
keyboards/handwired/onekey/keymaps/adc/config.h [new file with mode: 0644]
keyboards/handwired/onekey/keymaps/adc/keymap.c [new file with mode: 0644]
keyboards/handwired/onekey/keymaps/adc/rules.mk [new file with mode: 0644]