infineon,autanalog-sar-seq-lp

Description

Infineon AutAnalog SAR ADC LP Sequencer Table Entry

Low-Power (LP) mode sequencer table entry for the Infineon AutAnalog SAR
ADC.  Up to 32 entries may be defined as child nodes of the ADC node.  Nodes
must be named "seq-lp-<index>" (e.g. seq-lp-0, seq-lp-1, ...).

LP mode only supports MUX channels; each entry selects a single MUX
channel via mux0-sel.

When only default (single-entry) operation is desired, these nodes may be
omitted entirely and the driver will create a single entry with backward-
compatible defaults.

Use IFX_AUTANALOG_SAR_SEQ_* constants from
<dt-bindings/adc/infineon-autanalog-sar.h> for property values.

Properties

Properties not inherited from the base binding file.

Name

Type

Details

mux0-sel

int

MUX channel selection (0-15) for this LP sequencer entry.
Selects which of the 16 internal MUX channels to sample.
Each MUX channel's analog input pin and FIFO routing are
configured via the corresponding channel@N node.

Default value: 0

Legal values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15

sample-time-en

boolean

Enable the programmable sample-time delay for this sequencer entry.
When using multiple sequencer entries that switch between MUX
channels, this should be enabled to allow the analog input to
settle before conversion.

sample-time-sel

int

Selects one of the 4 hardware sample-time slots for this entry.  Only used
in static sample-time mode (when the ADC node defines sample-times), where
the index refers to that table.  In the default dynamic mode this property
is ignored and the slot is derived from the channels the entry samples.

Default value: 0

Legal values: 0, 1, 2, 3

acc-en

boolean

Enable accumulation / averaging for conversions triggered by this
sequencer entry.

acc-count

int

Number of samples to accumulate when acc-en is set.
Use IFX_AUTANALOG_SAR_SEQ_ACC_CNT* constants.

Default value: 0

Legal values: 0, 1, 2, 3, 4, 5, 6, 7

cal-req

int

Real-time calibration request for this sequencer entry.
Use IFX_AUTANALOG_SAR_SEQ_CAL_* constants.

Default value: 0

Legal values: 0, 1, 2, 3

next-action

int

Action after this sequencer entry completes.
Use IFX_AUTANALOG_SAR_SEQ_NEXT_* constants.
This property applies to intermediate entries only.  The terminal
action of the LAST entry is managed by the driver per API call, since
the same table serves both single-shot and streaming reads: it is
forced to STOP for adc_read() and to REPEAT for streaming.  Any
next-action set on the last entry is therefore ignored.

Default value: 0

Legal values: 0, 1, 2