Difference between revisions of "Qweak flipbit"

From New IAC Wiki
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')
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
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.
  
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]]

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.


[1] Qweak