APM:Libraries
|
Go to the source code of this file.
Classes | |
class | AP_HAL::DigitalSource |
class | AP_HAL::GPIO |
Macros | |
#define | HAL_GPIO_INPUT 0 |
#define | HAL_GPIO_OUTPUT 1 |
#define | HAL_GPIO_ALT 2 |
#define | HAL_GPIO_INTERRUPT_LOW 0 |
#define | HAL_GPIO_INTERRUPT_HIGH 1 |
#define | HAL_GPIO_INTERRUPT_FALLING 2 |
#define | HAL_GPIO_INTERRUPT_RISING 3 |
#define | HAL_GPIO_INTERRUPT_BOTH 4 |
#define HAL_GPIO_ALT 2 |
Definition at line 9 of file GPIO.h.
Referenced by Linux::GPIO_RPI::pinMode().
#define HAL_GPIO_INPUT 0 |
Definition at line 7 of file GPIO.h.
Referenced by AP_InertialSensor_BMI160::_configure_int1_pin(), AP_Baro_BMP085::_init(), AP_InertialSensor_Invensense::_init(), AP_InertialSensor_LSM9DS1::_init_sensor(), AP_InertialSensor_LSM9DS0::_init_sensor(), AP_Camera::feedback_pin_timer(), AP_Compass_LSM303D::init(), Linux::RCInput_RPI::init(), Linux::GPIO_RPI::pinMode(), Linux::GPIO_BBB::pinMode(), AP_LeakDetector_Digital::read(), AP_Button::setup_pins(), and test_gpio_input().
#define HAL_GPIO_INTERRUPT_BOTH 4 |
Definition at line 14 of file GPIO.h.
Referenced by ChibiOS::GPIO::_attach_interrupt(), and ChibiOS::RCOutput::serial_read_bytes().
#define HAL_GPIO_INTERRUPT_FALLING 2 |
Definition at line 12 of file GPIO.h.
Referenced by ChibiOS::GPIO::_attach_interrupt().
#define HAL_GPIO_INTERRUPT_LOW 0 |
Definition at line 10 of file GPIO.h.
Referenced by ChibiOS::GPIO::_attach_interrupt().
#define HAL_GPIO_INTERRUPT_RISING 3 |
Definition at line 13 of file GPIO.h.
Referenced by ChibiOS::GPIO::_attach_interrupt(), and AP_RPM_Pin::update().
#define HAL_GPIO_OUTPUT 1 |
Definition at line 8 of file GPIO.h.
Referenced by Linux::CameraSensor_Mt9v117::_init_sensor(), AP_AdvancedFailsafe::check(), VRBRAIN::VRBRAINRCOutput::cork(), PX4::PX4RCOutput::cork(), AP_AdvancedFailsafe::heartbeat(), Linux::HeatPwm::HeatPwm(), DiscreteRGBLed::hw_init(), Linux::RCInput_PRU::init(), Linux::RCOutput_PCA9685::init(), Buzzer::init(), AP_Relay::off(), AP_Relay::on(), VRBRAIN::VRBRAINRCOutput::push(), PX4::PX4RCOutput::push(), Linux::SPIDevice::SPIDevice(), test_gpio_output(), AP_SBusOut::update(), and AP_RangeFinder_PX4_PWM::update().