libs/avr_lib/gpio.h
__attribute__((always_inline)) static inline void
GPIO_setDirLogical(const GPIO_TypeDef *gpio, uint8_t dir)
{
    if (dir)
    {
        gpio->port->ddr |= gpio->mask;
    }
    else
    {
        gpio->port->ddr &= gpio->mask;
    }
}
// Sets all pins interpreting value as a logical value
Sets all pins interpreting value as a logical value
Sets all pins interpreting value as a logical value
__attribute__((always_inline)) static inline void
GPIO_setDirLogical(const GPIO_TypeDef *gpio, uint8_t dir)
{
    if (dir)
    {
        gpio->port->ddr |= gpio->mask;
    }
    else
    {
        gpio->port->ddr &= gpio->mask;
    }
}
__attribute__ ( ( always_inline ) ) static inline void GPIO_setDirLogical ( const GPIO_TypeDef * gpio , uint8_t dir ) { if ( dir ) { gpio -> port -> ddr |= gpio -> mask ; } else { gpio -> port -> ddr &= gpio -> mask ; } }
Sets all pins interpreting value as a logical value
Sets all pins interpreting value as a logical value