
TCR1000SDK–Rev.3.0.0 Page21
//GPS‐100/200/200Astatuses
GPS_STATUS_FREEWHEEL 0x00000001 //unitisfreewheeling
//Usercallbackroutinefunctiontype
typedefDWORD(__stdcall*PTCRASYNC_CALLBACK_ROUTINE)(DWORDdwStatus,PVOIDdata,
DWORDdataLen);
RelationshipofTCRInterruptstoAPIAsynchronousNotifications
ThissectiondescribestherelationshipbetweentheinterruptsthattheTCRthrowsinresponseto
timecodeeventsandtheAPIasynchronousnotificationhooks.TheTCRdriverisanintermediary
betweentheaforementionedobjectsbutthisistransparenttotheapplicationprogrammer.
KnowledgeoftheinformationinthissectionisnotrequiredtousetheAPIbutshouldbeconsidered
inscenarioswheremulti‐process/threaduseofAPIwillbeimplemented.
TCRinterrupt APIcallbackhook
TimeSetInterrupt
(Once/minuteinterruptthrownwhentime
codeseconds=30,frame=0)
ASYNC_TIMESET
Once/SecondInterrupt
(Once/secondinterruptthrownwhentime
codeframe=0)
ASYNC_PERSEC
EndTimeCodeInterrupt
(Once/frameinterruptthrownaftertimecode
datadecoded,beforesyncword)
ASYNC_ENDTC
StartTimeCodeInterrupt
(Once/frameinterruptthrownbeforetime
codedata
decoded,aftersyncword[topoftheframe])
ASYNC_STARTTC
TimeCodeLoss
(Thrownwhentimecodeislostfromanactive
decodingstate)
ASYNC_TIMELOSS
TimeGainInterrupt
(Thrownwhentimecodeisregainedfroma
loststate)
ASYNC_TIMEGAIN
Comentários a estes Manuais