lpc176x: Add hardware PWM support for LPC176x

This adds hardware PWM support for LPC176x processors.

Signed-off-by: Michael Kurz <michi.kurz@gmail.com>
This commit is contained in:
Michael Kurz
2021-03-21 19:13:47 +01:00
committed by Kevin O'Connor
parent d02c80ef08
commit 39188e1cf3
5 changed files with 107 additions and 0 deletions

View File

@@ -10,6 +10,7 @@
#define PCLK_TIMER0 1
#define PCLK_UART0 3
#define PCLK_PWM1 6
#define PCLK_I2C0 7
#define PCLK_SSP1 10
#define PCLK_ADC 12