adc/dac: docstrings
This commit is contained in:
parent
8cf380a488
commit
ab50f55062
@ -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
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user