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(); 00010 ... 00011 }