File: ticable_set_cable.txt

package info (click to toggle)
libticables3 3.9.6-10
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 3,656 kB
  • ctags: 2,184
  • sloc: ansic: 15,996; sh: 9,298; makefile: 526; yacc: 288; awk: 145; sed: 16
file content (22 lines) | stat: -rw-r--r-- 709 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[Main]
Name=ticable_set_cable
Type=Function
Header=cabl_int.h
Definition=int ticable_set_cable(@TicableLinkType@ type, @TicableLinkCable@ *lc);

[Parameters]
type : the link cable model.
lc : a structure for handling the link cable.

[Summary]
Set a link cable model and set the structure used to handling it.

[Description]
The function will fill the lc structure according to the link cable model you
chosen by type.

It will also automagically determine the best I/O access method to use (I/O, 
driver, ...) for the link cable as well as the hardware port to use (serial,
parallel, USB) and its settings.

Note: the link cable parameters _must_ be set before calling this function. Use @ticable_set_param@.