Rev 4 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4 | Rev 23 | ||
---|---|---|---|
Line 12... | Line 12... | ||
12 | #include "serial.h" |
12 | #include "serial.h" |
13 | 13 | ||
14 | /* workspaces for the USARTS being used */ |
14 | /* workspaces for the USARTS being used */ |
15 | usart_ctl uc1; |
15 | usart_ctl uc1; |
16 | usart_ctl uc2; |
16 | usart_ctl uc2; |
- | 17 | usart_ctl uc3; |
|
17 | 18 | ||
18 | 19 | ||
19 | 20 | ||
20 | /* returns the number of characters received by the Rx USART */ |
21 | /* returns the number of characters received by the Rx USART */ |
21 | uint16_t SerialCharsReceived(usart_ctl * instance) |
22 | uint16_t SerialCharsReceived(usart_ctl * instance) |
Line 251... | Line 252... | ||
251 | void USART2_IRQHandler(void) |
252 | void USART2_IRQHandler(void) |
252 | { |
253 | { |
253 | UART_IRQHandler(&uc2); |
254 | UART_IRQHandler(&uc2); |
254 | } |
255 | } |
255 | 256 | ||
- | 257 | void USART3_IRQHandler(void) |
|
- | 258 | { |
|
- | 259 | UART_IRQHandler(&uc3); |
|
- | 260 | } |
|
- | 261 |