Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ArduPilot/ardupilot
/ mode
Method
mode
libraries/AP_HAL_Linux/GPIO.cpp:15–18 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
13
}
14
15
void DigitalSource::mode(uint8_t output)
16
{
17
hal.gpio->pinMode(_v, output);
18
}
19
20
uint8_t DigitalSource::read()
21
{
Callers
6
init
Method · 0.45
init
Method · 0.45
_init_sensor
Method · 0.45
SPIDevice
Method · 0.45
test_gpio_input
Function · 0.45
test_gpio_output
Function · 0.45
Calls
1
pinMode
Method · 0.45
Tested by
2
test_gpio_input
Function · 0.36
test_gpio_output
Function · 0.36