6 #ifndef _UARTSPI_HARDWARE_H
7 #define _UARTSPI_HARDWARE_H
12 uspi_ptr UartSpi_ddr = &DDRD;
13 uspi_ptr UartSpi_port = &PORTD;
14 uspi_ptr UartSpi_UCSR0A = &UCSR0A;
15 uspi_ptr UartSpi_UCSR0B = &UCSR0B;
16 uspi_ptr UartSpi_UCSR0C = &UCSR0C;
17 uspi_ptr UartSpi_UDR0 = &UDR0;
18 uspi_ptr16 UartSpi_UBRR0 = &UBRR0;
20 uspi_pin UartSpi_Miso = PD0;
21 uspi_pin UartSpi_AdcConv = PD2;
22 uspi_pin UartSpi_Sck = PD4;
24 uspi_bit UartSpi_UMSEL00 = UMSEL00;
25 uspi_bit UartSpi_UMSEL01 = UMSEL01;
26 uspi_bit UartSpi_RXEN0 = RXEN0;
27 uspi_bit UartSpi_TXEN0 = TXEN0;
28 uspi_bit UartSpi_UCPOL0 = UCPOL0;
29 uspi_bit UartSpi_UCPHA0 = UCPHA0;
30 uspi_bit UartSpi_UDORD0 = UDORD0;
31 uspi_bit UartSpi_UDRE0 = UDRE0;
32 uspi_bit UartSpi_RXC0 = RXC0;