34#if defined(LIBOPENCM3_GPIO_H)
36#ifndef LIBOPENCM3_GPIO_COMMON_ALL_H
37#define LIBOPENCM3_GPIO_COMMON_ALL_H
45#define GPIO_LCKK (1 << 16)
63#define GPIO10 (1 << 10)
64#define GPIO11 (1 << 11)
65#define GPIO12 (1 << 12)
66#define GPIO13 (1 << 13)
67#define GPIO14 (1 << 14)
68#define GPIO15 (1 << 15)
69#define GPIO_ALL 0xffff
74void gpio_set(uint32_t gpioport, uint16_t gpios);
75void gpio_clear(uint32_t gpioport, uint16_t gpios);
76uint16_t
gpio_get(uint32_t gpioport, uint16_t gpios);
88#warning "gpio_common_all.h should not be included explicitly, only via gpio.h"
void gpio_toggle(uint32_t gpioport, uint16_t gpios)
Toggle a Group of Pins.
uint16_t gpio_get(uint32_t gpioport, uint16_t gpios)
Read a Group of Pins.
void gpio_port_config_lock(uint32_t gpioport, uint16_t gpios)
Lock the Configuration of a Group of Pins.
void gpio_set(uint32_t gpioport, uint16_t gpios)
Set a Group of Pins Atomic.
void gpio_clear(uint32_t gpioport, uint16_t gpios)
Clear a Group of Pins Atomic.
uint16_t gpio_port_read(uint32_t gpioport)
Read from a Port.
void gpio_port_write(uint32_t gpioport, uint16_t data)
Write to a Port.