summaryrefslogblamecommitdiffstats
path: root/c/src/lib/libbsp/m68k/ods68302/include/m68302scc.h
blob: d6eb37ccda4b91d9cd08cef4d61a80f2cb498cdc (plain) (tree)

































                                                                               
/*****************************************************************************/
/*
  $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