esp_hal::analog::dacStruct Dac
Source pub struct Dac<'d, T>{ }
Available on crate feature unstable
only.
Expand description
Digital-to-Analog Converter (DAC) Channel
Construct a new instance of Dac
.
Writes the given value.
For each DAC channel, the output analog voltage can be calculated as
follows: DACn_OUT = VDD3P3_RTC * PDACn_DAC/256
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
[From]<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.