Paparazzi UAS  v6.2_unstable
Paparazzi is a free software Unmanned Aircraft System.
gpio_arch.h File Reference

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

◆ GPIO0

#define GPIO0   0

Definition at line 43 of file gpio_arch.h.

◆ GPIO1

#define GPIO1   0

Definition at line 44 of file gpio_arch.h.

◆ GPIO10

#define GPIO10   0

Definition at line 53 of file gpio_arch.h.

◆ GPIO11

#define GPIO11   0

Definition at line 54 of file gpio_arch.h.

◆ GPIO12

#define GPIO12   0

Definition at line 55 of file gpio_arch.h.

◆ GPIO13

#define GPIO13   0

Definition at line 56 of file gpio_arch.h.

◆ GPIO14

#define GPIO14   0

Definition at line 57 of file gpio_arch.h.

◆ GPIO15

#define GPIO15   0

Definition at line 58 of file gpio_arch.h.

◆ GPIO16

#define GPIO16   0

Definition at line 60 of file gpio_arch.h.

◆ GPIO17

#define GPIO17   0

Definition at line 61 of file gpio_arch.h.

◆ GPIO18

#define GPIO18   0

Definition at line 62 of file gpio_arch.h.

◆ GPIO19

#define GPIO19   0

Definition at line 63 of file gpio_arch.h.

◆ GPIO2

#define GPIO2   0

Definition at line 45 of file gpio_arch.h.

◆ GPIO20

#define GPIO20   0

Definition at line 64 of file gpio_arch.h.

◆ GPIO21

#define GPIO21   0

Definition at line 65 of file gpio_arch.h.

◆ GPIO22

#define GPIO22   0

Definition at line 66 of file gpio_arch.h.

◆ GPIO23

#define GPIO23   0

Definition at line 67 of file gpio_arch.h.

◆ GPIO24

#define GPIO24   0

Definition at line 68 of file gpio_arch.h.

◆ GPIO25

#define GPIO25   0

Definition at line 69 of file gpio_arch.h.

◆ GPIO26

#define GPIO26   0

Definition at line 70 of file gpio_arch.h.

◆ GPIO27

#define GPIO27   0

Definition at line 71 of file gpio_arch.h.

◆ GPIO28

#define GPIO28   0

Definition at line 72 of file gpio_arch.h.

◆ GPIO29

#define GPIO29   0

Definition at line 73 of file gpio_arch.h.

◆ GPIO3

#define GPIO3   0

Definition at line 46 of file gpio_arch.h.

◆ GPIO30

#define GPIO30   0

Definition at line 74 of file gpio_arch.h.

◆ GPIO31

#define GPIO31   0

Definition at line 75 of file gpio_arch.h.

◆ GPIO4

#define GPIO4   0

Definition at line 47 of file gpio_arch.h.

◆ GPIO5

#define GPIO5   0

Definition at line 48 of file gpio_arch.h.

◆ GPIO6

#define GPIO6   0

Definition at line 49 of file gpio_arch.h.

◆ GPIO7

#define GPIO7   0

Definition at line 50 of file gpio_arch.h.

◆ GPIO8

#define GPIO8   0

Definition at line 51 of file gpio_arch.h.

◆ GPIO9

#define GPIO9   0

Definition at line 52 of file gpio_arch.h.

◆ GPIOA

#define GPIOA   0

Definition at line 34 of file gpio_arch.h.

◆ GPIOB

#define GPIOB   0

Definition at line 35 of file gpio_arch.h.

◆ GPIOC

#define GPIOC   0

Definition at line 36 of file gpio_arch.h.

◆ GPIOD

#define GPIOD   0

Definition at line 37 of file gpio_arch.h.

◆ GPIOE

#define GPIOE   0

Definition at line 38 of file gpio_arch.h.

◆ GPIOF

#define GPIOF   0

Definition at line 39 of file gpio_arch.h.

◆ GPIOG

#define GPIOG   0

Definition at line 40 of file gpio_arch.h.

◆ GPIOH

#define GPIOH   0

Definition at line 41 of file gpio_arch.h.

Typedef Documentation

◆ gpio_port_t

Definition at line 32 of file gpio_arch.h.

Function Documentation

◆ gpio_clear()

static void gpio_clear ( gpio_port_t  port,
uint16_t  pin 
)
inlinestatic

Definition at line 80 of file gpio_arch.h.

◆ gpio_get()

static uint16_t gpio_get ( gpio_port_t  gpioport,
uint16_t  gpios 
)
inlinestatic

Definition at line 82 of file gpio_arch.h.

References FALSE.

◆ gpio_set()

static void gpio_set ( gpio_port_t  port,
uint16_t  pin 
)
inlinestatic

Definition at line 79 of file gpio_arch.h.

◆ gpio_setup_input()

static void gpio_setup_input ( gpio_port_t  port,
uint16_t  pin 
)
inlinestatic

Definition at line 78 of file gpio_arch.h.

◆ gpio_setup_output()

static void gpio_setup_output ( gpio_port_t  port,
uint16_t  pin 
)
inlinestatic

Definition at line 77 of file gpio_arch.h.

◆ gpio_toggle()

static void gpio_toggle ( gpio_port_t  port,
uint16_t  pin 
)
inlinestatic

Definition at line 81 of file gpio_arch.h.