libs/avr_lib/gpio.h
__attribute__((always_inline)) static inline void
GPIO_setDir(const GPIO_TypeDef *gpio, uint8_t dir)
{
    gpio->port->ddr = (gpio->port->ddr & ~gpio->mask) | dir;
}
// Sets pin(s) direction to value provided. Will both set and clear bits. Value
// must line up pin_mask that is defined in struct.
Sets pin(s) direction to value provided. Will both set and clear bits. Value
must line up pin_mask that is defined in struct.
Sets pin ( s ) direction to value provided . Will both set and clear bits . Value must line up pin_mask that is defined in struct .
__attribute__((always_inline)) static inline void
GPIO_setDir(const GPIO_TypeDef *gpio, uint8_t dir)
{
    gpio->port->ddr = (gpio->port->ddr & ~gpio->mask) | dir;
}
__attribute__ ( ( always_inline ) ) static inline void GPIO_setDir ( const GPIO_TypeDef * gpio , uint8_t dir ) { gpio -> port -> ddr = ( gpio -> port -> ddr & ~ gpio -> mask ) | dir ; }
Sets pin(s) direction to value provided.
Sets pin ( s ) direction to value provided .