X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=pyfrprog.git;a=blobdiff_plain;f=pkernel%2Fuart.c;h=53106a6107ed9c8af522bf06d16687bbeec88c6c;hp=ec6f97ddb55cdf51b4ba8cbf3ba6c29945e3596f;hb=HEAD;hpb=8917c5227c75dd57b787c3c283c4d63895e5d566 diff --git a/pkernel/uart.c b/pkernel/uart.c index ec6f97d..53106a6 100644 --- a/pkernel/uart.c +++ b/pkernel/uart.c @@ -1,11 +1,9 @@ #include "mb91465k.h" -#pragma section CODE=IRAM,attr=CODE - void InitUart4(void) { // Initialize UART asynchronous mode - BGR04 = 416; // 38400 Baud @ 16MHz + BGR04 = 138; // 115200 Baud @ 16MHz SCR04 = 0x17; // 8N1 SMR04 = 0x0d; // enable SOT3, Reset, normal mode SSR04 = 0x00; // LSB first