doc: release notes: Update contents for 2.2
List the added PWM API flags parameter under changes to stable APIs for the 2.2 release. Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
parent
85e1117e94
commit
d9d4082325
1 changed files with 13 additions and 0 deletions
|
@ -27,6 +27,19 @@ Deprecated in this release
|
|||
Stable API changes in this release
|
||||
==================================
|
||||
|
||||
* PWM
|
||||
|
||||
* The pwm_pin_set_cycles(), pwm_pin_set_usec(), and
|
||||
pwm_pin_set_nsec() functions now take a flags parameter. The newly
|
||||
introduced flags are PWM_POLARITY_NORMAL and PWM_POLARITY_INVERTED
|
||||
for specifying the polarity of the PWM signal. The flags parameter
|
||||
can be set to 0 if no flags are required (the default is
|
||||
PWM_POLARITY_NORMAL).
|
||||
* Similarly, the pwm_pin_set_t PWM driver API function function now
|
||||
takes a flags parameter. The PWM controller driver must check the
|
||||
value of the flags parameter and return -ENOTSUP if any
|
||||
unsupported flag is set.
|
||||
|
||||
* USB
|
||||
|
||||
* The usb_enable() function, which was previously invoked automatically
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue