14#ifndef LAZULI_SYS_ARCH_AVR_REGISTERS_H
15#define LAZULI_SYS_ARCH_AVR_REGISTERS_H
25#define PINB DIRECT(0x23)
28#define DDRB DIRECT(0x24)
31#define PORTB DIRECT(0x25)
34#define PINC DIRECT(0x26)
37#define DDRC DIRECT(0x27)
40#define PORTC DIRECT(0x28)
43#define PIND DIRECT(0x29)
46#define DDRD DIRECT(0x2a)
49#define PORTD DIRECT(0x2b)
52#define EIFR DIRECT(0x3c)
55#define EIMSK DIRECT(0x3d)
58#define SMCR DIRECT(0x53)
61#define MCUCR DIRECT(0x55)
64#define SP DIRECT_T(0x5d, void*)
67#define PRR DIRECT(0x64)
70#define EICRA DIRECT(0x69)
Basic type definitions and useful macros.
#define POSITION(X)
Define a constant bit at position X, starting from index 0.
@ PRR_PRTIM2
Power Reduction Timer/Counter 2
@ PRR_PRADC
Power Reduction ADC
@ PRR_PRTIM0
Power Reduction Timer/Counter 0
@ PRR_PRTWI
Power Reduction TWI
@ PRR_PRUSART0
Power Reduction USART0
@ PRR_PRTIM1
Power Reduction Timer/Counter 1
@ PRR_PRSPI
Power Reduction Serial Peripheral Interface