Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-pico
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-pico
Commits
9c94bab2
Unverified
Commit
9c94bab2
authored
Mar 06, 2024
by
Juraj Andrássy
Committed by
GitHub
Mar 06, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add RawDev::interruptMode (#2042)
parent
ea887403
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
25 additions
and
1 deletion
+25
-1
libraries/WiFi/src/utility/nodriver.h
libraries/WiFi/src/utility/nodriver.h
+4
-0
libraries/lwIP_CYW43/src/utility/CYW43shim.h
libraries/lwIP_CYW43/src/utility/CYW43shim.h
+4
-0
libraries/lwIP_ESPHost/src/ESPHost.h
libraries/lwIP_ESPHost/src/ESPHost.h
+4
-0
libraries/lwIP_Ethernet/src/LwipIntfDev.h
libraries/lwIP_Ethernet/src/LwipIntfDev.h
+1
-1
libraries/lwIP_enc28j60/src/utility/enc28j60.h
libraries/lwIP_enc28j60/src/utility/enc28j60.h
+4
-0
libraries/lwIP_w5100/src/utility/w5100.h
libraries/lwIP_w5100/src/utility/w5100.h
+4
-0
libraries/lwIP_w5500/src/utility/w5500.h
libraries/lwIP_w5500/src/utility/w5500.h
+4
-0
No files found.
libraries/WiFi/src/utility/nodriver.h
View file @
9c94bab2
...
...
@@ -48,6 +48,10 @@ public:
return
true
;
}
PinStatus
interruptMode
()
{
return
LOW
;
}
constexpr
bool
needsSPI
()
const
{
return
false
;
}
...
...
libraries/lwIP_CYW43/src/utility/CYW43shim.h
View file @
9c94bab2
...
...
@@ -91,6 +91,10 @@ public:
return
true
;
}
PinStatus
interruptMode
()
{
return
LOW
;
}
void
setSSID
(
const
char
*
p
)
{
_ssid
=
p
;
}
...
...
libraries/lwIP_ESPHost/src/ESPHost.h
View file @
9c94bab2
...
...
@@ -47,6 +47,10 @@ public:
return
false
;
}
PinStatus
interruptMode
()
{
return
HIGH
;
}
constexpr
bool
needsSPI
()
const
{
return
false
;
}
...
...
libraries/lwIP_Ethernet/src/LwipIntfDev.h
View file @
9c94bab2
...
...
@@ -399,7 +399,7 @@ bool LwipIntfDev<RawDev>::begin(const uint8_t* macAddress, const uint16_t mtu) {
if
(
RawDev
::
interruptIsPossible
())
{
noInterrupts
();
// Ensure this is atomically set up
pinMode
(
_intrPin
,
INPUT
);
attachInterruptParam
(
_intrPin
,
_irq
,
LOW
,
(
void
*
)
this
);
attachInterruptParam
(
_intrPin
,
_irq
,
RawDev
::
interruptMode
()
,
(
void
*
)
this
);
__addEthernetGPIO
(
_intrPin
);
interrupts
();
}
else
{
...
...
libraries/lwIP_enc28j60/src/utility/enc28j60.h
View file @
9c94bab2
...
...
@@ -102,6 +102,10 @@ protected:
return
true
;
}
static
constexpr
PinStatus
interruptMode
()
{
return
LOW
;
}
/**
Read an Ethernet frame size
@return the length of data do receive
...
...
libraries/lwIP_w5100/src/utility/w5100.h
View file @
9c94bab2
...
...
@@ -104,6 +104,10 @@ protected:
return
true
;
}
static
constexpr
PinStatus
interruptMode
()
{
return
LOW
;
}
/**
Read an Ethernet frame size
@return the length of data do receive
...
...
libraries/lwIP_w5500/src/utility/w5500.h
View file @
9c94bab2
...
...
@@ -107,6 +107,10 @@ protected:
return
true
;
}
static
constexpr
PinStatus
interruptMode
()
{
return
LOW
;
}
/**
Read an Ethernet frame size
@return the length of data do receive
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment