-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Open
Labels
EnhancementChanges/Updates/Additions to existing featuresChanges/Updates/Additions to existing featuresarea: DACDigital-to-Analog ConverterDigital-to-Analog Converter
Description
Is your enhancement proposal related to a problem? Please describe.
My application requires that the channels of a same DAC update their values at the same time, so calling dac_write_value
is not really satisfying
Describe the solution you'd like
I would like to be able to pass an array of <channel, value> pairs to write to the dac output registers.
We could define a new structure:
struct dac_value {
u8_t channel;
u32_t value;
}
and either change the signature of dac_write_value
to accept an array of struct dac_value
or add an additional function to dac_driver_api
Metadata
Metadata
Assignees
Labels
EnhancementChanges/Updates/Additions to existing featuresChanges/Updates/Additions to existing featuresarea: DACDigital-to-Analog ConverterDigital-to-Analog Converter