STM32 non-generic PWM_PIN and USEABLE_HARDWARE_PWM (#12016)

This commit is contained in:
Scott Lahteine
2018-10-06 00:14:12 -05:00
committed by GitHub
parent d5141c4e03
commit 33056046a3
6 changed files with 22 additions and 10 deletions

View File

@ -52,6 +52,12 @@
#define GET_OUTPUT(IO)
#define GET_TIMER(IO)
#define PWM_PIN(p) digitalPinHasPWM(p)
#define USEABLE_HARDWARE_PWM(p) PWM_PIN(p)
//
// Pins Definitions
//
#define PORTA 0
#define PORTB 1
#define PORTC 2