We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
release
free
1 parent bafcc23 commit ec4122bCopy full SHA for ec4122b
hal/src/peripherals/dac/d5x.rs
@@ -271,7 +271,7 @@ impl<PS: PclkSourceId> Dac<PS> {
271
272
/// Destroy the DAC peripheral, returning resources.
273
/// The DAC will be disabled and reset before being released
274
- pub fn release(self) -> (pac::Dac, ApbClk<types::Dac>, Pclk<types::Dac, PS>) {
+ pub fn free(self) -> (pac::Dac, ApbClk<types::Dac>, Pclk<types::Dac, PS>) {
275
self.inner.ctrla().modify(|_, w| w.enable().clear_bit());
276
self.sync();
277
self.inner.ctrla().write(|w| w.swrst().set_bit());
0 commit comments