Searched refs:freq_ppb (Results 1 – 1 of 1) sorted by relevance
/Zephyr-Core-3.6.0/drivers/rtc/ |
D | rtc_pcf8523.c | 711 static int pcf8523_set_calibration(const struct device *dev, int32_t freq_ppb) in pcf8523_set_calibration() argument 713 int32_t period_ppb = freq_ppb * -1; in pcf8523_set_calibration() 717 LOG_WRN("calibration value (%d ppb) out of range", freq_ppb); in pcf8523_set_calibration() 727 LOG_DBG("freq_ppb = %d, period_ppb = %d, offset = %d", freq_ppb, period_ppb, offset); in pcf8523_set_calibration() 732 static int pcf8523_get_calibration(const struct device *dev, int32_t *freq_ppb) in pcf8523_get_calibration() argument 747 *freq_ppb = period_ppb * -1; in pcf8523_get_calibration() 749 LOG_DBG("freq_ppb = %d, period_ppb = %d, offset = %d", *freq_ppb, period_ppb, offset); in pcf8523_get_calibration()
|