aboutsummaryrefslogtreecommitdiff
path: root/stmhal/adc.h
diff options
context:
space:
mode:
authorDave Hylands2014-03-24 10:49:23 -0700
committerDave Hylands2014-03-24 11:16:35 -0700
commit1403298a653fdb1ed3604bab71ce17200e5017f7 (patch)
tree77ce4ff7acd51385b0baadae98035dda89989198 /stmhal/adc.h
parent6609d636d042fb02bdd07ea578cc3dbf6a311273 (diff)
stmhal - fixed up adc stuff
Added support for the ADC channels and mappings to make_pins.py I'm not sure if the hal properly deals with the channel 16/18 differences between the 40x and 42x. It seems to deal with it partially. This particular aspect will need testing on a 42x or 43x.
Diffstat (limited to 'stmhal/adc.h')
-rw-r--r--stmhal/adc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/stmhal/adc.h b/stmhal/adc.h
new file mode 100644
index 000000000..502da20dd
--- /dev/null
+++ b/stmhal/adc.h
@@ -0,0 +1,2 @@
+MP_DECLARE_CONST_FUN_OBJ(pyb_ADC_all_obj);
+MP_DECLARE_CONST_FUN_OBJ(pyb_ADC_obj);