Merge branch 'master' of github.com:adafruit/Adafruit_nRF52_Arduino
This commit is contained in:
commit
f0c0cec1c2
1 file changed
+3
-3
@@ -104,9 +104,9 @@ uint32_t setLoopStacksize(void);
|
||||
#define digitalPinToPort(P) ( &(NRF_GPIO[P]) )
|
||||
#define digitalPinToBitMask(P) ( 1 << g_ADigitalPinMap[P] )
|
||||
//#define analogInPinToBit(P) ( )
|
||||
#define portOutputRegister(port) ( &(port->OUTSET) )
|
||||
#define portInputRegister(port) ( &(port->IN) )
|
||||
#define portModeRegister(port) ( &(port->DIRSET) )
|
||||
#define portOutputRegister(port) ( &(NRF_GPIO->OUT) )
|
||||
#define portInputRegister(port) ( &(NRF_GPIO->IN) )
|
||||
#define portModeRegister(port) ( &(NRF_GPIO->DIRSET) )
|
||||
#define digitalPinHasPWM(P) ( true )
|
||||
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user