Masterclock TCR1000 Uživatelský manuál Strana 18

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 23
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 17
TCR1000SDKRev.3.0.0  Page18
WhenthecallbackfunctionprovidesaTCRTIMEdatastructureasthedatapassed,thedatemembers
oftheTCRTIMEstructurewillbesetrelativetothetypeoftimecodebeingdecoded.Ifthetimecode
sourceisnotactuallyencodingdate,thevalueofthedatemembersisundefined.Itisthe
responsibilityoftheapplicationprogrammertodetermineifdatewillorwillnotbeencodedbythe
timecodesource.
StructureandConstantsReference
//AstructuredefiningaSMPTEtimecodeframe(theunion‘rawTc’memberofTCRTIMEwillcontain
//thisdatastructureifoperatingwithSMPTEtimecode.
typedefstruct_SMPTE
{
UCHARfu;//frameunits
UCHARu1;//usergroup1
UCHARft;//frametens
UCHARu2;//
usergroup2
UCHARsu;//secondunits
UCHARu3;//usergroup3
UCHARst;//secondtens
UCHARu4;//usergroup4
UCHARmu;//minuteunits
UCHARu5;//usergroup5
UCHARmt;//minutetens
UCHARu6;//usergroup6
UCHARhu;//hourunits
UCHARu7;//usergroup7
UCHARht;//hourtens
UCHARu8;//usergroup8
}SMPTE,*PSMPTE;
//AstructuredefininganIRIGBorIRIGB1timecodeframe(theunion‘rawTc’memberofTCRTIME
willcontain
//thisdatastructureifoperatingwithIRIGBorIRIGB1timecode.
typedefstruct_IRIG
{
UCHARsu;//secondunits
UCHARst;//secondtens
UCHARmu;//minuteunits
UCHARmt;//minutetens
UCHARhu;//hourunits
UCHARht;//hourtens
UCHARdu;//dayunits
UCHARdt;//daytens
UCHARdh;//dayhundreds
UCHARcf1;//controlfunctions1(seeTCR500manualformoreinformation)
UCHARcf2;//controlfunctions2(seeTCR500manualformoreinformation)
UCHARcf3;//controlfunctions3(seeTCR500manualformoreinformation)
Zobrazit stránku 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23

Komentáře k této Příručce

Žádné komentáře