X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=ao.h;h=6de3339f605423ed8c617edf96e994ddda59ade1;hp=d31928647dbfac5e769107db990ad88871e292b6;hb=cdaf3fc5802acf2ddc7972a15649ab0e1b31b873;hpb=f3f25a1cec7d2a034aa544569cfd23bea1a996c5 diff --git a/ao.h b/ao.h index d3192864..6de3339f 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 0x34 #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_ */