This is a test of the ability to publish code
Dependencies: mbed SpiFlash25 mtsas
PICManager.cpp
00001 00002 00003 #include "PICManager.h" 00004 00005 PICManager* PICManager::m_instance = NULL;; 00006 00007 00008 // These global function callbacks are invoked during PICConsumePacket() when they are decoded 00009 // respectively. All they do is find the PICManager instance and delegate to it. 00010 PIC_result_t PICTransmitCallback( 00011 const char* bytes, 00012 size_t count) 00013 { 00014 return PICManager::instance()->TransmitCallback(bytes, count); 00015 } 00016 00017 PIC_result_t PICParametricDataCallback( 00018 char type, 00019 int state, 00020 int Vsp, 00021 int Voem, 00022 int V3, 00023 int V4, 00024 int A1, 00025 int A2, 00026 int K) 00027 { 00028 return PICManager::instance()->ParametricDataCallback(type, state, Vsp, Voem, V3, V4, A1, A2, K); 00029 } 00030 00031 PIC_result_t PICConfigurationDataCallback( 00032 int version, 00033 int Vcutoff, 00034 int Vcharge, 00035 int Tdisch, 00036 int ProgSel) 00037 { 00038 return PICManager::instance()->ConfigurationDataCallback(version, Vcutoff, Vcharge, Tdisch, ProgSel); 00039 }
Generated on Sat Jul 16 2022 20:02:36 by 1.7.2