source: rtems/c/src/lib/libbsp/m68k/ods68302/include/m68302scc.h @ 8548fe0

4.104.114.84.95
Last change on this file since 8548fe0 was 0074691, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 31, 1997 at 10:13:29 PM

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
Line 
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
14extern "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 
25void scc_initialise(int channel, int baud_rate, int lf_translate);
26unsigned char scc_status(int channel, const unsigned char status);
27unsigned char scc_in(int channel);
28void 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.