cm108.c File Reference

CM108 GPIO. More...

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/time.h>
#include <sys/types.h>
#include "hamlib/rig.h"
#include "cm108.h"

Functions

int cm108_open (hamlib_port_t *port)
 Open CM108 HID port (/dev/hidrawX).
int cm108_close (hamlib_port_t *port)
 Close CM108 HID port.
int cm108_ptt_set (hamlib_port_t *p, ptt_t pttx)
 Set or unset Push to talk bit on CM108 GPIO.
int cm108_ptt_get (hamlib_port_t *p, ptt_t *pttx)
 Get state of Push to Talk from CM108 GPIO.
int cm108_dcd_get (hamlib_port_t *p, dcd_t *dcdx)
 get Data Carrier Detect (squelch) from CM108 GPIO

Detailed Description

CM108 GPIO.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated by doxygen 1.6.1

Hamlib documentation for version 1.2.15.3 -- Tue Aug 27 14:09:19 2013
Project page: http://www.hamlib.org