Paparazzi UAS  v5.17_devel-14-g4575375
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
gpio_arch.h File Reference

GPIO dummy function/macros to compile in simulation. More...

Go to the source code of this file.

Macros

#define GPIOA   0
 
#define GPIOB   0
 
#define GPIOC   0
 
#define GPIOD   0
 
#define GPIOE   0
 
#define GPIOF   0
 
#define GPIOG   0
 
#define GPIOH   0
 
#define GPIO0   0
 
#define GPIO1   0
 
#define GPIO2   0
 
#define GPIO3   0
 
#define GPIO4   0
 
#define GPIO5   0
 
#define GPIO6   0
 
#define GPIO7   0
 
#define GPIO8   0
 
#define GPIO9   0
 
#define GPIO10   0
 
#define GPIO11   0
 
#define GPIO12   0
 
#define GPIO13   0
 
#define GPIO14   0
 
#define GPIO15   0
 
#define GPIO16   0
 
#define GPIO17   0
 
#define GPIO18   0
 
#define GPIO19   0
 
#define GPIO20   0
 
#define GPIO21   0
 
#define GPIO22   0
 
#define GPIO23   0
 
#define GPIO24   0
 
#define GPIO25   0
 
#define GPIO26   0
 
#define GPIO27   0
 
#define GPIO28   0
 
#define GPIO29   0
 
#define GPIO30   0
 
#define GPIO31   0
 

Typedefs

typedef uint32_t gpio_port_t
 

Functions

static void gpio_setup_output (gpio_port_t port, uint16_t pin)
 
static void gpio_setup_input (gpio_port_t port, uint16_t pin)
 
static void gpio_set (gpio_port_t port, uint16_t pin)
 
static void gpio_clear (gpio_port_t port, uint16_t pin)
 
static void gpio_toggle (gpio_port_t port, uint16_t pin)
 
static uint16_t gpio_get (gpio_port_t gpioport, uint16_t gpios)
 

Detailed Description

GPIO dummy function/macros to compile in simulation.

Definition in file gpio_arch.h.

Macro Definition Documentation

#define GPIO0   0

Definition at line 43 of file gpio_arch.h.

#define GPIO1   0

Definition at line 44 of file gpio_arch.h.

#define GPIO10   0

Definition at line 53 of file gpio_arch.h.

#define GPIO11   0

Definition at line 54 of file gpio_arch.h.

#define GPIO12   0

Definition at line 55 of file gpio_arch.h.

#define GPIO13   0

Definition at line 56 of file gpio_arch.h.

#define GPIO14   0

Definition at line 57 of file gpio_arch.h.

#define GPIO15   0

Definition at line 58 of file gpio_arch.h.

#define GPIO16   0

Definition at line 60 of file gpio_arch.h.

#define GPIO17   0

Definition at line 61 of file gpio_arch.h.

#define GPIO18   0

Definition at line 62 of file gpio_arch.h.

#define GPIO19   0

Definition at line 63 of file gpio_arch.h.

#define GPIO2   0

Definition at line 45 of file gpio_arch.h.

#define GPIO20   0

Definition at line 64 of file gpio_arch.h.

#define GPIO21   0

Definition at line 65 of file gpio_arch.h.

#define GPIO22   0

Definition at line 66 of file gpio_arch.h.

#define GPIO23   0

Definition at line 67 of file gpio_arch.h.

#define GPIO24   0

Definition at line 68 of file gpio_arch.h.

#define GPIO25   0

Definition at line 69 of file gpio_arch.h.

#define GPIO26   0

Definition at line 70 of file gpio_arch.h.

#define GPIO27   0

Definition at line 71 of file gpio_arch.h.

#define GPIO28   0

Definition at line 72 of file gpio_arch.h.

#define GPIO29   0

Definition at line 73 of file gpio_arch.h.

#define GPIO3   0

Definition at line 46 of file gpio_arch.h.

#define GPIO30   0

Definition at line 74 of file gpio_arch.h.

#define GPIO31   0

Definition at line 75 of file gpio_arch.h.

#define GPIO4   0

Definition at line 47 of file gpio_arch.h.

#define GPIO5   0

Definition at line 48 of file gpio_arch.h.

#define GPIO6   0

Definition at line 49 of file gpio_arch.h.

#define GPIO7   0

Definition at line 50 of file gpio_arch.h.

#define GPIO8   0

Definition at line 51 of file gpio_arch.h.

#define GPIO9   0

Definition at line 52 of file gpio_arch.h.

#define GPIOA   0

Definition at line 34 of file gpio_arch.h.

#define GPIOB   0

Definition at line 35 of file gpio_arch.h.

#define GPIOD   0
#define GPIOE   0

Definition at line 38 of file gpio_arch.h.

Referenced by gpio_enable_clock(), stm32_gpio_init(), and vms_ecu_demo_periodic().

#define GPIOF   0

Definition at line 39 of file gpio_arch.h.

Referenced by gpio_enable_clock(), and stm32_gpio_init().

#define GPIOG   0

Definition at line 40 of file gpio_arch.h.

Referenced by gpio_enable_clock(), and stm32_gpio_init().

#define GPIOH   0

Definition at line 41 of file gpio_arch.h.

Referenced by gpio_enable_clock(), and stm32_gpio_init().

Typedef Documentation

Definition at line 32 of file gpio_arch.h.

Function Documentation

static void gpio_clear ( gpio_port_t  port,
uint16_t  pin 
)
inlinestatic

Definition at line 80 of file gpio_arch.h.

static uint16_t gpio_get ( gpio_port_t  gpioport,
uint16_t  gpios 
)
inlinestatic

Definition at line 82 of file gpio_arch.h.

References FALSE.

static void gpio_set ( gpio_port_t  port,
uint16_t  pin 
)
inlinestatic

Definition at line 79 of file gpio_arch.h.

static void gpio_setup_input ( gpio_port_t  port,
uint16_t  pin 
)
inlinestatic

Definition at line 78 of file gpio_arch.h.

static void gpio_setup_output ( gpio_port_t  port,
uint16_t  pin 
)
inlinestatic

Definition at line 77 of file gpio_arch.h.

static void gpio_toggle ( gpio_port_t  port,
uint16_t  pin 
)
inlinestatic

Definition at line 81 of file gpio_arch.h.