#include <termios.h>
#include <sys/ioctl.h>
#include <asm/ioctls.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include "cctalk-channel-defs.h"
#include "cctalk-operations.h"
#include "cctalk-driver.h"
Include dependency graph for cctalk-driver.c:

Defines | |
| #define | _POSIX_SOURCE 1 /* POSIX compliant source */ |
| #define | BSLOW B4800 |
| #define | BNORMAL B9600 |
Functions | |
| unsigned char | cct_DrvInitialise (tsCCT_COMM_HANDLER *psCctComms, teCCTALK_SPEED eCctSpd) |
| Initialise. | |
| void | cct_DrvClose (tsCCT_COMM_HANDLER *psCctComms) |
| Close port. | |
| int | cct_PerformCctalkOperation (tsCCT_COMM_HANDLER *psCctComms, tsCCTALK_OPERATION *psCctalkOp) |
| Perform a cctalk operation on the cctalk bus. | |
|
|
Close port. Must be called when closing the cctalk comms channel. This closes the file handle and restores the terminal settings
|
|
||||||||||||
|
Initialise. Initialise the cctalk serial port.
History |
|
||||||||||||
|
Perform a cctalk operation on the cctalk bus. This function is called to perform a cctalk operation over a tty that has been configured for cctalk communication.
History |
1.3.6