19#ifndef LPC176X_PWMOUT_H
20#define LPC176X_PWMOUT_H
uint32_t lpc176x_microseconds
Microseconds representation.
Definition: common-types.h:37
uint32_t lpc176x_pin_number
A pin of the board.
Definition: common-types.h:32
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
Definition: status.h:85
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
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
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