X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=ao.h;h=7c68645ce88a6741cfc3d64a6e14e05540469001;hp=d31928647dbfac5e769107db990ad88871e292b6;hb=c5c1e3fb1c253d387be02c127253ac2a55d577b4;hpb=f3f25a1cec7d2a034aa544569cfd23bea1a996c5;ds=sidebyside diff --git a/ao.h b/ao.h index d3192864..7c68645c 100644 --- a/ao.h +++ b/ao.h @@ -25,7 +25,7 @@ #define DATA_TO_XDATA(a) ((void __xdata *) ((uint8_t) (a) | 0xff00)) -#define AO_STACK_START 0x27 +#define AO_STACK_START 0x32 #define AO_STACK_END 0xfe #define AO_STACK_SIZE (AO_STACK_END - AO_STACK_START + 1) @@ -121,4 +121,21 @@ ao_led_set(uint8_t colors); void ao_led_for(uint8_t colors, uint16_t ticks); +/* ao_usb.c */ + +void +ao_usb_isr(void) interrupt 6; + +void +ao_usb_flush(void); + +void +ao_usb_putchar(uint8_t c); + +uint8_t +ao_usb_getchar(void); + +void +ao_usb_init(void); + #endif /* _AO_H_ */