// Power Management Controller (Atmel Docu S. 139) #define PMC_PCER ((volatile unsigned int*) 0xFFFF4010) // Peripheral Clock Enable Register #define PCER_PIOA 0x2000 // PIOA: PIOA Clock. Enable #define PCER_PIOB 0x4000 // PIOB: PIOB Clock. Enable #define PMC_PCDR ((volatile unsigned int*) 0xFFFF4014) // Peripheral Clock Disable Register /*****************************************************************************/ // Parallel I/O Controller B (Atmel Docu S. 59) #define PIOB_PER ((volatile unsigned int*) 0xFFFF0000) // Enable Register (Atmel Docu S. 60) #define PIOB_PDR ((volatile unsigned int*) 0xFFFF0004) // Disable Register (Atmel Docu S. 60) #define PIOB_SODR ((volatile unsigned int*) 0xFFFF0030) // Set Output Data Register (Atmel Docu S. 66) #define PIOB_CODR ((volatile unsigned int*) 0xFFFF0034) // Clear Output Data Register (Atmel Docu S. 66) #define PIOB_OER ((volatile unsigned int*) 0xFFFF0010) // Output Enable Register (Atmel Docu S. 62) #define PIOB_ODR ((volatile unsigned int*) 0xFFFF0014) // Output Disable Register (Atmel Docu S.62) #define PIOB_PDSR ((volatile unsigned int*) 0xFFFF003C) // Pin Data Status Register (Atmel Docu S.67)