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.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to