19 #ifndef LPC176X_PWMOUT_H 20 #define LPC176X_PWMOUT_H rtems_status_code pwm_pulsewidth(const lpc176x_pin_number pin_number, const lpc176x_microseconds pwidth)
Sets a pulsewidth for the PWM output.
Definition: pwmout.c:196
rtems_status_code
Classic API Status.
Definition: status.h:43
uint32_t lpc176x_microseconds
Microseconds representation.
Definition: common-types.h:37
rtems_status_code pwm_init(const lpc176x_pin_number pin_number)
Initializes the PWM output device and sets an initial period of 20000us.
Definition: pwmout.c:153
Specific register definitions according to lpc176x family boards.
rtems_status_code pwm_period(const lpc176x_pin_number pin_number, const lpc176x_microseconds period)
Sets a period for the PWM output. (Note that this changes the period for all the PWM outputs...
Definition: pwmout.c:178
uint32_t lpc176x_pin_number
A pin of the board.
Definition: common-types.h:32