static void handle_exception (int exceptionVector);
void init_serial();
-
-int putDebugChar (char);
+void putDebugChar (char);
char getDebugChar (void);
/* These are in the file but in asm statements so the compiler can't see them */
#define BPS 32 /* 9600 for 10 Mhz */
#endif
-char getDebugChar (void);
-int putDebugChar (char);
void handleError (char theSSR);
void
return (SSR1 & SCI_TDRE);
}
-int
+void
putDebugChar (char ch)
{
while (!putDebugCharReady())
*/
TDR1 = ch;
SSR1 &= ~SCI_TDRE;
- return 1;
}
void