Work read input register from pca9539 and add interrupt