DecodeCrankTorqueFrequency.h 949 B

12345678910111213141516171819202122232425
  1. /*
  2. This software is subject to the license described in the License.txt file
  3. included with this software distribution. You may not use this file except in compliance
  4. with this license.
  5. Copyright (c) Dynastream Innovations Inc. 2014
  6. All rights reserved.
  7. */
  8. #if !defined (DECODE_CRANKTORQUE_FREQ_H)
  9. #define DECODE_CRANKTORQUE_FREQ_H
  10. #define CTF_TIME_QUANTIZATION (2000) // Timer ticks per second
  11. #include "PowerDecoder.h"
  12. void DecodeCrankTorqueFreq_Init(double dRecordInterval_, double dTimeBase_, double dReSyncInterval_, PowerRecordReceiver powerRecordReceiverPtr_);
  13. void DecodeCrankTorqueFreq_End(void);
  14. void DecodeCrankTorqueFreq_Message(double dTime_, unsigned char messagePayload_[]);
  15. void DecodeCrankTorqueFreq_Calibration(double dTime_, unsigned char messagePayload_[]);
  16. void DecodeCrankTorqueFreq_Resync(double dTime_, unsigned char messagePayload_[]);
  17. void DecodeCrankTorqueFreq(double dTime_, unsigned char messagePayload_[]);
  18. #endif