APM:Libraries
|
#include <GPIO_RPI.h>
Public Member Functions | |
GPIO_RPI () | |
void | init () |
void | pinMode (uint8_t pin, uint8_t output) |
void | pinMode (uint8_t pin, uint8_t output, uint8_t alt) |
int8_t | analogPinToDigitalPin (uint8_t pin) |
uint8_t | read (uint8_t pin) |
void | write (uint8_t pin, uint8_t value) |
void | toggle (uint8_t pin) |
AP_HAL::DigitalSource * | channel (uint16_t n) |
bool | attach_interrupt (uint8_t interrupt_num, AP_HAL::Proc p, uint8_t mode) |
bool | usb_connected (void) |
Public Member Functions inherited from AP_HAL::GPIO | |
GPIO () | |
Private Attributes | |
volatile uint32_t * | _gpio |
Definition at line 46 of file GPIO_RPI.h.
GPIO_RPI::GPIO_RPI | ( | ) |
Definition at line 38 of file GPIO_RPI.cpp.
|
virtual |
Implements AP_HAL::GPIO.
Definition at line 94 of file GPIO_RPI.cpp.
|
virtual |
Implements AP_HAL::GPIO.
Definition at line 126 of file GPIO_RPI.cpp.
|
virtual |
Implements AP_HAL::GPIO.
Definition at line 120 of file GPIO_RPI.cpp.
|
virtual |
Implements AP_HAL::GPIO.
Definition at line 42 of file GPIO_RPI.cpp.
|
virtual |
Implements AP_HAL::GPIO.
Definition at line 71 of file GPIO_RPI.cpp.
|
virtual |
Reimplemented from AP_HAL::GPIO.
Definition at line 81 of file GPIO_RPI.cpp.
|
virtual |
Implements AP_HAL::GPIO.
Definition at line 99 of file GPIO_RPI.cpp.
Referenced by toggle().
|
virtual |
Implements AP_HAL::GPIO.
Definition at line 114 of file GPIO_RPI.cpp.
|
virtual |
Implements AP_HAL::GPIO.
Definition at line 131 of file GPIO_RPI.cpp.
|
virtual |
Implements AP_HAL::GPIO.
Definition at line 105 of file GPIO_RPI.cpp.
Referenced by toggle().
|
private |
Definition at line 68 of file GPIO_RPI.h.
Referenced by init().