Subversion Repositories zxusbnet

Rev

Rev 47 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
47 dimkam 1
#ifndef __UART__
2
#define __UART__
3
 
4
#define CLK_CPU                         8000000L        /* 8Mhz */
5
#define UART_BAUD_RATE          57600L          /* 57600 baud */
6
#define UART_BAUD_SELECT        (CLK_CPU/(UART_BAUD_RATE*8L)-1L)
7
 
8
void initUART(void);
9
 
10
#endif