RTEMS | bsp/aarch64/raspberrypi4: Add PWM peripheral support (!509)
Shaunak Datar (@skdatar)
gitlab at rtems.org
Mon Jun 16 10:29:08 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_124699
> +#include "bsp/utility.h"
> +
> +typedef enum { raspberrypi_pwm0, raspberrypi_pwm1 } raspberrypi_pwm_channel;
> +
> +typedef enum {
> + raspberrypi_pwm_master0,
> + raspberrypi_pwm_master1
> +} raspberrypi_pwm_master;
> +
> +typedef struct raspberrypi_pwm {
> + raspberrypi_pwm_master master; /**< PWM master */
> + raspberrypi_pwm_channel channel; /**< PWM channel */
> + uint32_t divisor; /**< Clock divisor */
> + uint32_t range; /**< Range for the PWM signal */
> + uint32_t data; /**< Data to be written to the PWM */
> +} raspberrypi_pwm_t;
I had created this but missed it in the clean up process
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/509#note_124699
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/20250616/9d1b59a6/attachment.htm>
More information about the bugs
mailing list