aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32/f1/lisa-m-2/adc_injec_timtrig_irq/README
diff options
context:
space:
mode:
authorStephen Dwyer2012-10-05 11:40:21 -0600
committerStephen Dwyer2012-10-07 15:38:02 -0600
commitbece4c30d3b953cd7f469d9db06559ca443df189 (patch)
treed563191ea7f3a44278c8089589204b4524959f6c /examples/stm32/f1/lisa-m-2/adc_injec_timtrig_irq/README
parent9e77f8c361407c61f2a72b98a5d1c50e72bf4a54 (diff)
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
Diffstat (limited to 'examples/stm32/f1/lisa-m-2/adc_injec_timtrig_irq/README')
-rw-r--r--examples/stm32/f1/lisa-m-2/adc_injec_timtrig_irq/README12
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/stm32/f1/lisa-m-2/adc_injec_timtrig_irq/README b/examples/stm32/f1/lisa-m-2/adc_injec_timtrig_irq/README
new file mode 100644
index 0000000..175edce
--- /dev/null
+++ b/examples/stm32/f1/lisa-m-2/adc_injec_timtrig_irq/README
@@ -0,0 +1,12 @@
+------------------------------------------------------------------------------
+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 sample an injected adc channel and
+then uses an interrupt routine to retrieve the sample from the data register.
+
+The terminal settings for the receiving device/PC are 115200 8n1.
+