diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2016-05-11 12:34:17 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2016-05-11 12:34:17 +0900 |
commit | 420bd135afbddfd604d30b40683340d4c70debd8 (patch) | |
tree | f6eefc9350e068cdb669cbbebdf8c6624f874663 /example-fs-bb48/adc.h | |
parent | a538113c07fca84302abbfde7d07d40f8ed5ff9b (diff) |
Adding ADC example for FS-BB48
Diffstat (limited to 'example-fs-bb48/adc.h')
-rw-r--r-- | example-fs-bb48/adc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/example-fs-bb48/adc.h b/example-fs-bb48/adc.h new file mode 100644 index 0000000..54e1f4e --- /dev/null +++ b/example-fs-bb48/adc.h @@ -0,0 +1,8 @@ +void adc_init (void); +void adc_start (void); +void adc_stop (void); + +extern uint32_t adc_buf[64]; + +void adc_start_conversion (int offset, int count); +int adc_wait_completion (chopstx_intr_t *intr); |