Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WiringPi/WiringPi
/ wiringPiSPISetup
Function
wiringPiSPISetup
wiringPi/wiringPiSPI.c:205–207 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
203
204
205
int wiringPiSPISetup (int channel, int speed) {
206
return wiringPiSPIxSetupMode(0, channel, speed, 0) ;
207
}
208
209
210
int wiringPiSPIxClose (const int number, const int channel) {
Callers
12
gertboardSPISetup
Function · 0.85
piFaceSetup
Function · 0.85
mcp23s08Setup
Function · 0.85
max5322Setup
Function · 0.85
mcp23s17Setup
Function · 0.85
mcp3004Setup
Function · 0.85
max31855Setup
Function · 0.85
mcp3002Setup
Function · 0.85
mcp4802Setup
Function · 0.85
main
Function · 0.85
main
Function · 0.85
spiSetup
Function · 0.85
Calls
1
wiringPiSPIxSetupMode
Function · 0.85
Tested by
2
main
Function · 0.68
main
Function · 0.68