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:
parent
7a59ebf6af
commit
e94e5eb10c
1 changed files with 6 additions and 1 deletions
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue