added different ADC sampling examples for the LisaM v2 including:

* simple polling of an injected channel
 * timer triggered sampling of an injected channel
 * timer triggered sampling and IRQ handling of an injected channel
 * timer triggered sampling and IRQ handling of 4 injected channels
This commit is contained in:
Stephen Dwyer
2012-10-05 11:40:21 -06:00
parent 9e77f8c361
commit bece4c30d3
12 changed files with 964 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
------------------------------------------------------------------------------
README
------------------------------------------------------------------------------
This is a simple example that sends the value read out from the
temperature sensor ADC channel of the STM32 to the USART2.
This example uses a timer trigger to automatically sample the adc channel.
The terminal settings for the receiving device/PC are 115200 8n1.