Change structure of valve IO register
Use bitset 
Tested
Relase v001