Qweak flipbit
Jump to navigation
Jump to search
flipbit syntax
or it is called flipbittest.arm
echo "p 48 0 0 flip" | ./flipbit.arm -n
echo "PE I2Caddress register hexword command"
PE = primary or extended registers I2C Address = 16,,48,64,96,112 = I2C address of VFAT
register= 1-16 for primary 1-128 for extended, the extended switch above takes care of the address offsets
hexword= now you can write one bit or a hex word to a register (1/0 or 0xff),
commands: flip set, on off. use set to set bits, flip to flip bits, to turn bits on and off.