Difference between revisions of "Qweak flipbit"
Jump to navigation
Jump to search
(Created page with ' echo "p 48 0 0 flip" | ./flipbit.arm -n [http://wiki.iac.isu.edu/index.php/Qweak#Software] Qweak') |
|||
Line 1: | Line 1: | ||
+ | flipbit syntax | ||
+ | |||
+ | |||
+ | 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. | ||
echo "p 48 0 0 flip" | ./flipbit.arm -n | echo "p 48 0 0 flip" | ./flipbit.arm -n | ||
[http://wiki.iac.isu.edu/index.php/Qweak#Software] [[Qweak]] | [http://wiki.iac.isu.edu/index.php/Qweak#Software] [[Qweak]] |
Revision as of 22:34, 27 January 2010
flipbit syntax
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.
echo "p 48 0 0 flip" | ./flipbit.arm -n