![]() |
TicableLinkCable | Structure |
cabl_def.h |
struct TicableLinkCable |
Fields
int (*@ticablelinkcable.init@) () |
init a link cable access. |
int (*@ticablelinkcable.open@) () |
open a link cable access. |
int (*@ticablelinkcable.put@) (@uint8_t@) |
send a byte over the cable. |
int (*@ticablelinkcable.get@) (@uint8_t@*) |
receive a byte from the cable. |
int (*@ticablelinkcable.probe@) () |
check for cable presence. |
int (*@ticablelinkcable.close@) |
close the link cable access. |
int (*@ticablelinkcable.exit@) |
exit a link cable access. |
int (*@ticablelinkcable.check@) |
check for an available byte. |
int (*@ticablelinkcable.set_red_wire@) (int) |
set RED wire to logical '1'. |
int (*@ticablelinkcable.set_white_wire@) (int) |
set WHITE wire to logical '1'. |
int (*@ticablelinkcable.get_red_wire@) () |
get RED wire line state. |
int (*@ticablelinkcable.get_white_wire@) () |
get WHITE wire line state. |
Summary
Structure used to handle a link cable trough a set of abstract functions.
Description
This structure provides a set of functions (function pointers) to access a link cable independantly of the hardware and the platform. Before using this structure, you must set a link cable model properly.