RTEMS | bsp/aarch64/raspberrypi4: Add PWM peripheral support (!509)
Shaunak Datar (@skdatar)
gitlab at rtems.org
Mon Jun 16 18:27:32 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_124729
> +#define C_POLA1 BSP_BIT32( 4 )
> +#define C_SBIT1 BSP_BIT32( 3 )
> +#define C_RPTL1 BSP_BIT32( 2 )
> +#define C_MODE1 BSP_BIT32( 1 )
> +#define C_PWEN1 BSP_BIT32( 0 )
> +
> +/* Status register bit definitions */
> +#define S_STA2 BSP_BIT32( 10 )
> +#define S_STA1 BSP_BIT32( 9 )
> +#define S_BERR BSP_BIT32( 8 )
> +#define S_GAPO2 BSP_BIT32( 5 )
> +#define S_GAPO1 BSP_BIT32( 4 )
> +#define S_RERR1 BSP_BIT32( 3 )
> +#define S_WERR1 BSP_BIT32( 2 )
> +#define S_EMPT1 BSP_BIT32( 1 )
> +#define S_FULL1 BSP_BIT32( 0 )
Won't that clutter the c file too much- should I move them to the raspberrypi.h file?
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/509#note_124729
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/10743bdf/attachment.htm>
More information about the bugs
mailing list