# Created by Octave 3.6.3, Wed Jan 09 09:20:37 2013 UTC <builder@localhost.localdomain>
# name: cache
# type: cell
# rows: 3
# columns: 21
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 3
i2c


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 344
 -- Loadable Function: I2C =  i2c ([PATH], [ADDRESS])
     Open i2c interface.

     PATH - the interface path of type String. If omitted defaults to
     '/dev/i2c-0'.
     ADDRESS - the slave device address. If omitted must be set using
     i2c_addr() call.

     The i2c() shall return instance of OCTAVE_I2C class as the result
     I2C.




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 19
Open i2c interface.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 8
i2c_addr


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 444
 -- Loadable Function:  i2c_addr (I2C, ADDRESS)
 -- Loadable Function: ADDR =  i2c_addr (I2C)
     Set new or get existing i2c slave device address.

     I2C - instance of OCTAVE_I2C class.
     ADDRESS - i2c slave device address of type Integer. The address is
     passed in the 7 or 10 lower bits of the argument.

     If ADDRESS parameter is omitted, the i2c_addr() shall return
     current i2c slave device address as the result ADDR.




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 49
Set new or get existing i2c slave device address.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 9
i2c_close


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 139
 -- Loadable Function:  i2c_close (I2C)
     Close the interface and release a file descriptor.

     I2C - instance of OCTAVE_I2C class.




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 50
Close the interface and release a file descriptor.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 8
i2c_read


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 337
 -- Loadable Function: [DATA, COUNT] =  i2c_read (I2C, N)
     Read from i2c slave device.

     I2C - instance of OCTAVE_I2C class.
     N - number of bytes to attempt to read of type Integer.

     The i2c_read() shall return number of bytes successfully read in
     COUNT as Integer and the bytes themselves in DATA as uint8 array.




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 27
Read from i2c slave device.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 9
i2c_write


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 337
 -- Loadable Function: N =  i2c_write (I2C, DATA)
     Write data to a i2c slave device.

     I2C - instance of OCTAVE_I2C class.
     DATA - data to be written to the slave device. Can be either of
     String or uint8 type.

     Upon successful completion, i2c_write() shall return the number of
     bytes written as the result N.




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 33
Write data to a i2c slave device.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 8
parallel


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 426
 -- Loadable Function: PARALLEL =  parallel ([PATH], [DIRECTION])
     Open Parallel interface.

     PATH - the interface path of type String. If omitted defaults to
     '/dev/parport0'.
     DIRECTION - the direction of interface drivers of type Integer,
     see: PP_DATADIR for more info. If omitted defaults to 1 (Input).

     The parallel() shall return instance of OCTAVE_PARALLEL class as
     the result PARALLEL.




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 24
Open Parallel interface.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 8
pp_close


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 151
 -- Loadable Function:  pp_close (PARALLEL)
     Close the interface and release a file descriptor.

     PARALLEL - instance of OCTAVE_SERIAL class.




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 50
Close the interface and release a file descriptor.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 7
pp_ctrl


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 353
 -- Loadable Function:  pp_ctrl (PARALLEL, CTRL)
 -- Loadable Function: C =  pp_ctrl (PARALLEL)
     Sets or Read the Control lines.  PARALLEL - instance of
     OCTAVE_PARALLEL class.
     CTRL - control parameter to be set of type Byte.

     If CTRL parameter is omitted, the pp_ctrl() shall return current
     Control lines state as the result C.




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 31
Sets or Read the Control lines.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 7
pp_data


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 344
 -- Loadable Function:  pp_data (PARALLEL, DATA)
 -- Loadable Function: D =  pp_data (PARALLEL)
     Sets or Read the Data lines.  PARALLEL - instance of
     OCTAVE_PARALLEL class.
     DATA - data parameter to be set of type Byte.

     If DATA parameter is omitted, the pp_data() shall return current
     Data lines state as the result D.




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 28
Sets or Read the Data lines.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 10
pp_datadir


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 853
 -- Loadable Function:  pp_datadir (PARALLEL, DIRECTION)
 -- Loadable Function: DIR =  pp_datadir (PARALLEL)
     Controls the Data line drivers. Normally the computer's parallel
     port will drive the data lines, but for byte-wide transfers from
     the peripheral to the host it is useful to turn off those drivers
     and let the peripheral drive the signals. (If the drivers on the
     computer's parallel port are left on when this happens, the port
     might be damaged.)

     PARALLEL - instance of OCTAVE_PARALLEL class.
     DIRECTION - direction parameter of type Integer. Supported values:
     0 - the drivers are turned on (Output/Forward direction); 1 - the
     drivers are turned off (Input/Reverse direction).

     If DIRECTION parameter is omitted, the pp_datadir() shall return
     current Data direction as the result DIR.




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 31
Controls the Data line drivers.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 7
pp_stat


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 216
 -- Loadable Function: STAT =  pp_stat (PARALLEL)
     Reads the Status lines.

     PARALLEL - instance of OCTAVE_PARALLEL class.
     The pp_stat() shall return current Status lines state as the
     result STAT.




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 23
Reads the Status lines.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 6
serial


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 450
 -- Loadable Function: SERIAL =  serial ([PATH], [BAUDRATE], [TIMEOUT])
     Open serial interface.

     PATH - the interface path of type String. If omitted defaults to
     '/dev/ttyUSB0'.
     BAUDRATE - the baudrate of interface. If omitted defaults to
     115200.
     TIMEOUT - the interface timeout value. If omitted defaults to
     blocking call.

     The serial() shall return instance of OCTAVE_SERIAL class as the
     result SERIAL.




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 22
Open serial interface.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 12
srl_baudrate


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 560
 -- Loadable Function:  srl_baudrate (SERIAL, BAUDRATE)
 -- Loadable Function: BR =  srl_baudrate (SERIAL)
     Set new or get existing serial interface baudrate parameter. Only
     standard values are supported.

     SERIAL - instance of OCTAVE_SERIAL class.
     BAUDRATE - the baudrate value used. Supported values: 0, 50, 75,
     110, 134, 150, 200, 300, 600, 1200, 1800, 2400, 4800, 9600 19200,
     38400, 57600, 115200 and 230400.

     If BAUDRATE parameter is omitted, the srl_baudrate() shall return
     current baudrate value as the result BR.




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 60
Set new or get existing serial interface baudrate parameter.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 12
srl_bytesize


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 446
 -- Loadable Function:  srl_bytesize (SERIAL, BSIZE)
 -- Loadable Function: BS =  srl_bytesize (SERIAL)
     Set new or get existing serial interface byte size parameter.

     SERIAL - instance of OCTAVE_SERIAL class.
     BSIZE - byte size of type Integer. Supported values: 5/6/7/8.

     If BSIZE parameter is omitted, the srl_bytesize() shall return
     current byte size value or in case of unsupported setting -1, as
     the result BS.




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 61
Set new or get existing serial interface byte size parameter.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 9
srl_close


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 148
 -- Loadable Function:  srl_close (SERIAL)
     Close the interface and release a file descriptor.

     SERIAL - instance of OCTAVE_SERIAL class.




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 50
Close the interface and release a file descriptor.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 9
srl_flush


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 413
 -- Loadable Function:  srl_flush (SERIAL, [Q])
     Flush the pending input/output.

     SERIAL - instance of OCTAVE_SERIAL class.
     Q - queue selector of type Integer. Supported values: 0 - flush
     untransmitted output, 1 - flush pending input, 2 - flush both
     pending input and untransmitted output.

     If Q parameter is omitted, the srl_flush() shall flush both, input
     and output buffers.




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 31
Flush the pending input/output.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 10
srl_parity


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 515
 -- Loadable Function:  srl_parity (SERIAL, PARITY)
 -- Loadable Function: P =  srl_parity (SERIAL)
     Set new or get existing serial interface parity parameter.
     Even/Odd/None values are supported.

     SERIAL - instance of OCTAVE_SERIAL class.
     PARITY - parity value of type String. Supported values:
     Even/Odd/None (case insensitive, can be abbreviated to the first
     letter only).

     If PARITY parameter is omitted, the srl_parity() shall return
     current parity value as the result P.




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 58
Set new or get existing serial interface parity parameter.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 8
srl_read


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 346
 -- Loadable Function: [DATA, COUNT] =  srl_read (SERIAL, N)
     Read from serial interface.

     SERIAL - instance of OCTAVE_SERIAL class.
     N - number of bytes to attempt to read of type Integer.

     The srl_read() shall return number of bytes successfully read in
     COUNT as Integer and the bytes themselves in DATA as uint8 array.




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 27
Read from serial interface.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 12
srl_stopbits


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 441
 -- Loadable Function:  srl_stopbits (SERIAL, STOPB)
 -- Loadable Function: SB =  srl_stopbits (SERIAL)
     Set new or get existing serial interface stop bits parameter. Only
     1 or 2 stop bits are supported.

     SERIAL - instance of OCTAVE_SERIAL class.
     STOPB - number of stop bits used. Supported values: 1, 2.

     If STOPB parameter is omitted, the srl_stopbits() shall return
     current stop bits value as the result SB.




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 61
Set new or get existing serial interface stop bits parameter.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 11
srl_timeout


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 569
 -- Loadable Function:  srl_timeout (SERIAL, TIMEOUT)
 -- Loadable Function: T =  srl_timeout (SERIAL)
     Set new or get existing serial interface timeout parameter used
     for srl_read() requests. The timeout value is specified in tenths
     of a second.

     SERIAL - instance of OCTAVE_SERIAL class.
     TIMEOUT - srl_read() timeout value in tenths of a second. Value of
     -1 means a blocking call. Maximum value of 255 (i.e. 25.5 seconds).

     If TIMEOUT parameter is omitted, the srl_timeout() shall return
     current timeout value as the result T.




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
Set new or get existing serial interface timeout parameter used for
srl_read() r



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 9
srl_write


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 350
 -- Loadable Function: N =  srl_write (SERIAL, DATA)
     Write data to a serial interface.

     SERIAL - instance of OCTAVE_SERIAL class.
     DATA - data to be written to the serial interface. Can be either
     of String or uint8 type.

     Upon successful completion, srl_write() shall return the number of
     bytes written as the result N.




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 33
Write data to a serial interface.





