Work in progress...

This commit is contained in:
Richard Barry 2008-02-10 14:44:30 +00:00
parent 5afe5250e5
commit 93dd04d5dd
7 changed files with 404 additions and 772 deletions

View file

@ -74,12 +74,12 @@ xComPortHandle xSerialPortInitMinimal( unsigned portLONG ulWantedBaud, unsigned
/* Initialize UART asynchronous mode */
BGR02 = configPER_CLOCK_HZ / ulWantedBaud;
SCR02 = 0x17; /* 8N1 */
SMR02 = 0x0d; /* enable SOT3, Reset, normal mode */
SSR02 = 0x02; /* LSB first, enable receive interrupts */
SCR02 = 0x17; /* 8N1 */
SMR02 = 0x0d; /* enable SOT3, Reset, normal mode */
SSR02 = 0x02; /* LSB first, enable receive interrupts */
PFR20_D0 = 1; // enable UART
PFR20_D1 = 1; // enable UART
PFR20_D0 = 1; // enable UART
PFR20_D1 = 1; // enable UART
EPFR20_D1 = 0; // enable UART
}