* 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
13 lines
508 B
Plaintext
13 lines
508 B
Plaintext
------------------------------------------------------------------------------
|
|
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.
|
|
|