blob: d6eb37ccda4b91d9cd08cef4d61a80f2cb498cdc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
/*****************************************************************************/
/*
$Id$
M68302 Scc Polled Uart Support
*/
/*****************************************************************************/
#if !defined(_M68302SCC_H_)
#define _M68302SCC_H_
#if __cplusplus
extern "C"
{
#endif
#define SCC_4800 (0)
#define SCC_9600 (1)
#define SCC_19200 (2)
#define SCC_38400 (3)
#define SCC_57600 (4)
#define SCC_115700 (5)
void scc_initialise(int channel, int baud_rate, int lf_translate);
unsigned char scc_status(int channel, const unsigned char status);
unsigned char scc_in(int channel);
void scc_out(int channel, const unsigned char character);
#if __cplusplus
}
#endif
#endif
|