head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2006.06.01.01.12.05; author nachumk; state Exp; branches; next ; commitid 5b5f447e3e8f4567; desc @@ 1.1 log @1st version. View readme.txt to see available features and current limitations. @ text @#wait for interrupt thread to do initialization PARAMETERS vector8 txstart WAIT 30 ns #counter is now set by parameter at thread creation WHILE WAIT 3 us #check if transmit ready interrupt - from interrupt thread vector8 tmp = int0shadow tmp &= 00000001 IF tmp == 00000001 int0shadow &= 11111110 WRITE 00010110 txstart #increment counter for transmit txstart += 00000001 IF_END WHILE_END @