projects
/
pyfrprog.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
faster baudrate for pkernel
[pyfrprog.git]
/
pkernel
/
uart.c
diff --git
a/pkernel/uart.c
b/pkernel/uart.c
index 3d42718fb04db54f62ec0b2acd5757631fa9a40a..53106a6107ed9c8af522bf06d16687bbeec88c6c 100644
(file)
--- a/
pkernel/uart.c
+++ b/
pkernel/uart.c
@@
-3,7
+3,7
@@
void InitUart4(void)
{
// Initialize UART asynchronous mode
- BGR04 =
416; // 384
00 Baud @ 16MHz
+ BGR04 =
138; // 1152
00 Baud @ 16MHz
SCR04 = 0x17; // 8N1
SMR04 = 0x0d; // enable SOT3, Reset, normal mode
SSR04 = 0x00; // LSB first