MCPcopy 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
15void DigitalSource::mode(uint8_t output)
16{
17 hal.gpio->pinMode(_v, output);
18}
19
20uint8_t DigitalSource::read()
21{

Callers 6

initMethod · 0.45
initMethod · 0.45
_init_sensorMethod · 0.45
SPIDeviceMethod · 0.45
test_gpio_inputFunction · 0.45
test_gpio_outputFunction · 0.45

Calls 1

pinModeMethod · 0.45

Tested by 2

test_gpio_inputFunction · 0.36
test_gpio_outputFunction · 0.36