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

Christian Mauderer (@c-mauderer) gitlab at rtems.org
Mon Jun 16 18:25:44 UTC 2025




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

 > +#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 )

I most likely would have moved the registers too and not only the bit defines.

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


More information about the bugs mailing list