Searched refs:control_2 (Results 1 – 1 of 1) sorted by relevance
268 uint8_t control_2; in pcf8523_int1_thread() local275 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 …]