This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

atmel,sam0-adc

Vendor: Atmel Corporation

Description

Atmel SAM0 family ADC

Properties

Properties not inherited from the base binding file.

Name

Type

Details

gclk

int

generic clock generator source

This property is required.

prescaler

int

clock prescaler divisor applied to the generic clock

This property is required.

#io-channel-cells

int

This property is required.

Constant value: 1

calib-offset

int

bit position offset in NVM SW Calib for start of ADC0 BIASCOMP field.
This property is expected to be set on SAM{D,E}5x family of SoCs.
For ADC0 this should be 0, and for ADC1 this should be 14.

Legal values: 0, 14

Specifier cell names

  • io-channel cells: input