1
0

Add LED support to x68k

Este commit está contenido en:
tmk 2013-06-21 16:34:39 +09:00
padre d99be8edc4
commit 94b23decf7
Se han modificado 2 ficheros con 7 adiciones y 0 borrados

Ver fichero

@ -64,6 +64,12 @@ uint8_t x68k_recv(void)
return data;
}
void x68k_send(uint8_t d)
{
while (!(UCSR1A&(1<<UDRE1)));
UDR1 = d;
}
// USART RX complete interrupt
ISR(KBD_RX_VECT)
{

Ver fichero

@ -41,6 +41,7 @@ POSSIBILITY OF SUCH DAMAGE.
/* host role */
void x68k_init(void);
uint8_t x68k_recv(void);
void x68k_send(uint8_t d);
/* device role */