Hi ..

Code:
void MeineFunktion(volatile uint8_t *port, uint8_t bit)
{
    *port |= (1<<bit);
}
und Aufruf:
Code:
MeineFunktion(&PORTD, 7);