00001 CSIS3820* pModule(0); 00002 ... 00003 void iniscl() 00004 { 00005 ... 00006 if(!pModule) pModule=new CSIS3820(0x38000000); 00007 pModule->setOperatingMode(CSIS3820::LatchingScaler); 00008 pModule->setInputMode(CSIS3820::InputLatchInhibitAll); 00009 pModule->DisableClearOnLatch(); // RT Clock mode e.g. 00010 pModule->Arm(); 00011 pModule->Enable(); 00012 ... 00013 }