Rev 244 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 244 | Rev 380 | ||
---|---|---|---|
Line 15... | Line 15... | ||
15 | u8 *pwrite; // write pointer |
15 | u8 *pwrite; // write pointer |
16 | u16 putvicsource; // IRQ source to block, during put |
16 | u16 putvicsource; // IRQ source to block, during put |
17 | u16 getvicsource; // IRQ source to block, during get |
17 | u16 getvicsource; // IRQ source to block, during get |
18 | } fifo_t; |
18 | } fifo_t; |
Line -... | Line 19... | ||
- | 19 | ||
19 | 20 | extern fifo_t UART1_rx_fifo; |
|
20 | /* |
21 | /* |
21 | The initialization of the FIFO sets the read/write pointers etc.. |
22 | The initialization of the FIFO sets the read/write pointers etc.. |
22 | The FIFO uses the buffer 'buf' which byte length must 'size'. |
23 | The FIFO uses the buffer 'buf' which byte length must 'size'. |
23 | Returns 1 on success ans 0 in case of an error. |
24 | Returns 1 on success ans 0 in case of an error. |