Adding comment about sample rate

This commit is contained in:
Ryan Summers 2021-01-04 18:09:16 +01:00
parent 7ecd08d86b
commit 2b6e6f59a4

View File

@ -56,6 +56,7 @@ use heapless::{consts::*, String};
// The number of ticks in the ADC sampling timer. The timer runs at 100MHz, so the step size is
// equal to 10ns per tick.
// Currently, the sample rate is equal to: Fsample = 100/256 MHz = 390.625 KHz
const ADC_SAMPLE_TICKS: u32 = 256;
// The desired ADC sample processing buffer size.