Struct esp32_hal::dac::DAC1

source ·
pub struct DAC1 { /* private fields */ }
Expand description

DAC channel

Implementations§

Constructs a new DAC instance

Write the given value

For each DAC channel, the output analog voltage can be calculated as follows: DACn_OUT = VDD3P3_RTC * PDACn_DAC/256

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
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.