Revision 272
changed bit rate to 38400 bps
proj/src/interrupts_func.c | ||
---|---|---|
101 | 101 |
|
102 | 102 |
/// UART interrupt handling |
103 | 103 |
uart_id = 0; |
104 |
uart_set_bits_per_character(COM1_ADDR, 8); |
|
105 |
uart_set_stop_bits (COM1_ADDR, 2); |
|
106 |
uart_set_parity (COM1_ADDR, uart_parity_even); |
|
107 |
uart_set_bit_rate (COM1_ADDR, 38400); |
|
104 | 108 |
uart_enable_int_rx (COM1_ADDR); |
105 | 109 |
uart_disable_int_tx(COM1_ADDR); |
106 | 110 |
if(subscribe_uart_interrupt(COM1_IRQ, &uart_id)) { |
Also available in: Unified diff