Christian Mauderer commented on a discussion on 
bsps/aarch64/raspberrypi/pwm/raspberrypi-pwm.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/509#note_124703

 > +  }
 > +
 > +  return RTEMS_SUCCESSFUL;
 > +}
 > +
 > +rtems_status_code rpi_pwm_init(
 > +  raspberrypi_pwm_master  master,
 > +  raspberrypi_pwm_channel channel,
 > +  uint32_t                divisor,
 > +  uint32_t                range,
 > +  uint32_t                data
 > +)
 > +{
 > +  rtems_status_code sc;
 > +
 > +  sc = rpi_pwm_set_clock( divisor );

Could be a good alternative, yes.

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

Reply via email to