Difference between revisions of "Qweak flipbit"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
flipbit syntax | flipbit syntax | ||
+ | or it is called flipbittest.arm | ||
+ | |||
+ | echo "p 48 0 0 flip" | ./flipbit.arm -n | ||
echo "PE I2Caddress register hexword command" | echo "PE I2Caddress register hexword command" | ||
Line 13: | Line 16: | ||
commands: flip set, on off. use set to set bits, flip to flip bits, to turn bits on and off. | commands: flip set, on off. use set to set bits, flip to flip bits, to turn bits on and off. | ||
− | |||
[http://wiki.iac.isu.edu/index.php/Qweak#Software] [[Qweak]] | [http://wiki.iac.isu.edu/index.php/Qweak#Software] [[Qweak]] |
Latest revision as of 21:22, 17 September 2010
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.