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-tcc-pwm

Vendor: Atmel Corporation

Description

Atmel SAM0 TCC in PWM mode

Properties

Properties not inherited from the base binding file.

Name

Type

Details

channels

int

Number of channels this TCC has

This property is required.

Legal values: 2, 3, 4, 6

counter-size

int

Width of the TCC counter in bits

This property is required.

Legal values: 16, 24

prescaler

int

PWM prescaler

This property is required.

Legal values: 1, 2, 4, 8, 16, 64, 256, 1024

#pwm-cells

int

Number of items to expect in a pwm specifier

This property is required.

Constant value: 1

Specifier cell names

  • pwm cells: channel