diff options
| author | Dario Nieuwenhuis <[email protected]> | 2024-04-29 20:52:27 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2024-04-29 20:52:27 +0200 |
| commit | 6f44d7a9dfbb1dfe503c978e2277cfc5b1b6d486 (patch) | |
| tree | 0850613ec1eef6397d853c8b04a1ae86c12f9d8a /embassy-stm32/src/dac/mod.rs | |
| parent | 679160a1c573709ccf2c54755e69ea9e1b5a209e (diff) | |
stm32: update metapac. Adds U5 LPDMA, fixes ADC_COMMONs.
Diffstat (limited to 'embassy-stm32/src/dac/mod.rs')
| -rw-r--r-- | embassy-stm32/src/dac/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-stm32/src/dac/mod.rs b/embassy-stm32/src/dac/mod.rs index 26298a08b..8a748ad72 100644 --- a/embassy-stm32/src/dac/mod.rs +++ b/embassy-stm32/src/dac/mod.rs | |||
| @@ -368,7 +368,7 @@ impl<'d, T: Instance, const N: u8, DMA> Drop for DacChannel<'d, T, N, DMA> { | |||
| 368 | /// | 368 | /// |
| 369 | /// ```ignore | 369 | /// ```ignore |
| 370 | /// // Pins may need to be changed for your specific device. | 370 | /// // Pins may need to be changed for your specific device. |
| 371 | /// let (dac_ch1, dac_ch2) = embassy_stm32::dac::Dac::new(p.DAC, NoDma, NoDma, p.PA4, p.PA5).split(); | 371 | /// let (dac_ch1, dac_ch2) = embassy_stm32::dac::Dac::new(p.DAC1, NoDma, NoDma, p.PA4, p.PA5).split(); |
| 372 | /// ``` | 372 | /// ``` |
| 373 | pub struct Dac<'d, T: Instance, DMACh1 = NoDma, DMACh2 = NoDma> { | 373 | pub struct Dac<'d, T: Instance, DMACh1 = NoDma, DMACh2 = NoDma> { |
| 374 | ch1: DacChannel<'d, T, 1, DMACh1>, | 374 | ch1: DacChannel<'d, T, 1, DMACh1>, |
