13 #ifndef _BOARD_INIT_H_ 14 #define _BOARD_INIT_H_ 24 #define TASTER_PORT PORTD 25 #define TASTER_1_bm PIN2_bm 26 #define TASTER_2_bm PIN3_bm 27 #define TASTER_3_bm PIN4_bm 28 #define TASTER_4_bm PIN5_bm 29 #define TASTER_ALLE (TASTER_1_bm | TASTER_2_bm | TASTER_3_bm | TASTER_4_bm) 34 #define QVGA_SPI &SPIC 35 #define QVGA_CS &PORTB, PIN0_bm 36 #define QVGA_SCK &PORTC, PIN7_bm 37 #define QVGA_MISO &PORTC, PIN6_bm 38 #define QVGA_MOSI &PORTC, PIN5_bm 39 #define QVGA_DC &PORTC, PIN4_bm 40 #define QVGA_LCD_RESET &PORTC, PIN3_bm 45 #define SD_READER_SPI_ADDR &SPIE 46 #define SD_READER_CS &PORTB, PIN2_bm 47 #define SD_READER_SCK &PORTE, PIN7_bm 48 #define SD_READER_MISO &PORTE, PIN6_bm 49 #define SD_READER_MOSI &PORTE, PIN5_bm 50 #define SD_READER_SPI SPIE 51 #define SD_READER_SPI_PORT PORTE 52 #define SD_READER_SS &PORTE, PIN4_bm 58 #define LADE_POWER_IN_INT_bm PIN1_bm 59 #define USB_POWER_IN_INT_bm PIN0_bm 64 #define LAST_bm PIN3_bm 69 #define TEMPERATURE_INT_bm PIN2_bm 74 #define BT_INT_bm PIN4_bm 79 #define V_START_OFF_bm PIN1_bm 80 #define V_START_OFF &PORTB, PIN1_bm 97 extern uint8_t betriebsart;
106 #endif // _BOARD_INIT_H_ void board_init(void)
This function initialises the board target resources.
FILE usbout
Filestreams für USB Kommunikation.