Instrument Neutral Distributed Interface INDI 2.2.5
STAR2kdriver.c File Reference
#include "STAR2kdriver.h"
#include <termios.h>
#include <stdio.h>
#include <sys/time.h>
#include <unistd.h>
#include <fcntl.h>

Go to the source code of this file.

Macros

#define _GNU_SOURCE

Typedefs

typedef fd_set telfds

Functions

int ConnectSTAR2k (char *port)
void DisconnectSTAR2k (void)
void StartPulse (int direction)
void StopPulse (int direction)

Macro Definition Documentation

◆ _GNU_SOURCE

#define _GNU_SOURCE

Definition at line 23 of file STAR2kdriver.c.

Typedef Documentation

◆ telfds

typedef fd_set telfds

Definition at line 46 of file STAR2kdriver.c.

Function Documentation

◆ ConnectSTAR2k()

int ConnectSTAR2k ( char * port)

Definition at line 59 of file STAR2kdriver.c.

◆ DisconnectSTAR2k()

void DisconnectSTAR2k ( void )

Definition at line 159 of file STAR2kdriver.c.

◆ StartPulse()

void StartPulse ( int direction)

Definition at line 111 of file STAR2kdriver.c.

◆ StopPulse()

void StopPulse ( int direction)

Definition at line 133 of file STAR2kdriver.c.