APM:Libraries
|
#include <AP_HAL/AP_HAL.h>
#include "AP_HAL_F4Light_Namespace.h"
#include "handler.h"
#include <boards.h>
#include <exti.h>
Go to the source code of this file.
Classes | |
class | F4Light::DigitalSource |
class | F4Light::GPIO |
Macros | |
#define | HIGH 0x1 |
#define | LOW 0x0 |
#define | HAL_GPIO_LED_ON LOW |
#define | HAL_GPIO_LED_OFF HIGH |
Typedefs | |
typedef enum HALPinMode | HAL_PinMode |
typedef enum ExtIntTriggerMode | ExtIntTriggerMode |
Enumerations | |
enum | HALPinMode { INPUT = GPIO_INPUT_FLOATING, OUTPUT = GPIO_OUTPUT_PP, OUTPUT_ALT = GPIO_AF_OUTPUT_PP, INPUT_ANALOG = GPIO_INPUT_ANALOG, INPUT_PULLDOWN = GPIO_INPUT_PD, INPUT_PULLUP = GPIO_INPUT_PU, OUTPUT_OPEN_DRAIN = GPIO_OUTPUT_OD, OUTPUT_OPEN_DRAIN_PU = GPIO_OUTPUT_OD_PU, PWM = GPIO_PIN_MODE_LAST, PWM_OPEN_DRAIN } |
enum | ExtIntTriggerMode { RISING = (uint8_t)EXTI_RISING, FALLING = (uint8_t)EXTI_FALLING, CHANGE = (uint8_t)EXTI_RISING_FALLING } |
Functions | |
static exti_trigger_mode | exti_out_mode (ExtIntTriggerMode mode) |
void | digitalWrite (uint8_t pin, uint8_t value) |
uint8_t | digitalRead (uint8_t pin) |
void | digitalToggle (uint8_t pin) |
#define HIGH 0x1 |
Definition at line 11 of file GPIO.h.
Referenced by F4Light::DigitalSource::_read(), and F4Light::GPIO::_read().
#define LOW 0x0 |
Definition at line 15 of file GPIO.h.
Referenced by F4Light::DigitalSource::_read(), and F4Light::GPIO::_read().
typedef enum ExtIntTriggerMode ExtIntTriggerMode |
typedef enum HALPinMode HAL_PinMode |
enum ExtIntTriggerMode |
enum HALPinMode |
uint8_t digitalRead | ( | uint8_t | pin | ) |
Definition at line 181 of file GPIO.cpp.
Referenced by exti_out_mode().
void digitalToggle | ( | uint8_t | pin | ) |
Definition at line 183 of file GPIO.cpp.
Referenced by exti_out_mode().
void digitalWrite | ( | uint8_t | pin, |
uint8_t | value | ||
) |
Definition at line 180 of file GPIO.cpp.
Referenced by exti_out_mode().
|
inlinestatic |
Definition at line 174 of file GPIO.h.
Referenced by F4Light::GPIO::_attach_interrupt().