Searched refs:control_1 (Results 1 – 1 of 1) sorted by relevance
194 uint8_t control_1; in pcf8523_write_stop_bit_unlocked() local197 err = pcf8523_read_reg8(dev, PCF8523_CONTROL_1, &control_1); in pcf8523_write_stop_bit_unlocked()203 control_1 |= PCF8523_CONTROL_1_STOP; in pcf8523_write_stop_bit_unlocked()205 control_1 &= ~(PCF8523_CONTROL_1_STOP); in pcf8523_write_stop_bit_unlocked()208 err = pcf8523_write_reg8(dev, PCF8523_CONTROL_1, control_1); in pcf8523_write_stop_bit_unlocked()597 uint8_t control_1; in pcf8523_alarm_set_callback()616 err = pcf8523_read_reg8(dev, PCF8523_CONTROL_1, &control_1); in pcf8523_alarm_set_callback()622 control_1 |= PCF8523_CONTROL_1_AIE; in pcf8523_alarm_set_callback()624 control_1 &= ~(PCF8523_CONTROL_1_AIE); in pcf8523_alarm_set_callback()627 if ((control_1 & PCF8523_CONTROL_1_SIE) == 0U) { in pcf8523_alarm_set_callback()[all …]