/* Set direction of IO pins in 'mask' to corresponding value in 'data' 0 = output, 1 = input  */
int pca953x_set_dir(uint8_t chip, uint mask, uint data)
/* Set direction of IO pins in 'mask' to corresponding value in 'data' 0 = output, 1 = input  */
int pca953x_set_dir(uint8_t chip, uint mask, uint data)
{
	return pca953x_reg_write(chip, PCA953X_CONF, mask, data);
}