Rev 2 | Rev 4 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2 | Rev 3 | ||
|---|---|---|---|
| Line 49... | Line 49... | ||
| 49 | 49 | ||
| 50 | 50 | ||
| 51 | /* returns the number of characters received by the Rx USART */ |
51 | /* returns the number of characters received by the Rx USART */ |
| 52 | extern uint16_t SerialCharsReceived(usart_ctl * instance); |
52 | extern uint16_t SerialCharsReceived(usart_ctl * instance); |
| 53 | 53 | ||
| 54 | extern inline uint8_t PollSerial(usart_ctl * instance); |
54 | extern uint8_t PollSerial(usart_ctl * instance); |
| 55 | extern uint8_t GetCharSerial(usart_ctl * instance); |
55 | extern uint8_t GetCharSerial(usart_ctl * instance); |
| 56 | extern inline void EnableSerialRxInterrupt(usart_ctl * instance); |
56 | extern void EnableSerialRxInterrupt(usart_ctl * instance); |
| 57 | 57 | ||
| 58 | extern void UART_IRQHandler(usart_ctl * instance); |
58 | extern void UART_IRQHandler(usart_ctl * instance); |
| 59 | 59 | ||
| 60 | extern void PutCharSerial(usart_ctl * instance,uint8_t c); |
60 | extern void PutCharSerial(usart_ctl * instance,uint8_t c); |
| 61 | extern void ResetTxBuffer(usart_ctl * instance); |
61 | extern void ResetTxBuffer(usart_ctl * instance); |