Searched refs:regValues (Results 1 – 1 of 1) sorted by relevance
448 uint8_t regValues[6]; in PCA9420_EnableInterrupts() local453 result = PCA9420_ReadRegs(handle, PCA9420_SUB_INT0, regValues, sizeof(regValues)); in PCA9420_EnableInterrupts()459 regValues[0] = regValues[2] = regValues[4] = 0U; /* Don't clear int status */ in PCA9420_EnableInterrupts()461 regValues[1] &= (uint8_t)(~(source & 0xFFU)); /* SUB_INT0_MASK */ in PCA9420_EnableInterrupts()462 regValues[3] &= (uint8_t)(~((source >> 8) & 0xFFU)); /* SUB_INT1_MASK */ in PCA9420_EnableInterrupts()463 regValues[5] &= (uint8_t)(~((source >> 16) & 0xFFU)); /* SUB_INT2_MASK */ in PCA9420_EnableInterrupts()465 result = PCA9420_WriteRegs(handle, PCA9420_SUB_INT0, regValues, sizeof(regValues)); in PCA9420_EnableInterrupts()475 uint8_t regValues[6]; in PCA9420_DisableInterrupts() local480 result = PCA9420_ReadRegs(handle, PCA9420_SUB_INT0, regValues, sizeof(regValues)); in PCA9420_DisableInterrupts()486 regValues[0] = regValues[2] = regValues[4] = 0U; /* Don't clear int status */ in PCA9420_DisableInterrupts()[all …]