STM32: Clock speed PPM limit

This commit is contained in:
Pavel Kirienko
2014-04-25 15:23:22 +04:00
parent 32671fe574
commit 430776469f
2 changed files with 15 additions and 3 deletions
@@ -43,6 +43,12 @@ void adjustUtc(uavcan::UtcDuration adjustment);
*/
uavcan::int32_t getUtcSpeedCorrectionPPM();
/**
* Sets maximum absolute UTC speed correction in ppm.
* This function is thread safe.
*/
void setMaxUtcSpeedCorrectionPPM(uavcan::uint32_t ppm);
/**
* Number of non-gradual adjustments performed so far.
* Ideally should be zero.