![]() |
RTEMS 6.3
|
PWM-Out controller for the mbed lpc1768 board. More...
Go to the source code of this file.
Data Structures | |
| struct | lpc176x_pwm_device |
| The low-level PWM output device. More... | |
| struct | lpc176x_pwm_pin |
| Represents one pin and the respective function to be set for each PWM output. More... | |
Macros | |
| #define | PWM_DEFAULT_PERIOD 20000u |
| #define | PWM_DEFAULT_PULSEWIDTH 0u |
| #define | PWM_PRESCALER_USECOND ( LPC176X_CCLK / 1000000 ) |
| #define | PWM_MCR_RESET_ON_MATCH0 ( 1 << 1 ) |
| #define | PWM_PCR_ENABLE_PWM(pwmout) |
| #define | PWM_TCR_RESET ( 1 << 1 ) |
| #define | PWM_TCR_ENABLE ( 1u ) |
| #define | PWM_TCR_PWM ( 1 << 3 ) |
| #define | PWM_LER_LATCH_MATCH_0 1u |
| #define | PWM_LER_LATCH(match) |
Enumerations | |
| enum | lpc176x_pwm_number { PWMO_1 , PWMO_2 , PWMO_3 , PWMO_4 , PWMO_5 , PWMO_6 , PWM_OUTPUT_NUMBER } |
| The PWM outputs of the board. | |
| enum | lpc176x_pwm_pin_number { PWM_FIRST_PIN , PWM_SECOND_PIN , PWM_NUMBER_OF_PINS } |
| A pin for each PWM output. | |
PWM-Out controller for the mbed lpc1768 board.
| #define PWM_LER_LATCH | ( | match | ) |
| #define PWM_PCR_ENABLE_PWM | ( | pwmout | ) |