4.104.114.84.95
Last change
on this file since 60b791ad was
0074691a,
checked in by Joel Sherrill <joel.sherrill@…>, on 07/31/97 at 22:13:29
|
Merged very large and much appreciated patch from Chris Johns
<cjohns@…>. This patch includes the ods68302 bsp,
the RTEMS++ class library, and the rtems++ test.
|
-
Property mode set to
100644
|
File size:
710 bytes
|
Rev | Line | |
---|
[0074691a] | 1 | /*****************************************************************************/ |
---|
| 2 | /* |
---|
| 3 | $Id$ |
---|
| 4 | |
---|
| 5 | M68302 Scc Polled Uart Support |
---|
| 6 | |
---|
| 7 | */ |
---|
| 8 | /*****************************************************************************/ |
---|
| 9 | |
---|
| 10 | #if !defined(_M68302SCC_H_) |
---|
| 11 | #define _M68302SCC_H_ |
---|
| 12 | |
---|
| 13 | #if __cplusplus |
---|
| 14 | extern "C" |
---|
| 15 | { |
---|
| 16 | #endif |
---|
| 17 | |
---|
| 18 | #define SCC_4800 (0) |
---|
| 19 | #define SCC_9600 (1) |
---|
| 20 | #define SCC_19200 (2) |
---|
| 21 | #define SCC_38400 (3) |
---|
| 22 | #define SCC_57600 (4) |
---|
| 23 | #define SCC_115700 (5) |
---|
| 24 | |
---|
| 25 | void scc_initialise(int channel, int baud_rate, int lf_translate); |
---|
| 26 | unsigned char scc_status(int channel, const unsigned char status); |
---|
| 27 | unsigned char scc_in(int channel); |
---|
| 28 | void scc_out(int channel, const unsigned char character); |
---|
| 29 | |
---|
| 30 | #if __cplusplus |
---|
| 31 | } |
---|
| 32 | #endif |
---|
| 33 | |
---|
| 34 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.