void se_initialize_port() { // --- UART 0 --- // -------------- flag_TI = 1; U0BRG = 103; // 103 = 9600, 25 = baudrate 38400, 8 = baudrate 115200 U0MR = 0x5; // no parity, 8 data-bits, 1 stop-bit, internal clock U0C0 = 0x10; // no cts/rts, prescaler = F1 U0C1 = 0x5; // enable receiver and transmitter U0IRS = 1; // TX complete S0TIC |= 0x6; // Set UART0 transmit interrupt priority S0RIC |= 0x6; // Set UART0 receive interrupt priority PD6_3 = 1; // Port 6-3 auf Ausgang PD6_2 = 0; // Port 6-2 auf Eingang }