/* Set output value of IO pins in 'reg_bit' to corresponding value in 'data' 0 = low, 1 = high  */
int tca642x_set_val(uchar chip, uint8_t gpio_bank, uint8_t reg_bit, uint8_t data)
/* Set output value of IO pins in 'reg_bit' to corresponding value in 'data' 0 = low, 1 = high  */
int tca642x_set_val(uchar chip, uint8_t gpio_bank, uint8_t reg_bit, uint8_t data)
{
	uint8_t out_reg = tca642x_regs[gpio_bank].output_reg;
	return tca642x_reg_write(chip, out_reg, reg_bit, data);
}