OpenCores
URL https://opencores.org/ocsvn/mblite/mblite/trunk

Subversion Repositories mblite

[/] [mblite/] [trunk/] [sw/] [stdio/] [stdio.h] - Rev 7

Go to most recent revision | Compare with Previous | Blame | View Log

/**
   Standard I/O adresses
*/
 
void outbyte(char c);
char inbyte();
 
void outbyte(char c)
{
    volatile char *COUT = (char *) 0xFFFFFFC0;
    *COUT = c;
}
 
char inbyte()
{
    volatile char *CIN = (char *) 0xFFFFFFC0;
    return (char) *CIN;
}
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.