Adding spaces to docs

This commit is contained in:
Ryan Summers 2021-07-16 14:36:46 +02:00
parent d8579a5b3e
commit bd679a084f
1 changed files with 3 additions and 3 deletions

View File

@ -14,14 +14,14 @@ pub const MQTT_BROKER: [u8; 4] = [10, 34, 16, 10];
/// timer, which runs at 100 MHz. /// timer, which runs at 100 MHz.
/// ///
/// ## Example /// ## Example
/// With a value of 7, this corresponds to 2^7 = 128 ticks. Each tick of the 100MHz timer requires /// With a value of 7, this corresponds to 2^7 = 128 ticks. Each tick of the 100 MHz timer requires
/// 10ns. /// 10ns.
/// ///
/// Sampling Period = 10ns * 128 = 1.28 us /// Sampling Period = 10ns * 128 = 1.28 us
/// Sampling Frequency = 781.25KHz /// Sampling Frequency = 781.25 KHz
/// ///
/// Or more succinctly: /// Or more succinctly:
/// `F_s = 100MHz / (2 ^ ADC_SAMPLE_TICKS_LOG2)` /// `F_s = 100 MHz / (2 ^ ADC_SAMPLE_TICKS_LOG2)`
pub const ADC_SAMPLE_TICKS_LOG2: u8 = 7; pub const ADC_SAMPLE_TICKS_LOG2: u8 = 7;
/// Sample Batch Sizing /// Sample Batch Sizing