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

Shaunak Datar (@skdatar) gitlab at rtems.org
Wed Jun 18 15:51:25 UTC 2025




Shaunak Datar commented on a discussion on bsps/aarch64/raspberrypi/include/bsp/raspberrypi-pwm.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/509#note_124859

 >  rtems_status_code rpi_pwm_set_clock( uint32_t divisor );
 >  
 > +/**
 > + * @brief Update duty-cycle register.
 > + * @param master   Selects the hardware instance to be used (0 = PWM0, 1 = PWM1)
 > + * @param channel  Selects the channel for @p master (0 = PWMx_0, 1 = PWMx_1)
 > + * @param data     Initial duty count, 1 – current range value.(0 rejected)
 > + */
 >  rtems_status_code rpi_pwm_set_data(
 >    raspberrypi_pwm_master  master,
 >    raspberrypi_pwm_channel channel,
 >    uint32_t                data
 >  );
 >  
 > +/**
 > + * @brief Quick-start helper: configures GPIO, range, duty, then enables output.

I meant to write- the main initialise function

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/509#note_124859
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/20250618/7d7c9aaf/attachment-0001.htm>


More information about the bugs mailing list