Skip to content

Commit e7163cd

Browse files
ananglmbolivar-nordic
authored andcommitted
doc: release-notes-3.1: Add more entries in ADC and PWM driver sections
Add information about new ADC facilities and about significant changes in nRF PWM drivers. Signed-off-by: Andrzej Głąbek <[email protected]>
1 parent 5c6aaf7 commit e7163cd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

doc/releases/release-notes-3.1.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,9 @@ Drivers and Sensors
397397

398398
* Atmel SAM0: Fixed adc voltage reference
399399
* STM32: Added support for :c:enumerator:`adc_reference.ADC_REF_INTERNAL`.
400+
* Added the :c:struct:`adc_dt_spec` structure and associated helper macros,
401+
e.g. :c:macro:`ADC_DT_SPEC_GET`, to facilitate getting configuration of
402+
ADC channels from devicetree nodes.
400403

401404
* CAN
402405

@@ -536,6 +539,13 @@ Drivers and Sensors
536539
:c:macro:`PWM_STM32_COMPLEMENTARY` to specify that PWM output should happen on a
537540
complementary channel pincfg (eg:``tim1_ch2n_pb14``).
538541
* STM32: Added counter mode support. See :dtcompatible:`st,stm32-timers`.
542+
* Aligned nRF PWM drivers (pwm_nrfx and pwm_nrf5_sw) with the updated PWM API.
543+
In particular, this means that the :c:func:`pwm_set` and
544+
:c:func:`pwm_set_cycles` functions need to be called with a PWM channel
545+
as a parameter, not with a pin number like it was for the deprecated
546+
``pwm_pin_set_*`` functions. Also, the ``flags`` parameter is now supported
547+
by the drivers, so either the :c:macro:`PWM_POLARITY_INVERTED` or
548+
:c:macro:`PWM_POLARITY_NORMAL` flag must be provided in each call.
539549

540550
* Reset
541551

0 commit comments

Comments
 (0)