blob: c544e05c10d7fbfa9036719cf0b8f2f0e2f4c7df [file] [log] [blame]
title: nRF SW PWM
description: >
This binding gives a base representation of the nRFx S/W PWM
compatible: "nordic,nrf-sw-pwm"
include: base.yaml
properties:
label:
required: true
timer-instance:
type: int
description: Timer instance to use for generating the PWM output signals
required: true
channel-count:
type: int
description: Number of PWM channels. Limited by timer instance compare registers minus 1.
required: true
clock-prescaler:
type: int
description: Clock prescaler for timer used for generating the PWM output signals with frequency = 16 MHz / 2^prescaler
required: true
ppi-base:
type: int
description: PPI base used for PPI index calculation used for PWM output generation
required: true
gpiote-base:
type: int
description: GPIOTE base used for GPIOTE index calculation used for PWM output generation
required: true