mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-18 12:54:25 +01:00
parent
90ab663146
commit
e2d373ed61
@ -66,6 +66,7 @@ extern "C"{
|
||||
#define portOutputRegister(port) ( &(port->PIO_ODSR) )
|
||||
#define portInputRegister(port) ( &(port->PIO_PDSR) )
|
||||
//#define portModeRegister(P) ( )
|
||||
#define digitalPinHasPWM(P) ( g_APinDescription[P].ulPWMChannel != NOT_ON_PWM || g_APinDescription[P].ulTCChannel != NOT_ON_TIMER )
|
||||
|
||||
// Interrupts
|
||||
#define digitalPinToInterrupt(p) ((p) < NUM_DIGITAL_PINS ? (p) : -1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user