adc/dac: docstrings

This commit is contained in:
Robert Jördens 2020-11-26 15:41:19 +01:00
parent 8cf380a488
commit ab50f55062
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ macro_rules! adc_input {
/// SPI is configured to operate using 16-bit transfer words.
type MemSize = u16;
/// SPI DMA requests are generated whenever TIM2 CH1 comparison occurs.
/// SPI DMA requests are generated whenever TIM2 CHx ($dma_req) comparison occurs.
const REQUEST_LINE: Option<u8> = Some(DMAReq::$dma_req as u8);
/// Whenever the DMA request occurs, it should write into SPI's TX FIFO to start a DMA

View File

@ -41,7 +41,7 @@ macro_rules! dac_output {
/// SPI is configured to operate using 16-bit transfer words.
type MemSize = u16;
/// SPI DMA requests are generated whenever TIM2 CH3 comparison occurs.
/// SPI DMA requests are generated whenever TIM2 CHx ($dma_req) comparison occurs.
const REQUEST_LINE: Option<u8> = Some(DMAReq::$dma_req as u8);
/// Whenever the DMA request occurs, it should write into SPI's TX FIFO.