ABLE Application README - TLEUtil ================================= Copyright 2006 Simtec Electronics Summary ------- The tleutil is a control utility for the GPIO lines on the TLE6230 device on the VR2000. Usage ----- > tleutil The utility writes the value of the first argument to the output control register. The lowest bit of the value corresponds to the lowest output control, so 1 will set output 1 on, 2 will set output 2 on, and 4 will set output 3. Note, outputs 1 through 4 are a special case, as they also take into account the IN1 through IN4 inputs, anding the value with the output from the SPI register. So to turn OUT1 on, IN1 must be high as well as the OUT1 bit written by tleutil. Examples -------- Set all outputs off > tleutil 0x00 set output 1 > tleutil 0x01 set outputs 1 to 4 on [see note] > tleutil 0x0f set all outputs on > tleutil 0xff