41void gpio_set(uint32_t gpioport, uint16_t gpios)
71uint16_t
gpio_get(uint32_t gpioport, uint16_t gpios)
90 GPIO_BSRR(gpioport) = ((port & gpios) << 16) | (~port & gpios);
104 return (uint16_t)
GPIO_IDR(gpioport);
138 GPIO_LCKR(gpioport) = ~GPIO_LCKK & gpios;
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.