drivers: dac: add flag to channel config to support internal connections

Allows user to connect DAC output to internal peripherals for HW and
drivers that support it.

Signed-off-by: Corey Wharton <xodus7@cwharton.com>
This commit is contained in:
Corey Wharton 2024-09-09 09:32:27 -07:00 committed by Anas Nashif
parent 7a59ebf6af
commit e94e5eb10c

View file

@ -39,7 +39,12 @@ struct dac_channel_cfg {
* This is relevant for instance if the output is directly connected to the load, * This is relevant for instance if the output is directly connected to the load,
* without an amplifierin between. The actual details on this are hardware dependent. * without an amplifierin between. The actual details on this are hardware dependent.
*/ */
bool buffered; bool buffered: 1;
/** Enable internal output path for this channel. This is relevant for channels that
* support directly connecting to on-chip peripherals via internal paths. The actual
* details on this are hardware dependent.
*/
bool internal: 1;
}; };
/** /**