Gast
#1875287
Hallo,
ich habe seid einer Woche das Board EVK1100 und will Ausgänge schalten.
#include <avr32/uc3a0512.h>
#include "compiler.h"
#include "gpio.h"
int main() {
AVR32_GPIO.port[1].gper = 0xFFFFFFFF;
AVR32_GPIO.port[1].oder = 0xFFFFFFFF;
AVR32_GPIO.port[1].odmer = 0x00000000;
AVR32_GPIO.port[1].ovr = 0x00000000;
AVR32_GPIO.port[1].puer = 0x00000000;
AVR32_GPIO.port[1].gperc = 0xFFFFFFFF;
while(1)
{
}
return 0;
}
Ich habe dann diesen code benutzt. In die Eckige Klammer muss doch ne
eins rein für PB oder ?