00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00035
00036 #ifndef UART_IS_USART
00037 #if (UART0_PARITY == UART_PARTITY_ODD) || (UART0_PARITY == UART_PARTITY_EVEN)
00038 #error Currently this module does not support parity if your uC has no USART
00039 #endif
00040
00041 #if (UART0_STOP_BIT == 2)
00042 #error Currently this module does not support another stop bit if your uC has no USART
00043 #endif
00044
00045 #if (UART0_NBITS < 8)
00046 #error Currently this module does not support 5/6/7 bits frames if your uC has no USART
00047 #endif
00048 #endif // !UART_USART
00049
00050
00051
00052 #if !defined(UART_USART) && defined(UART_DOUBLE) // is this possible ??
00053 #if (UART1_PARITY == UART_PARTITY_ODD) || (UART1_PARITY == UART_PARTITY_EVEN)
00054 #error Currently this module does not support parity if your uC has no USART
00055 #endif
00056
00057 #if (UART1_STOP_BIT == 2)
00058 #error Currently this module does not support another stop bit if your uC has no USART
00059 #endif
00060
00061 #if (UART1_NBITS < 8)
00062 #error Currently this module does not support 5/6/7 bits frames if your uC has no USART
00063 #endif
00064 #endif // !UART_USART && UART_DOUBLE
00065
00066
00067