RTEMS | bsp/aarch64/raspberrypi4: Add PWM peripheral support (!509)

Christian Mauderer (@c-mauderer) gitlab at rtems.org
Tue Jun 17 16:34:19 UTC 2025



Merge request https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/509 was reviewed by Christian Mauderer

--
  
Christian Mauderer started a new discussion on bsps/aarch64/raspberrypi/include/bsp/raspberrypi-pwm.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/509#note_124807

 > +/**
 > + * @brief Update duty-cycle register.
 > + * @param master   Selects the hardware instance to be used (0 = PWM0, 1 = PWM1)

You pass an enumeration `raspberrypi_pwm_master`. So that description should be `... (raspberrypi_pwm_master0 = PWM0, raspberrypi_pwm_master1 = PWM1)`. Same for the channel below.

--
  
Christian Mauderer started a new discussion on bsps/aarch64/raspberrypi/include/bsp/raspberrypi-pwm.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/509#note_124808

 >  
 > +/**
 > + * @brief Quick-start helper: configures GPIO, range, duty, then enables output.

What do you mean with "Quick-start helper"?


-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/509
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250617/c9cda316/attachment.htm>


More information about the bugs mailing list