Home
last modified time | relevance | path

Searched refs:control_2 (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/drivers/rtc/
Drtc_pcf8523.c268 uint8_t control_2; in pcf8523_int1_thread() local
275 err = pcf8523_read_reg8(dev, PCF8523_CONTROL_2, &control_2); in pcf8523_int1_thread()
281 if ((control_2 & PCF8523_CONTROL_2_AF) != 0 && data->alarm_callback != NULL) { in pcf8523_int1_thread()
282 control_2 &= ~(PCF8523_CONTROL_2_AF); in pcf8523_int1_thread()
289 if ((control_2 & PCF8523_CONTROL_2_SF) != 0) { in pcf8523_int1_thread()
290 control_2 &= ~(PCF8523_CONTROL_2_SF); in pcf8523_int1_thread()
296 control_2 |= PCF8523_CONTROL_2_CTAF | PCF8523_CONTROL_2_CTBF; in pcf8523_int1_thread()
298 err = pcf8523_write_reg8(dev, PCF8523_CONTROL_2, control_2); in pcf8523_int1_thread()
304 err = pcf8523_read_reg8(dev, PCF8523_CONTROL_2, &control_2); in pcf8523_int1_thread()
309 if (((control_2 & PCF8523_CONTROL_2_AF) != 0U && alarm_callback != NULL) || in pcf8523_int1_thread()
[all …]