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.
_______________________________________________ bugs mailing list bugs@rtems.org http://lists.rtems.org/mailman/listinfo/bugs