C
void (*Poke16)(void *,int adrs,unsigned short val);   
This function performs a 16-bit write of the bus at the specified address, with the specified value.
TCP (port 5001)
Request:
byte offset
value
0
0x04 instance 0x00 0x01
4-7
address
8-9
value
The address and value are encoded in network order.
Reply:
byte offset
value
0-3
status
The status is encoded in network order and will be a positive value.
tsctl client
tsctl <host> Bus[:<instance>] Poke16 <address> <value>
python API
status = bus.Peek16(adrs,value)
This function performs an 16-bit write of the bus at the specified address, with the specified value.
 
Revision 2
Last updated: Wed May 16 14:12:02 MST 2012